Class RemotePortForwarder.ForwardedTCPIPChannel
java.lang.Object
net.schmizz.sshj.connection.channel.AbstractChannel
net.schmizz.sshj.connection.channel.forwarded.AbstractForwardedChannel
net.schmizz.sshj.connection.channel.forwarded.RemotePortForwarder.ForwardedTCPIPChannel
- All Implemented Interfaces:
Closeable, AutoCloseable, ErrorNotifiable, SSHPacketHandler, Channel, Channel.Forwarded
- Enclosing class:
RemotePortForwarder
A
forwarded-tcpip channel.-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractChannel
AbstractChannel.TransportRunnableNested classes/interfaces inherited from interface Channel
Channel.Direct, Channel.ForwardedNested classes/interfaces inherited from interface ErrorNotifiable
ErrorNotifiable.Util -
Field Summary
FieldsFields inherited from class AbstractForwardedChannel
origIP, origPortFields inherited from class AbstractChannel
closeEvent, conn, log, loggerFactory, lwin, openEvent, rwin, trans -
Constructor Summary
ConstructorsConstructorDescriptionForwardedTCPIPChannel(Connection conn, int recipient, long remoteWinSize, long remoteMaxPacketSize, RemotePortForwarder.Forward fwd, String origIP, int origPort) -
Method Summary
Methods inherited from class AbstractForwardedChannel
confirm, getOriginatorIP, getOriginatorPort, rejectMethods inherited from class AbstractChannel
close, closeAllStreams, eofInputStreams, finishOff, getAutoExpand, getID, getInputStream, getLocalMaxPacketSize, getLocalWinSize, getLoggerFactory, getOutputStream, getRecipient, getRemoteCharset, getRemoteMaxPacketSize, getRemoteWinSize, getType, gotExtendedData, gotUnknown, handle, handleRequest, init, isEOF, isOpen, join, join, newBuffer, notifyError, receiveInto, sendChannelRequest, sendClose, setAutoExpand, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Channel
close, getAutoExpand, getID, getInputStream, getLocalMaxPacketSize, getLocalWinSize, getLoggerFactory, getOutputStream, getRecipient, getRemoteCharset, getRemoteMaxPacketSize, getRemoteWinSize, getType, isEOF, isOpen, join, join, setAutoExpandMethods inherited from interface ErrorNotifiable
notifyErrorMethods inherited from interface SSHPacketHandler
handle
-
Field Details
-
TYPE
- See Also:
-
fwd
-
-
Constructor Details
-
ForwardedTCPIPChannel
public ForwardedTCPIPChannel(Connection conn, int recipient, long remoteWinSize, long remoteMaxPacketSize, RemotePortForwarder.Forward fwd, String origIP, int origPort)
-
-
Method Details
-
getParentForward
- Returns:
- the forwarding from which this channel originates.
-