public class AgentForwardingChannelFactory extends Object implements ChannelFactory
| Constructor and Description |
|---|
AgentForwardingChannelFactory(String location,
AgentSocketType socketType) |
| Modifier and Type | Method and Description |
|---|---|
Ssh2Channel |
createChannel(String channeltype,
byte[] requestdata)
Create an instance of an SSH channel.
|
String[] |
supportedChannelTypes()
Return the supported channel types.
|
public AgentForwardingChannelFactory(String location, AgentSocketType socketType)
public String[] supportedChannelTypes()
ChannelFactorysupportedChannelTypes in interface ChannelFactorypublic Ssh2Channel createChannel(String channeltype, byte[] requestdata) throws SshException, ChannelOpenException
ChannelFactoryCreate an instance of an SSH channel. The new instance should be returned, if for any reason the channel cannot be created either because the channel is not supported or there are not enough resources an exception is thrown.
createChannel in interface ChannelFactoryChannelOpenExceptionSshExceptionCopyright © 2025. All rights reserved.