Top Methods
org.apache.sshd.common.session

public Interface UnknownChannelReferenceHandler

Known Direct Implementers
org.apache.sshd.common.session.helpers.DefaultUnknownChannelReferenceHandler
Imports
java.io.IOException, org.apache.sshd.common.channel.Channel, org.apache.sshd.common.util.buffer.Buffer

Author
Apache MINA SSHD Project
See Also
RFC 4254

Method Summary

Modifier and TypeMethod and Description
public Channel

Returns:

The resolved Channel - if null then the message for the unknown channel is ignored.
handleUnknownChannelCommand
(ConnectionService
The ConnectionService instance through which the message was received
service
,
byte
The requested command identifier
cmd
,
long
The (unknown) target channel identifier
channelId
,
Buffer
The message Buffer containing the rest of the message
buffer
)

Invoked when the connection service responsible for handling channel messages receives a message intended for an unknown channel.

Method Detail

handleUnknownChannelCommandback to summary
public 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:ConnectionService

The ConnectionService instance through which the message was received

cmd:byte

The requested command identifier

channelId:long

The (unknown) target channel identifier

buffer:Buffer

The message Buffer containing the rest of the message

Returns:Channel

The resolved Channel - if null then the message for the unknown channel is ignored.

Exceptions
IOException:
If failed to handle the request