|
|||||||||||
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.ExternalProcessServerConnection
Defines a server connection to the local machine. This is done by executing the server on the local machine and redirecting the input and output of the server.
Constructor Summary | |
ExternalProcessServerConnection(CvsAccess aCvsAccess)
Creates a local server connection by running the supplied command. |
|
ExternalProcessServerConnection(RepositoryLocation aLocation,
java.lang.String aServerCommand)
Creates a local server connection by running the supplied command. |
Method Summary | |
void |
close()
Closes the connection |
java.io.InputStream |
getErrorStream()
Gets the stream used for displaying error messages. |
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 |
Methods inherited from class net.sf.bloof.scm.cvsplugin.CvsConnection |
displayStatus, getRepositoryLocation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ExternalProcessServerConnection(CvsAccess aCvsAccess) throws CvsConnectionException
aCvsAccess
- Access to CVS
CvsConnectionException
- if it does not workpublic ExternalProcessServerConnection(RepositoryLocation aLocation, java.lang.String aServerCommand) throws CvsConnectionException
aLocation
- Location of the CVS repository rootaServerCommand
- command to be run
CvsConnectionException
- if it does not workMethod Detail |
public void close()
close
in class CvsConnection
public java.io.InputStream getErrorStream()
null
then there is not error stream
getErrorStream
in class CvsConnection
public java.io.InputStream getInputStream()
getInputStream
in class CvsConnection
public java.io.OutputStream getOutputStream()
getOutputStream
in class CvsConnection
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |