com.hungry.javacvs.util
Class CVSConnection
java.lang.Object
|
+--com.hungry.javacvs.util.CVSConnection
- Direct Known Subclasses:
- CVSClientConnection, CVSServerConnection
- public class CVSConnection
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
STREAM_BUFFER_SIZE
protected static final int STREAM_BUFFER_SIZE
CVS_PSERVER_PORT
public static final int CVS_PSERVER_PORT
BEGIN_AUTH_REQUEST
protected static final java.lang.String BEGIN_AUTH_REQUEST
END_AUTH_REQUEST
protected static final java.lang.String END_AUTH_REQUEST
BEGIN_VERIFICATION_REQUEST
protected static final java.lang.String BEGIN_VERIFICATION_REQUEST
END_VERIFICATION_REQUEST
protected static final java.lang.String END_VERIFICATION_REQUEST
CVS_JSERVER_PORT
public static final int CVS_JSERVER_PORT
BEGIN_DSA_AUTH_REQUEST
protected static final java.lang.String BEGIN_DSA_AUTH_REQUEST
END_DSA_AUTH_REQUEST
protected static final java.lang.String END_DSA_AUTH_REQUEST
BEGIN_DSA_VERIFICATION_REQUEST
protected static final java.lang.String BEGIN_DSA_VERIFICATION_REQUEST
END_DSA_VERIFICATION_REQUEST
protected static final java.lang.String END_DSA_VERIFICATION_REQUEST
AUTH_ACK
protected static final java.lang.String AUTH_ACK
AUTH_NACK
protected static final java.lang.String AUTH_NACK
AUTH_PARTIAL_ACK
protected static final java.lang.String AUTH_PARTIAL_ACK
AUTHENTICATION_FAILED
public static final int AUTHENTICATION_FAILED
AUTHENTICATION_SUCCESSFUL
public static final int AUTHENTICATION_SUCCESSFUL
VERIFICATION_FAILED
public static final int VERIFICATION_FAILED
VERIFICATION_SUCCESSFUL
public static final int VERIFICATION_SUCCESSFUL
CVSConnection
public CVSConnection()
attachToSocket
public void attachToSocket(java.net.Socket socket)
getSocket
public java.net.Socket getSocket()
connect
public void connect()
throws java.io.IOException
close
public void close()
throws java.io.IOException
writeString
public void writeString(java.lang.String str)
throws java.io.IOException
writeBytes
public void writeBytes(byte[] bytes)
throws java.io.IOException
writeBytes
public void writeBytes(byte[] bytes,
int offset,
int length)
throws java.io.IOException
readBytes
public void readBytes(byte[] bytes)
throws java.io.IOException
readBytes
public void readBytes(byte[] bytes,
int length)
throws java.io.IOException
readBytes
public void readBytes(byte[] buf,
int offset,
int length)
throws java.io.IOException
readLine
public java.lang.String readLine()
throws java.io.IOException
unreadString
public void unreadString(java.lang.String string)
throws java.io.IOException
available
public int available()
throws java.io.IOException
isConnected
public boolean isConnected()