Class ChannelAgentForwardingFactory
java.lang.Object
org.apache.sshd.agent.unix.ChannelAgentForwardingFactory
- All Implemented Interfaces:
ChannelFactory, NamedResource
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Factory<CloseableExecutorService> static final ChannelAgentForwardingFactoryprivate final Stringstatic final ChannelAgentForwardingFactoryFields inherited from interface NamedResource
BY_NAME_COMPARATOR, NAME_EXTRACTOR -
Constructor Summary
ConstructorsConstructorDescriptionChannelAgentForwardingFactory(String name, Factory<CloseableExecutorService> executorServiceFactory) -
Method Summary
-
Field Details
-
OPENSSH
-
IETF
-
name
-
executorServiceFactory
-
-
Constructor Details
-
ChannelAgentForwardingFactory
-
ChannelAgentForwardingFactory
public ChannelAgentForwardingFactory(String name, Factory<CloseableExecutorService> executorServiceFactory)
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceNamedResource- Returns:
- The resource name
-
createChannel
- Specified by:
createChannelin interfaceChannelFactory- Parameters:
session- TheSessionthrough which the request is made- Returns:
- The relevant
Channel - Throws:
IOException- If failed to create the requested instance
-