public abstract class BaseIoAcceptorConfig extends BaseIoServiceConfig implements IoAcceptorConfig
IoAcceptorConfig
.Modifier | Constructor and Description |
---|---|
protected |
BaseIoAcceptorConfig() |
Modifier and Type | Method and Description |
---|---|
boolean |
isDisconnectOnUnbind()
Returns true if and only if all clients are disconnected
when this acceptor unbinds the related local address.
|
void |
setDisconnectOnUnbind(boolean disconnectClientsOnUnbind)
Sets whether all clients are disconnected when this acceptor unbinds the
related local address.
|
clone, getFilterChain, getFilterChainBuilder, getThreadModel, setFilterChainBuilder, setThreadModel
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, getFilterChain, getFilterChainBuilder, getSessionConfig, getThreadModel, setFilterChainBuilder, setThreadModel
public boolean isDisconnectOnUnbind()
IoAcceptorConfig
isDisconnectOnUnbind
in interface IoAcceptorConfig
public void setDisconnectOnUnbind(boolean disconnectClientsOnUnbind)
IoAcceptorConfig
setDisconnectOnUnbind
in interface IoAcceptorConfig