public class ClientTransportManager extends TransportManager
| Constructor and Description |
|---|
ClientTransportManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
close(Throwable cause,
boolean useDisconnectPacket) |
protected void |
connect(String hostname,
int port,
int connectTimeout) |
void |
connect(String hostname,
int port,
String softwareversion,
CryptoWishList cwl,
ServerHostKeyVerifier verifier,
DHGexParameters dhgex,
int connectTimeout,
SecureRandom rnd) |
protected static InetAddress |
createInetAddress(String host)
There were reports that there are JDKs which use
the resolver even though one supplies a dotted IP
address in the Socket constructor.
|
void |
setSoTimeout(int timeout) |
void |
setTcpNoDelay(boolean state) |
changeRecvCipher, changeSendCipher, close, close, forceKeyExchange, getConnectionInfo, getPacketOverheadEstimate, getReasonClosedCause, getSessionIdentifier, init, kexFinished, receiveLoop, registerMessageHandler, removeMessageHandler, sendAsynchronousMessage, sendAsynchronousMessage, sendKexMessage, sendMessage, sendMessageImmediate, setConnectionMonitors, startReceiverprotected final Socket sock
public void setTcpNoDelay(boolean state)
throws IOException
IOExceptionpublic void setSoTimeout(int timeout)
throws IOException
IOExceptionpublic void connect(String hostname, int port, String softwareversion, CryptoWishList cwl, ServerHostKeyVerifier verifier, DHGexParameters dhgex, int connectTimeout, SecureRandom rnd) throws IOException
IOExceptionpublic void close(Throwable cause, boolean useDisconnectPacket)
close in class TransportManagerprotected void connect(String hostname, int port, int connectTimeout) throws IOException
IOExceptionprotected static InetAddress createInetAddress(String host) throws UnknownHostException
host - UnknownHostExceptionCopyright © 2014. All Rights Reserved.