public class ChannelAgentForwardingFactory extends java.lang.Object implements ChannelFactory
| Modifier and Type | Field and Description |
|---|---|
static ChannelAgentForwardingFactory |
IETF |
private java.lang.String |
name |
static ChannelAgentForwardingFactory |
OPENSSH |
BY_NAME_COMPARATOR, NAME_EXTRACTOR| Constructor and Description |
|---|
ChannelAgentForwardingFactory(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
Channel |
createChannel(Session session) |
java.lang.String |
getName() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateChannelfindByName, getNameList, getNames, ofName, removeByNamepublic static final ChannelAgentForwardingFactory OPENSSH
public static final ChannelAgentForwardingFactory IETF
private final java.lang.String name
public ChannelAgentForwardingFactory(java.lang.String name)
public java.lang.String getName()
getName in interface NamedResourcepublic Channel createChannel(Session session) throws java.io.IOException
createChannel in interface ChannelFactorysession - The Session through which the request is madeChanneljava.io.IOException - If failed to create the requested instance