Package org.apache.sshd.common.session
Interface UnknownChannelReferenceHandler
-
- All Known Implementing Classes:
DefaultUnknownChannelReferenceHandler
public interface UnknownChannelReferenceHandler
- Author:
- Apache MINA SSHD Project
- See Also:
- RFC 4254
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Channel
handleUnknownChannelCommand(ConnectionService service, byte cmd, int channelId, Buffer buffer)
Invoked when the connection service responsible for handling channel messages receives a message intended for an unknown channel.
-
-
-
Method Detail
-
handleUnknownChannelCommand
Channel handleUnknownChannelCommand(ConnectionService service, byte cmd, int channelId, Buffer buffer) throws IOException
Invoked when the connection service responsible for handling channel messages receives a message intended for an unknown channel.- Parameters:
service
- TheConnectionService
instance through which the message was receivedcmd
- The requested command identifierchannelId
- The (unknown) target channel identifierbuffer
- The messageBuffer
containing the rest of the message- Returns:
- The resolved
Channel
- ifnull
then the message for the unknown channel is ignored. - Throws:
IOException
- If failed to handle the request
-
-