public abstract class AbstractDirectChannel extends AbstractChannel implements Channel.Direct
Channel.Direct, Channel.ForwardedErrorNotifiable.UtilcloseEvent, conn, log, loggerFactory, 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, getLoggerFactory, getOutputStream, getRecipient, getRemoteMaxPacketSize, getRemoteWinSize, getType, gotExtendedData, handle, handleRequest, init, isEOF, isOpen, join, join, newBuffer, notifyError, receiveInto, sendChannelRequest, sendClose, setAutoExpand, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclose, getAutoExpand, getID, getInputStream, getLocalMaxPacketSize, getLocalWinSize, getLoggerFactory, getOutputStream, getRecipient, getRemoteMaxPacketSize, getRemoteWinSize, getType, isEOF, isOpen, join, join, setAutoExpandhandlenotifyErrorprotected AbstractDirectChannel(Connection conn, java.lang.String type)
public void open()
throws ConnectionException,
TransportException
Channel.Directopen in interface Channel.DirectOpenFailException - 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 AbstractChannelConnectionExceptionTransportException