Serializable
public class UnsolicitedNotificationEvent extends EventObject
source
Constructor | Description |
---|---|
UnsolicitedNotificationEvent |
Constructs a new instance of UnsolicitedNotificationEvent . |
Modifier and Type | Method | Description |
---|---|---|
void |
dispatch |
Invokes the notificationReceived() method on a listener using this event. |
UnsolicitedNotification |
getNotification() |
Returns the unsolicited notification. |
getSource, toString
public UnsolicitedNotificationEvent(Object src, UnsolicitedNotification notice)
UnsolicitedNotificationEvent
.src
- The non-null source that fired the event.notice
- The non-null unsolicited notification.public UnsolicitedNotification getNotification()
public void dispatch(UnsolicitedNotificationListener listener)
notificationReceived()
method on a listener using this event.listener
- The non-null listener on which to invoke notificationReceived
.
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.naming/javax/naming/ldap/UnsolicitedNotificationEvent.html