Interface LdapSessionCompletionListener

    • Method Detail

      • handleConnectionError

        void handleConnectionError​(LdapSession context,
                                   Throwable error)
        Invoked when the connection has been disconnected because of an error (e.g: message too big).
        Parameters:
        context - The LdapSession which has failed
        error - The error
      • handleConnectionClosed

        void handleConnectionClosed​(LdapSession context)
        Invoked when the client closed the connection, possibly using an unbind request.
        Parameters:
        context - The LdapSession which has been disconnected
      • handleConnectionDisconnected

        void handleConnectionDisconnected​(LdapSession context,
                                          ResultCode resultCode,
                                          String diagnosticMessage)
        Invoked when the connection has been disconnected by the server.
        Parameters:
        context - The LdapSession which has been disconnected
        resultCode - The result code which was included with the disconnect notification, or null if no disconnect notification was sent.
        diagnosticMessage - The diagnostic message, which may be empty or null indicating that none was provided.