allensoft.javacvs.client
Class PServerConnection

java.lang.Object
  |
  +--allensoft.javacvs.client.CVSConnection
        |
        +--allensoft.javacvs.client.PServerConnection

public class PServerConnection
extends CVSConnection


Constructor Summary
PServerConnection(CVSClient client, RepositoryLocation location, LoginDetails details)
           
PServerConnection(CVSClient client, RepositoryLocation location, LoginDetails details, int nPort)
           
 
Method Summary
 void close()
          Closes the connection.
protected  void finalize()
           
 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()
           
 
Methods inherited from class allensoft.javacvs.client.CVSConnection
displayStatus, getClient, getErrorStream, getRepositoryLocation
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PServerConnection

public PServerConnection(CVSClient client,
                         RepositoryLocation location,
                         LoginDetails details,
                         int nPort)
                  throws java.io.IOException,
                         CVSConnectionException

PServerConnection

public PServerConnection(CVSClient client,
                         RepositoryLocation location,
                         LoginDetails details)
                  throws java.io.IOException,
                         CVSConnectionException
Method Detail

finalize

protected void finalize()
Overrides:
finalize in class java.lang.Object

getPort

public int getPort()

getInputStream

public java.io.InputStream getInputStream()
Gets the input stream from which the client should read server responses from.
Overrides:
getInputStream in class CVSConnection

getOutputStream

public java.io.OutputStream getOutputStream()
Gets the output stream over which the client should send its requests to the server.
Overrides:
getOutputStream in class CVSConnection

close

public void close()
Closes the connection.
Overrides:
close in class CVSConnection