ch.ethz.ssh2.transport
Class ClientServerHello
java.lang.Object
ch.ethz.ssh2.transport.ClientServerHello
public class ClientServerHello
- extends java.lang.Object
ClientServerHello.
- Version:
- $Id: ClientServerHello.java,v 1.8 2006/08/02 11:57:12 cplattne Exp $
- Author:
- Christian Plattner, plattner@inf.ethz.ch
Constructor Summary |
ClientServerHello(java.io.InputStream bi,
java.io.OutputStream bo)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
server_line
java.lang.String server_line
client_line
java.lang.String client_line
server_versioncomment
java.lang.String server_versioncomment
ClientServerHello
public ClientServerHello(java.io.InputStream bi,
java.io.OutputStream bo)
throws java.io.IOException
- Throws:
java.io.IOException
readLineRN
public static final int readLineRN(java.io.InputStream is,
byte[] buffer)
throws java.io.IOException
- Throws:
java.io.IOException
getClientString
public byte[] getClientString()
- Returns:
- Returns the client_versioncomment.
getServerString
public byte[] getServerString()
- Returns:
- Returns the server_versioncomment.