Class JLdapConnection.AggregateUnsolicitedNotificationListener

  • All Implemented Interfaces:
    com.novell.ldap.LDAPUnsolicitedNotificationListener
    Enclosing class:
    JLdapConnection

    protected class JLdapConnection.AggregateUnsolicitedNotificationListener
    extends Object
    implements com.novell.ldap.LDAPUnsolicitedNotificationListener
    Allows the use of multiple unsolicited notification handlers per connection.
    • Constructor Detail

      • AggregateUnsolicitedNotificationListener

        protected AggregateUnsolicitedNotificationListener()
    • Method Detail

      • addUnsolicitedNotificationListener

        public void addUnsolicitedNotificationListener​(UnsolicitedNotificationListener listener)
        Adds an unsolicited notification listener to this handler.
        Parameters:
        listener - to receive unsolicited notifications
      • removeUnsolicitedNotificationListener

        public void removeUnsolicitedNotificationListener​(UnsolicitedNotificationListener listener)
        Removes an unsolicited notification listener from this handler.
        Parameters:
        listener - to stop receiving unsolicited notifications
      • messageReceived

        public void messageReceived​(com.novell.ldap.LDAPExtendedResponse extendedResponse)
        Specified by:
        messageReceived in interface com.novell.ldap.LDAPUnsolicitedNotificationListener