|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.lib.cvsclient.connection.AbstractConnection
public abstract class AbstractConnection
This class abstracts the common features and functionality that all connection protocols to CVS share
Constructor Summary | |
---|---|
AbstractConnection()
Creates a new instance of AbstractConnection |
Method Summary | |
---|---|
LoggedDataInputStream |
getInputStream()
Get an input stream for receiving data from the server. |
LoggedDataOutputStream |
getOutputStream()
Get an output stream for sending data to the server. |
java.lang.String |
getRepository()
Get the repository path. |
protected void |
setInputStream(LoggedDataInputStream inputStream)
Set an input stream for receiving data from the server. |
protected void |
setOutputStream(LoggedDataOutputStream outputStream)
Set an output stream for sending data to the server. |
void |
setRepository(java.lang.String repository)
Set the repository path. |
protected void |
verifyProtocol()
Verifies that this open connection is a connetion to a working CVS server. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.netbeans.lib.cvsclient.connection.Connection |
---|
close, getPort, isOpen, modifyInputStream, modifyOutputStream, open, verify |
Constructor Detail |
---|
public AbstractConnection()
Method Detail |
---|
public LoggedDataInputStream getInputStream()
getInputStream
in interface Connection
protected final void setInputStream(LoggedDataInputStream inputStream)
inputStream
- The data input streampublic LoggedDataOutputStream getOutputStream()
getOutputStream
in interface Connection
protected final void setOutputStream(LoggedDataOutputStream outputStream)
outputStream
- The data output streampublic java.lang.String getRepository()
getRepository
in interface Connection
public void setRepository(java.lang.String repository)
repository
- the repositoryprotected void verifyProtocol() throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |