Class BaseIoAcceptorConfig

    • Constructor Detail

      • BaseIoAcceptorConfig

        protected BaseIoAcceptorConfig()
    • Method Detail

      • 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