Interface ForwardedChannelOpener
-
- All Known Implementing Classes:
AbstractForwardedChannelOpener,RemotePortForwarder,X11Forwarder
public interface ForwardedChannelOpenerTakes care of handlingSSH_MSG_CHANNEL_OPENrequests for forwarded channels of a specific type.
-
-
Method Summary
Modifier and Type Method Description java.lang.StringgetChannelType()Returns the name of the channel type this opener can next.voidhandleOpen(SSHPacket buf)Delegates aSSH_MSG_CHANNEL_OPENrequest for the channel type claimed by this opener.
-
-
-
Method Detail
-
getChannelType
java.lang.String getChannelType()
Returns the name of the channel type this opener can next.
-
handleOpen
void handleOpen(SSHPacket buf) throws ConnectionException, TransportException
Delegates aSSH_MSG_CHANNEL_OPENrequest for the channel type claimed by this opener.- Parameters:
buf-SSHPacketcontaining the request except for the message identifier and channel type field- Throws:
ConnectionExceptionTransportException
-
-