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, wait
createChannel
findByName, getNameList, getNames, ofName, removeByName
private final TcpForwardingFilter.Type type
protected TcpipFactory(TcpForwardingFilter.Type type)
public final TcpForwardingFilter.Type getType()
public final java.lang.String getName()
getName
in interface NamedResource
public CloseableExecutorService getExecutorService()
getExecutorService
in interface ExecutorServiceCarrier
CloseableExecutorService
to usepublic 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