Class Overview
A forwarded-tcpip channel.
Summary
|
[Expand]
Inherited Methods |
From class
net.schmizz.sshj.connection.channel.forwarded.AbstractForwardedChannel
|
From class
net.schmizz.sshj.connection.channel.AbstractChannel
|
void
|
close()
Close this channel.
|
|
void
|
closeAllStreams()
Called when all I/O streams should be closed.
|
|
void
|
eofInputStreams()
Called when EOF has been received.
|
|
void
|
finishOff()
|
|
boolean
|
getAutoExpand()
|
|
int
|
getID()
|
|
InputStream
|
getInputStream()
|
|
int
|
getLocalMaxPacketSize()
|
|
long
|
getLocalWinSize()
|
|
OutputStream
|
getOutputStream()
|
|
int
|
getRecipient()
|
|
int
|
getRemoteMaxPacketSize()
|
|
long
|
getRemoteWinSize()
|
|
String
|
getType()
|
|
void
|
gotExtendedData(SSHPacket buf)
|
|
void
|
gotUnknown(Message msg, SSHPacket buf)
|
|
void
|
handle(Message msg, SSHPacket buf)
Delegate handling of some SSH packet to this object.
|
|
void
|
handleRequest(String reqType, SSHPacket buf)
|
|
void
|
init(int recipient, long remoteWinSize, long remoteMaxPacketSize)
|
|
synchronized
boolean
|
isOpen()
|
|
void
|
join(int timeout, TimeUnit unit)
|
|
void
|
join()
|
|
SSHPacket
|
newBuffer(Message cmd)
|
|
void
|
notifyError(SSHException error)
Notifies this object of an error.
|
|
void
|
receiveInto(ChannelInputStream stream, SSHPacket buf)
|
|
Event<ConnectionException>
|
sendChannelRequest(String reqType, boolean wantReply, Buffer.PlainBuffer reqSpecific)
|
|
synchronized
void
|
sendClose()
|
|
synchronized
void
|
sendEOF()
Sends an EOF message to the server for this channel; indicating that no more data will be sent by us.
|
|
void
|
setAutoExpand(boolean autoExpand)
Set whether local window should automatically expand when data is received, irrespective of whether data has been
read from that stream.
|
|
String
|
toString()
|
|
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
From interface
java.io.Closeable
|
From interface
net.schmizz.sshj.common.ErrorNotifiable
|
From interface
net.schmizz.sshj.common.SSHPacketHandler
|
From interface
net.schmizz.sshj.connection.channel.Channel
|
From interface
net.schmizz.sshj.connection.channel.Channel.Forwarded
|
Constants
public
static
final
String
TYPE
Constant Value:
"forwarded-tcpip"
Fields
Public Constructors
public
RemotePortForwarder.ForwardedTCPIPChannel
(Connection conn, int recipient, long remoteWinSize, long remoteMaxPacketSize, RemotePortForwarder.Forward fwd, String origIP, int origPort)
Parameters
| conn
| |
| recipient
| |
| remoteWinSize
| |
| remoteMaxPacketSize
| |
| fwd
| |
| origIP
| |
| origPort
| |
Public Methods
Returns
- the forwarding from which this channel originates.