public class ChannelSessionFactory extends java.lang.Object implements ChannelFactory
Modifier and Type | Field and Description |
---|---|
static ChannelSessionFactory |
INSTANCE |
BY_NAME_COMPARATOR, NAME_EXTRACTOR
Constructor and Description |
---|
ChannelSessionFactory() |
Modifier and Type | Method and Description |
---|---|
Channel |
createChannel(Session session) |
java.lang.String |
getName() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createChannel
findByName, getNameList, getNames, ofName, removeByName
public static final ChannelSessionFactory INSTANCE
public java.lang.String getName()
getName
in interface NamedResource
public Channel createChannel(Session session) throws java.io.IOException
createChannel
in interface ChannelFactory
session
- The Session
through which the request is madeChannel
java.io.IOException
- If failed to create the requested instance