Package com.trilead.ssh2.transport
Class ClientServerHello
- java.lang.Object
-
- com.trilead.ssh2.transport.ClientServerHello
-
public class ClientServerHello extends Object
ClientServerHello.- Version:
- $Id: ClientServerHello.java,v 1.2 2008/04/01 12:38:09 cplattne Exp $
- Author:
- Christian Plattner, plattner@trilead.com
-
-
Constructor Summary
Constructors Constructor Description ClientServerHello(InputStream bi, OutputStream bo)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getClientString()byte[]getServerString()static intreadLineRN(InputStream is, byte[] buffer)
-
-
-
Constructor Detail
-
ClientServerHello
public ClientServerHello(InputStream bi, OutputStream bo) throws IOException
- Throws:
IOException
-
-
Method Detail
-
readLineRN
public static final int readLineRN(InputStream is, byte[] buffer) throws IOException
- Throws:
IOException
-
getClientString
public byte[] getClientString()
- Returns:
- Returns the client_versioncomment.
-
getServerString
public byte[] getServerString()
- Returns:
- Returns the server_versioncomment.
-
-