Interface ForwardedChannelOpener
- All Known Implementing Classes:
AbstractForwardedChannelOpener
,RemotePortForwarder
,X11Forwarder
public interface ForwardedChannelOpener
Takes care of handling
SSH_MSG_CHANNEL_OPEN
requests for forwarded channels of a specific type.-
Method Summary
Modifier and TypeMethodDescriptionReturns 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 Details
-
getChannelType
String getChannelType()Returns the name of the channel type this opener can next. -
handleOpen
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
-