Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.mina.common
Interface IoAcceptorConfig

All Superinterfaces:
  Cloneable, IoServiceConfig

All Known Implementing Classes:
  org.apache.mina.common.support.BaseIoAcceptorConfig, DatagramAcceptorConfig, SocketAcceptorConfig

    public interface IoAcceptorConfig

extends IoServiceConfig

A configuration which is used to configure `IoAcceptor`.

Version:
  $Rev: 555855 $, $Date: 2007-07-13 05:19:00 +0200 (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 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`.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004-2008 Apache MINA Project. All Rights Reserved.