Interface Channel.Direct
-
- All Superinterfaces:
java.lang.AutoCloseable,Channel,java.io.Closeable,ErrorNotifiable,SSHPacketHandler
- All Known Implementing Classes:
AbstractDirectChannel,DirectConnection,DirectTCPIPChannel,LocalPortForwarder.ForwardedChannel,SessionChannel
- Enclosing interface:
- Channel
public static interface Channel.Direct extends Channel
Direct channels are those that are initiated by us.
-
-
Nested Class Summary
-
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
-
-
Method Summary
Modifier and Type Method Description voidopen()Request opening this channel from remote end.-
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
-
-
-
-
Method Detail
-
open
void open() throws ConnectionException, TransportException
Request opening this channel from remote end.- Throws:
OpenFailException- in case the channel open request was rejectedConnectionException- other connection-layer errorTransportException- error writing packets etc.
-
-