Class DirectConnection
java.lang.Object
net.schmizz.sshj.connection.channel.AbstractChannel
net.schmizz.sshj.connection.channel.direct.AbstractDirectChannel
net.schmizz.sshj.connection.channel.direct.DirectTCPIPChannel
net.schmizz.sshj.connection.channel.direct.DirectConnection
- All Implemented Interfaces:
Closeable,AutoCloseable,ErrorNotifiable,SSHPacketHandler,Channel,Channel.Direct
A channel for creating a direct TCP/IP connection from the server to a remote address.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.schmizz.sshj.connection.channel.AbstractChannel
AbstractChannel.TransportRunnableNested classes/interfaces inherited from interface net.schmizz.sshj.connection.channel.Channel
Channel.Direct, Channel.ForwardedNested classes/interfaces inherited from interface net.schmizz.sshj.common.ErrorNotifiable
ErrorNotifiable.Util -
Field Summary
FieldsFields inherited from class net.schmizz.sshj.connection.channel.direct.DirectTCPIPChannel
parametersFields inherited from class net.schmizz.sshj.connection.channel.AbstractChannel
closeEvent, conn, log, loggerFactory, lwin, openEvent, rwin, trans -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.schmizz.sshj.connection.channel.direct.DirectTCPIPChannel
buildOpenReqMethods inherited from class net.schmizz.sshj.connection.channel.direct.AbstractDirectChannel
gotUnknown, openMethods inherited from class net.schmizz.sshj.connection.channel.AbstractChannel
close, closeAllStreams, eofInputStreams, finishOff, getAutoExpand, getID, getInputStream, getLocalMaxPacketSize, getLocalWinSize, getLoggerFactory, getOutputStream, getRecipient, getRemoteCharset, getRemoteMaxPacketSize, getRemoteWinSize, getType, gotExtendedData, handle, handleRequest, init, isEOF, isOpen, join, join, newBuffer, notifyError, receiveInto, sendChannelRequest, sendClose, setAutoExpand, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.schmizz.sshj.connection.channel.Channel
close, getAutoExpand, getID, getInputStream, getLocalMaxPacketSize, getLocalWinSize, getLoggerFactory, getOutputStream, getRecipient, getRemoteCharset, getRemoteMaxPacketSize, getRemoteWinSize, getType, isEOF, isOpen, join, join, setAutoExpandMethods inherited from interface net.schmizz.sshj.common.ErrorNotifiable
notifyErrorMethods inherited from interface net.schmizz.sshj.common.SSHPacketHandler
handle
-
Field Details
-
LOCALHOST
- See Also:
-
LOCALPORT
public static final int LOCALPORT- See Also:
-
-
Constructor Details
-
DirectConnection
-
-
Method Details
-
getRemoteHost
-
getRemotePort
public int getRemotePort()
-