public abstract static class TcpipServerChannel.TcpipFactory extends java.lang.Object implements ChannelFactory, ExecutorServiceCarrier
| Modifier and Type | Field and Description |
|---|---|
private TcpForwardingFilter.Type |
type |
BY_NAME_COMPARATOR, NAME_EXTRACTOR| Modifier | Constructor and Description |
|---|---|
protected |
TcpipFactory(TcpForwardingFilter.Type type) |
| Modifier and Type | Method and Description |
|---|---|
Channel |
createChannel(Session session) |
CloseableExecutorService |
getExecutorService() |
java.lang.String |
getName() |
TcpForwardingFilter.Type |
getType() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateChannelfindByName, getNameList, getNames, ofName, removeByNameprivate final TcpForwardingFilter.Type type
protected TcpipFactory(TcpForwardingFilter.Type type)
public final TcpForwardingFilter.Type getType()
public final java.lang.String getName()
getName in interface NamedResourcepublic CloseableExecutorService getExecutorService()
getExecutorService in interface ExecutorServiceCarrierCloseableExecutorService to usepublic 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