com.trilead.ssh2.transport

Class ClientServerHello


public class ClientServerHello
extends java.lang.Object

ClientServerHello.

Constructor Summary

ClientServerHello(InputStream bi, OutputStream bo)

Method Summary

byte[]
getClientString()
byte[]
getServerString()
static int
readLineRN(InputStream is, byte[] buffer)

Constructor Details

ClientServerHello

public ClientServerHello(InputStream bi,
                         OutputStream bo)
            throws IOException

Method Details

getClientString

public byte[] getClientString()
Returns:
Returns the client_versioncomment.

getServerString

public byte[] getServerString()
Returns:
Returns the server_versioncomment.

readLineRN

public static final int readLineRN(InputStream is,
                                   byte[] buffer)
            throws IOException