ch.ethz.ssh2.transport
Class ClientServerHello

java.lang.Object
  extended by ch.ethz.ssh2.transport.ClientServerHello

public class ClientServerHello
extends Object

ClientServerHello.

Version:
$Id$
Author:
Christian Plattner

Constructor Summary
ClientServerHello(String identification, InputStream bi, OutputStream bo)
           
 
Method Summary
 byte[] getClientString()
           
 byte[] getServerString()
           
static int readLineRN(InputStream is, byte[] buffer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientServerHello

public ClientServerHello(String identification,
                         InputStream bi,
                         OutputStream bo)
                  throws IOException
Throws:
IOException
Method Detail

readLineRN

public static 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.


Copyright © 2011. All Rights Reserved.