public class UnsolicitedNotifications extends Object
| Constructor and Description |
|---|
UnsolicitedNotifications(Connection conn)
Creates a new unsolicited notifications.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(UnsolicitedNotificationListener listener)
Adds a listener to receive unsolicited notifications.
|
void |
removeListener(UnsolicitedNotificationListener listener)
Removes a listener from receiving unsolicited notifications.
|
public UnsolicitedNotifications(Connection conn)
conn - connectionpublic void addListener(UnsolicitedNotificationListener listener)
listener - to receive unsolicited notificationspublic void removeListener(UnsolicitedNotificationListener listener)
listener - to no longer receive unsolicited notificationsCopyright © 2023. All rights reserved.