Package org.ldaptive.extended
Class UnsolicitedNotifications
- java.lang.Object
-
- org.ldaptive.extended.UnsolicitedNotifications
-
public class UnsolicitedNotifications extends Object
Adds and removes unsolicited notification listeners to provider connections.
-
-
Field Summary
Fields Modifier and Type Field Description private Connection
connection
Connection to configure unsolicited notifications on.
-
Constructor Summary
Constructors Constructor Description UnsolicitedNotifications(Connection conn)
Creates a new unsolicited notifications.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addListener(UnsolicitedNotificationListener listener)
Adds a listener to receive unsolicited notifications.void
removeListener(UnsolicitedNotificationListener listener)
Removes a listener from receiving unsolicited notifications.
-
-
-
Field Detail
-
connection
private final Connection connection
Connection to configure unsolicited notifications on.
-
-
Constructor Detail
-
UnsolicitedNotifications
public UnsolicitedNotifications(Connection conn)
Creates a new unsolicited notifications.- Parameters:
conn
- connection
-
-
Method Detail
-
addListener
public void addListener(UnsolicitedNotificationListener listener)
Adds a listener to receive unsolicited notifications.- Parameters:
listener
- to receive unsolicited notifications
-
removeListener
public void removeListener(UnsolicitedNotificationListener listener)
Removes a listener from receiving unsolicited notifications.- Parameters:
listener
- to no longer receive unsolicited notifications
-
-