protected class OpenDJConnection.AggregateUnsolicitedNotificationListener extends Object implements org.forgerock.opendj.ldap.ConnectionEventListener
Modifier and Type | Field and Description |
---|---|
private List<UnsolicitedNotificationListener> |
listeners
Listeners to receive unsolicited notifications.
|
Modifier | Constructor and Description |
---|---|
protected |
AggregateUnsolicitedNotificationListener() |
Modifier and Type | Method and Description |
---|---|
void |
addUnsolicitedNotificationListener(UnsolicitedNotificationListener listener)
Adds an unsolicited notification listener to this listener.
|
void |
handleConnectionClosed() |
void |
handleConnectionError(boolean b,
org.forgerock.opendj.ldap.ErrorResultException e) |
void |
handleUnsolicitedNotification(org.forgerock.opendj.ldap.responses.ExtendedResult extendedResult) |
void |
removeUnsolicitedNotificationListener(UnsolicitedNotificationListener listener)
Removes an unsolicited notification listener from this listener.
|
private final List<UnsolicitedNotificationListener> listeners
protected AggregateUnsolicitedNotificationListener()
public void addUnsolicitedNotificationListener(UnsolicitedNotificationListener listener)
listener
- to receive unsolicited notificationspublic void removeUnsolicitedNotificationListener(UnsolicitedNotificationListener listener)
listener
- to stop receiving unsolicited notificationspublic void handleConnectionClosed()
handleConnectionClosed
in interface org.forgerock.opendj.ldap.ConnectionEventListener
public void handleConnectionError(boolean b, org.forgerock.opendj.ldap.ErrorResultException e)
handleConnectionError
in interface org.forgerock.opendj.ldap.ConnectionEventListener
public void handleUnsolicitedNotification(org.forgerock.opendj.ldap.responses.ExtendedResult extendedResult)
handleUnsolicitedNotification
in interface org.forgerock.opendj.ldap.ConnectionEventListener
Copyright © 2003-2019 Virginia Tech. All Rights Reserved.