Package org.apache.sshd.agent.local
Class ChannelAgentForwardingFactory
- java.lang.Object
-
- org.apache.sshd.agent.local.ChannelAgentForwardingFactory
-
- All Implemented Interfaces:
ChannelFactory
,NamedResource
public class ChannelAgentForwardingFactory extends Object implements ChannelFactory
- Author:
- Apache MINA SSHD Project
-
-
Field Summary
Fields Modifier and Type Field Description static ChannelAgentForwardingFactory
IETF
static ChannelAgentForwardingFactory
OPENSSH
-
Fields inherited from interface org.apache.sshd.common.NamedResource
BY_NAME_COMPARATOR, NAME_EXTRACTOR
-
-
Constructor Summary
Constructors Constructor Description ChannelAgentForwardingFactory(String name)
-
-
-
Field Detail
-
OPENSSH
public static final ChannelAgentForwardingFactory OPENSSH
-
IETF
public static final ChannelAgentForwardingFactory IETF
-
-
Constructor Detail
-
ChannelAgentForwardingFactory
public ChannelAgentForwardingFactory(String name)
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getName
in interfaceNamedResource
-
createChannel
public Channel createChannel(Session session) throws IOException
- Specified by:
createChannel
in interfaceChannelFactory
- Parameters:
session
- TheSession
through which the request is made- Returns:
- The relevant
Channel
- Throws:
IOException
- If failed to create the requested instance
-
-