public interface SshChannelHandler
SshClient instance. When the server requests a
channel with this name, channelCreated(SshChannel) will be called.| Modifier and Type | Method and Description |
|---|---|
void |
channelCreated(SshChannel channel)
Called when a new channel with a supported name has been created.
|
SshChannel.ChannelData |
createChannel(java.lang.String channelName,
byte[] requestData)
Called when a new channel with a supported name has been created.
|
java.lang.String[] |
getSupportChannelNames()
Get the names of the channels this factory supports.
|
java.lang.String[] getSupportChannelNames()
SshChannel.ChannelData createChannel(java.lang.String channelName, byte[] requestData)
channelName - channel namerequestData - request datanull for nonevoid channelCreated(SshChannel channel) throws java.io.IOException
channel - channeljava.io.IOExceptionCopyright © 2018. All rights reserved.