public abstract class BaseIoAcceptorConfig extends BaseIoServiceConfig implements IoAcceptorConfig
IoAcceptorConfig
.限定符 | 构造器和说明 |
---|---|
protected |
BaseIoAcceptorConfig() |
限定符和类型 | 方法和说明 |
---|---|
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
在接口中 IoAcceptorConfig
public void setDisconnectOnUnbind(boolean disconnectClientsOnUnbind)
IoAcceptorConfig
setDisconnectOnUnbind
在接口中 IoAcceptorConfig