Package org.apache.mina.common
Interface IoAcceptorConfig
-
- All Superinterfaces:
java.lang.Cloneable
,IoServiceConfig
- All Known Implementing Classes:
BaseIoAcceptorConfig
,DatagramAcceptorConfig
,SocketAcceptorConfig
public interface IoAcceptorConfig extends IoServiceConfig
A configuration which is used to configureIoAcceptor
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isDisconnectOnUnbind()
Returns true if and only if all clients are disconnected when this acceptor unbinds the related local address.void
setDisconnectOnUnbind(boolean disconnectOnUnbind)
Sets whether all clients are disconnected when this acceptor unbinds the related local address.-
Methods inherited from interface org.apache.mina.common.IoServiceConfig
clone, getFilterChain, getFilterChainBuilder, getSessionConfig, getThreadModel, setFilterChainBuilder, setThreadModel
-
-
-
-
Method Detail
-
isDisconnectOnUnbind
boolean isDisconnectOnUnbind()
Returns true if and only if all clients are disconnected when this acceptor unbinds the related local address.
-
setDisconnectOnUnbind
void setDisconnectOnUnbind(boolean disconnectOnUnbind)
Sets whether all clients are disconnected when this acceptor unbinds the related local address. The default value is true.
-
-