public class ChannelAgentForwardingFactory extends Object implements ChannelFactory
| Modifier and Type | Field and Description |
|---|---|
static ChannelAgentForwardingFactory |
IETF |
static ChannelAgentForwardingFactory |
OPENSSH |
BY_NAME_COMPARATOR, NAME_EXTRACTOR| Constructor and Description |
|---|
ChannelAgentForwardingFactory(String name) |
ChannelAgentForwardingFactory(String name,
Factory<CloseableExecutorService> executorServiceFactory) |
| Modifier and Type | Method and Description |
|---|---|
Channel |
createChannel(Session session) |
String |
getName() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateChannelfindByName, findFirstMatchByName, getNameList, getNames, ofName, removeByName, safeCompareByNamepublic static final ChannelAgentForwardingFactory OPENSSH
public static final ChannelAgentForwardingFactory IETF
public ChannelAgentForwardingFactory(String name)
public ChannelAgentForwardingFactory(String name, Factory<CloseableExecutorService> executorServiceFactory)
public String getName()
getName in interface NamedResourcepublic Channel createChannel(Session session) throws IOException
createChannel in interface ChannelFactorysession - The Session through which the request is madeChannelIOException - If failed to create the requested instanceCopyright © 2008–2021 The Apache Software Foundation. All rights reserved.