com.jscape.inet.ssh.transport
Class TransportClient
java.lang.Object
com.jscape.inet.ssh.transport.Transport
com.jscape.inet.ssh.transport.TransportClient
public class TransportClient
- extends Transport
- Version:
- 1.0
- Author:
- Alex Usun
Methods inherited from class com.jscape.inet.ssh.transport.Transport |
close, exchangeKeys, getCurrentSuite, getHostKeyVerifier, getReceivedBytesCount, getSentBytesCount, getSessionId, getSocket, isClosed, knowsMessage, receiveMessage, registerMessage, sendMessage, unregisterMessage |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransportClient
public TransportClient(ConnectionParameters params,
TransportConfiguration config)
throws java.io.IOException
- Parameters:
params
- config
-
- Throws:
java.io.IOException
getClientVersion
public ProtocolVersion getClientVersion()
- Specified by:
getClientVersion
in class Transport
- Returns:
- protocol version
getServerVersion
public ProtocolVersion getServerVersion()
- Specified by:
getServerVersion
in class Transport
- Returns:
- protocol version
getServerBanner
public java.lang.String getServerBanner()
- Returns:
- String
requestService
public void requestService(java.lang.String serviceName)
throws java.io.IOException
- Parameters:
serviceName
-
- Throws:
java.io.IOException
Copyright © JSCAPE LLC. 1999-2011. All Rights Reserved