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:
java.io.Closeable
,java.lang.AutoCloseable
,ErrorNotifiable
,SSHPacketHandler
,Channel
,Channel.Forwarded
- Enclosing class:
- RemotePortForwarder
public static class RemotePortForwarder.ForwardedTCPIPChannel extends AbstractForwardedChannel
Aforwarded-tcpip
channel.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.schmizz.sshj.connection.channel.AbstractChannel
AbstractChannel.TransportRunnable
-
Nested classes/interfaces inherited from interface net.schmizz.sshj.connection.channel.Channel
Channel.Direct, Channel.Forwarded
-
Nested classes/interfaces inherited from interface net.schmizz.sshj.common.ErrorNotifiable
ErrorNotifiable.Util
-
-
Field Summary
Fields Modifier and Type Field Description private RemotePortForwarder.Forward
fwd
static java.lang.String
TYPE
-
Fields inherited from class net.schmizz.sshj.connection.channel.forwarded.AbstractForwardedChannel
origIP, origPort
-
Fields inherited from class net.schmizz.sshj.connection.channel.AbstractChannel
closeEvent, conn, log, loggerFactory, lwin, openEvent, rwin, trans
-
-
Constructor Summary
Constructors Constructor Description ForwardedTCPIPChannel(Connection conn, int recipient, long remoteWinSize, long remoteMaxPacketSize, RemotePortForwarder.Forward fwd, java.lang.String origIP, int origPort)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RemotePortForwarder.Forward
getParentForward()
-
Methods inherited from class net.schmizz.sshj.connection.channel.forwarded.AbstractForwardedChannel
confirm, getOriginatorIP, getOriginatorPort, reject
-
Methods 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, gotUnknown, handle, handleRequest, init, isEOF, isOpen, join, join, newBuffer, notifyError, receiveInto, sendChannelRequest, sendClose, setAutoExpand, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods 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, setAutoExpand
-
Methods inherited from interface net.schmizz.sshj.common.ErrorNotifiable
notifyError
-
Methods inherited from interface net.schmizz.sshj.common.SSHPacketHandler
handle
-
-
-
-
Field Detail
-
TYPE
public static final java.lang.String TYPE
- See Also:
- Constant Field Values
-
fwd
private final RemotePortForwarder.Forward fwd
-
-
Constructor Detail
-
ForwardedTCPIPChannel
public ForwardedTCPIPChannel(Connection conn, int recipient, long remoteWinSize, long remoteMaxPacketSize, RemotePortForwarder.Forward fwd, java.lang.String origIP, int origPort)
-
-
Method Detail
-
getParentForward
public RemotePortForwarder.Forward getParentForward()
- Returns:
- the forwarding from which this channel originates.
-
-