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 |
create() |
java.util.concurrent.ExecutorService |
getExecutorService() |
java.lang.String |
getName() |
TcpForwardingFilter.Type |
getType() |
boolean |
isShutdownOnExit() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
create, setUpBuiltinFactories, setUpTransformedFactories
findByName, getNameList, getNames, 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 java.util.concurrent.ExecutorService getExecutorService()
getExecutorService
in interface ExecutorServiceCarrier
ExecutorService
to usepublic boolean isShutdownOnExit()
isShutdownOnExit
in interface ExecutorServiceCarrier
true
then the ExecutorService.shutdownNow()
will be called (unless it is an internally allocated service which is always
closed)