Interface IoAcceptorConfig

All Superinterfaces:
Cloneable, IoServiceConfig
All Known Implementing Classes:
BaseIoAcceptorConfig, DatagramAcceptorConfig, SocketAcceptorConfig

public interface IoAcceptorConfig extends IoServiceConfig
A configuration which is used to configure IoAcceptor.
  • Method Details

    • 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.