public class UnsolicitedNotificationEvent extends EventObject
UnsolicitedNotification,
UnsolicitedNotificationListener,
EventContext.addNamingListener(javax.naming.Name, int, javax.naming.event.NamingListener) ,
EventDirContext.addNamingListener(javax.naming.Name, java.lang.String, javax.naming.directory.SearchControls, javax.naming.event.NamingListener) ,
EventContext.removeNamingListener(javax.naming.event.NamingListener) ,
Serialized Form
source| Constructor and Description |
|---|
UnsolicitedNotificationEvent(Object
Constructs a new instance of
UnsolicitedNotificationEvent.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dispatch(UnsolicitedNotificationListener
Invokes the
notificationReceived() method on a listener using this event.
|
UnsolicitedNotification |
getNotification()
Returns the unsolicited notification.
|
getSource, toStringpublic UnsolicitedNotificationEvent(Objectsrc, UnsolicitedNotification notice)
src - The non-null source that fired the event.
notice - The non-null unsolicited notification.
public UnsolicitedNotificationgetNotification()
public void dispatch(UnsolicitedNotificationListenerlistener)
listener - The non-null listener on which to invoke
notificationReceived.