Interface ForwardedChannelOpener
-
- All Known Implementing Classes:
AbstractForwardedChannelOpener
,RemotePortForwarder
,X11Forwarder
public interface ForwardedChannelOpener
Takes care of handlingSSH_MSG_CHANNEL_OPEN
requests for forwarded channels of a specific type.
-
-
Method Summary
Modifier and Type Method Description java.lang.String
getChannelType()
Returns the name of the channel type this opener can next.void
handleOpen(SSHPacket buf)
Delegates aSSH_MSG_CHANNEL_OPEN
request 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_OPEN
request for the channel type claimed by this opener.- Parameters:
buf
-SSHPacket
containing the request except for the message identifier and channel type field- Throws:
ConnectionException
TransportException
-
-