public abstract class AbstractDirectChannel extends AbstractChannel implements Channel.Direct
Channel.Direct, Channel.Forwarded
ErrorNotifiable.Util
closeEvent, conn, log, lwin, openEvent, rwin, trans
Modifier | Constructor and Description |
---|---|
protected |
AbstractDirectChannel(Connection conn,
java.lang.String type) |
Modifier and Type | Method and Description |
---|---|
protected SSHPacket |
buildOpenReq() |
protected void |
gotUnknown(Message cmd,
SSHPacket buf) |
void |
open()
Request opening this channel from remote end.
|
close, closeAllStreams, eofInputStreams, finishOff, getAutoExpand, getID, getInputStream, getLocalMaxPacketSize, getLocalWinSize, getOutputStream, getRecipient, getRemoteMaxPacketSize, getRemoteWinSize, getType, gotExtendedData, handle, handleRequest, init, isOpen, join, join, newBuffer, notifyError, receiveInto, sendChannelRequest, sendClose, setAutoExpand, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
close, getAutoExpand, getID, getInputStream, getLocalMaxPacketSize, getLocalWinSize, getOutputStream, getRecipient, getRemoteMaxPacketSize, getRemoteWinSize, getType, isOpen, join, join, setAutoExpand
handle
notifyError
protected AbstractDirectChannel(Connection conn, java.lang.String type)
public void open() throws ConnectionException, TransportException
Channel.Direct
open
in interface Channel.Direct
OpenFailException
- in case the channel open request was rejectedConnectionException
- other connection-layer errorTransportException
- error writing packets etc.protected SSHPacket buildOpenReq()
protected void gotUnknown(Message cmd, SSHPacket buf) throws ConnectionException, TransportException
gotUnknown
in class AbstractChannel
ConnectionException
TransportException