|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sf.bloof.scm.cvsplugin.CvsConnection | +--net.sf.bloof.scm.cvsplugin.PServerConnection
Connection method via CVS Pserver protocol
Constructor Summary | |
PServerConnection(CvsAccess aCvsAccess)
Constructs a PServerConnection to the default Port specified by PSERVER_PORT |
|
PServerConnection(RepositoryLocation aLocation,
LoginDetails aDetails)
Constructs a PServerConnection to the default Port specified by PSERVER_PORT |
|
PServerConnection(RepositoryLocation aLocation,
LoginDetails aDetails,
int aPort)
Constructs the PServerConnection with the given parameters |
Method Summary | |
void |
close()
Closes the connection |
java.io.InputStream |
getInputStream()
Gets the input stream from which the client should read server responses from |
java.io.OutputStream |
getOutputStream()
Gets the output stream over which the client should send its requests to the server |
int |
getPort()
Returns the port of the PServer |
Methods inherited from class net.sf.bloof.scm.cvsplugin.CvsConnection |
displayStatus, getErrorStream, getRepositoryLocation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PServerConnection(CvsAccess aCvsAccess) throws java.io.IOException, CvsConnectionException
aCvsAccess
- access to CVS repository
java.io.IOException
- on IO Error
CvsConnectionException
- if connection failspublic PServerConnection(RepositoryLocation aLocation, LoginDetails aDetails) throws java.io.IOException, CvsConnectionException
aLocation
- location of the CVS repositoryaDetails
- login details containing user name and password
java.io.IOException
- on IO Error
CvsConnectionException
- if connection failspublic PServerConnection(RepositoryLocation aLocation, LoginDetails aDetails, int aPort) throws java.io.IOException, CvsConnectionException
aLocation
- location of the CVS repositoryaDetails
- login details containing user name and passwordaPort
- port of the pserver
java.io.IOException
- on IO Error
CvsConnectionException
- if connection failsMethod Detail |
public void close()
close
in class CvsConnection
public java.io.InputStream getInputStream()
getInputStream
in class CvsConnection
public java.io.OutputStream getOutputStream()
getOutputStream
in class CvsConnection
public int getPort()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |