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()
ChannelFactory
supportedChannelTypes
in interface ChannelFactory
public Ssh2Channel createChannel(String channeltype, byte[] requestdata) throws SshException, ChannelOpenException
ChannelFactory
Create 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 ChannelFactory
ChannelOpenException
SshException
Copyright © 2024. All rights reserved.