Package com.sshtools.j2ssh.net
Class SocketTransportProvider
java.lang.Object
java.net.Socket
com.sshtools.j2ssh.net.SocketTransportProvider
- All Implemented Interfaces:
TransportProvider,Closeable,AutoCloseable
- Version:
- $Revision: 1.13 $
- Author:
- $author$
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSocketTransportProvider(String host, int port) Creates a new SocketTransportProvider object. -
Method Summary
Methods inherited from class java.net.Socket
bind, close, connect, connect, getChannel, getInetAddress, getInputStream, getKeepAlive, getLocalAddress, getLocalPort, getLocalSocketAddress, getOOBInline, getOption, getOutputStream, getPort, getReceiveBufferSize, getRemoteSocketAddress, getReuseAddress, getSendBufferSize, getSoLinger, getSoTimeout, getTcpNoDelay, getTrafficClass, isBound, isClosed, isConnected, isInputShutdown, isOutputShutdown, sendUrgentData, setKeepAlive, setOOBInline, setOption, setPerformancePreferences, setReceiveBufferSize, setReuseAddress, setSendBufferSize, setSocketImplFactory, setSoLinger, setSoTimeout, setTcpNoDelay, setTrafficClass, shutdownInput, shutdownOutput, supportedOptions, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.sshtools.j2ssh.net.TransportProvider
close, getInputStream, getOutputStream
-
Constructor Details
-
SocketTransportProvider
Creates a new SocketTransportProvider object.- Parameters:
host-port-- Throws:
IOException
-
-
Method Details
-
getProviderDetail
- Specified by:
getProviderDetailin interfaceTransportProvider- Returns:
-