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 Formsource
Constructor and Description |
---|
UnsolicitedNotificationEvent(Object src,
UnsolicitedNotification notice)
Constructs a new instance of UnsolicitedNotificationEvent.
|
Modifier and Type | Method and Description |
---|---|
void |
dispatch(UnsolicitedNotificationListener listener)
Invokes the notificationReceived() method on
a listener using this event.
|
UnsolicitedNotification |
getNotification()
Returns the unsolicited notification.
|
getSource, toString
public UnsolicitedNotificationEvent(Object src, UnsolicitedNotification notice)
src
- The non-null source that fired the event.notice
- The non-null unsolicited notification.public UnsolicitedNotification getNotification()
public void dispatch(UnsolicitedNotificationListener listener)
listener
- The non-null listener on which to invoke
notificationReceived.aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2019 aicas GmbH. All Rights Reserved.