Package org.apache.sshd.common.session
Interface UnknownChannelReferenceHandler
- All Known Implementing Classes:
DefaultUnknownChannelReferenceHandler
public interface UnknownChannelReferenceHandler
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionhandleUnknownChannelCommand(ConnectionService service, byte cmd, long channelId, Buffer buffer) Invoked when the connection service responsible for handling channel messages receives a message intended for an unknown channel.
-
Method Details
-
handleUnknownChannelCommand
Channel handleUnknownChannelCommand(ConnectionService service, byte cmd, long 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- TheConnectionServiceinstance through which the message was receivedcmd- The requested command identifierchannelId- The (unknown) target channel identifierbuffer- The messageBuffercontaining the rest of the message- Returns:
- The resolved
Channel- ifnullthen the message for the unknown channel is ignored. - Throws:
IOException- If failed to handle the request
-