protected class UnboundIDConnection.AggregateUnsolicitedNotificationHandler extends Object implements com.unboundid.ldap.sdk.UnsolicitedNotificationHandler
Modifier and Type | Field and Description |
---|---|
private Queue<UnsolicitedNotificationListener> |
listeners
Listeners to receive unsolicited notifications.
|
Modifier | Constructor and Description |
---|---|
protected |
AggregateUnsolicitedNotificationHandler() |
Modifier and Type | Method and Description |
---|---|
void |
addUnsolicitedNotificationListener(UnsolicitedNotificationListener listener)
Adds an unsolicited notification listener to this handler.
|
void |
handleUnsolicitedNotification(com.unboundid.ldap.sdk.LDAPConnection ldapConnection,
com.unboundid.ldap.sdk.ExtendedResult extendedResult) |
void |
removeUnsolicitedNotificationListener(UnsolicitedNotificationListener listener)
Removes an unsolicited notification listener from this handler.
|
private final Queue<UnsolicitedNotificationListener> listeners
protected AggregateUnsolicitedNotificationHandler()
public void addUnsolicitedNotificationListener(UnsolicitedNotificationListener listener)
listener
- to receive unsolicited notificationspublic void removeUnsolicitedNotificationListener(UnsolicitedNotificationListener listener)
listener
- to stop receiving unsolicited notificationspublic void handleUnsolicitedNotification(com.unboundid.ldap.sdk.LDAPConnection ldapConnection, com.unboundid.ldap.sdk.ExtendedResult extendedResult)
handleUnsolicitedNotification
in interface com.unboundid.ldap.sdk.UnsolicitedNotificationHandler
Copyright © 2003-2019 Virginia Tech. All Rights Reserved.