org.apache.mina.common
Interface IoAcceptorConfig
- Cloneable, IoServiceConfig
- BaseIoAcceptorConfig, DatagramAcceptorConfig, SocketAcceptorConfig
public interface IoAcceptorConfig
A configuration which is used to configure
IoAcceptor
.
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.
|
isDisconnectOnUnbind
public boolean isDisconnectOnUnbind()
Returns true if and only if all clients are disconnected
when this acceptor unbinds the related local address.
setDisconnectOnUnbind
public void setDisconnectOnUnbind(boolean disconnectOnUnbind)
Sets whether all clients are disconnected when this acceptor unbinds the
related local address. The default value is true.