org.littleshoot.mina.common.support
Class BaseIoAcceptorConfig
java.lang.Object
org.littleshoot.mina.common.support.BaseIoServiceConfig
org.littleshoot.mina.common.support.BaseIoAcceptorConfig
- All Implemented Interfaces:
- Cloneable, IoAcceptorConfig, IoServiceConfig
- Direct Known Subclasses:
- DatagramAcceptorConfig, SocketAcceptorConfig
public abstract class BaseIoAcceptorConfig
- extends BaseIoServiceConfig
- implements IoAcceptorConfig
A base implementation of IoAcceptorConfig.
- Version:
- $Rev: 555855 $, $Date: 2007-07-13 12:19:00 +0900 (Fri, 13 Jul 2007) $
- Author:
- The Apache Directory Project (mina-dev@directory.apache.org)
|
Method Summary |
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. |
BaseIoAcceptorConfig
protected BaseIoAcceptorConfig()
isDisconnectOnUnbind
public boolean isDisconnectOnUnbind()
- Description copied from interface:
IoAcceptorConfig
- Returns true if and only if all clients are disconnected
when this acceptor unbinds the related local address.
- Specified by:
isDisconnectOnUnbind in interface IoAcceptorConfig
setDisconnectOnUnbind
public void setDisconnectOnUnbind(boolean disconnectClientsOnUnbind)
- Description copied from interface:
IoAcceptorConfig
- Sets whether all clients are disconnected when this acceptor unbinds the
related local address. The default value is true.
- Specified by:
setDisconnectOnUnbind in interface IoAcceptorConfig
Copyright © 2011-2013 LittleShoot. All Rights Reserved.