net.schmizz.sshj.connection.channel.forwarded
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, ErrorNotifiable, SSHPacketHandler, Channel, Channel.Forwarded
- Enclosing class:
- RemotePortForwarder
public static class RemotePortForwarder.ForwardedTCPIPChannel
- extends AbstractForwardedChannel
A forwarded-tcpip
channel.
Methods inherited from class net.schmizz.sshj.connection.channel.AbstractChannel |
close, closeAllStreams, eofInputStreams, finishOff, getAutoExpand, getID, getInputStream, getLocalMaxPacketSize, getLocalWinSize, getOutputStream, getRecipient, getRemoteMaxPacketSize, getRemoteWinSize, getType, gotExtendedData, gotUnknown, handle, handleRequest, init, isOpen, join, join, newBuffer, notifyError, receiveInto, sendChannelRequest, sendClose, sendEOF, setAutoExpand, toString |
Methods inherited from interface net.schmizz.sshj.connection.channel.Channel |
close, getAutoExpand, getID, getInputStream, getLocalMaxPacketSize, getLocalWinSize, getOutputStream, getRecipient, getRemoteMaxPacketSize, getRemoteWinSize, getType, isOpen, join, join, sendEOF, setAutoExpand |
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
RemotePortForwarder.ForwardedTCPIPChannel
public RemotePortForwarder.ForwardedTCPIPChannel(Connection conn,
int recipient,
long remoteWinSize,
long remoteMaxPacketSize,
RemotePortForwarder.Forward fwd,
String origIP,
int origPort)
getParentForward
public RemotePortForwarder.Forward getParentForward()
- Returns:
- the forwarding from which this channel originates.
Copyright © 2009-2012. All Rights Reserved.