Interface LdapSocketAcceptor

    • Method Detail

      • getSocketAddresses

        Set<InetSocketAddress> getSocketAddresses()
        Returns the addresses that this LDAP socket acceptor is listening on.
        Returns:
        The addresses that this LDAP socket acceptor is listening on.
      • setOptions

        boolean setOptions​(Options newOptions)
        Updates the options of this LDAP socket acceptor. Most of the options will be applied only for next incoming connections, current connections will not impacted by this operation. Some options are not modifiable and will be ignored by this operation.
        Parameters:
        newOptions - The LDAP socket acceptor options.
        Returns:
        true if some or all options have been applied, false if options cannot be changed.
      • getOptions

        Options getOptions()
        Returns a copy of the options currently used by this LDAP listener. Modifying the returned Options will have no impact until applied with setOptions(Options).
        Returns:
        The LDAP listener options.
      • close

        void close()
        Closes this LDAP socket acceptor.

        Calling this method on an acceptor that is already closed has no effect.

        Specified by:
        close in interface AutoCloseable
        Specified by:
        close in interface Closeable