APIdia Launch Partner
Top Description Fields Constructors Methods
javax.naming.ldap

public Class UnsolicitedNotificationEvent

extends EventObject
Class Inheritance

This class represents an event fired in response to an unsolicited notification sent by the LDAP server.
Authors
Rosanna Lee, Scott Seligman, Vincent Ryan
Since
1.3
See Also
UnsolicitedNotification, UnsolicitedNotificationListener, javax.naming.event.EventContext#addNamingListener, javax.naming.event.EventDirContext#addNamingListener, javax.naming.event.EventContext#removeNamingListener

Field Summary

Modifier and TypeField and Description
private UnsolicitedNotification
notice

The notification that caused this event to be fired.

private static final long
Inherited from java.util.EventObject:
source

Constructor Summary

AccessConstructor and Description
public
UnsolicitedNotificationEvent(Object
The non-null source that fired the event.
src
,
UnsolicitedNotification
The non-null unsolicited notification.
notice
)

Constructs a new instance of UnsolicitedNotificationEvent.

Method Summary

Modifier and TypeMethod and Description
public void
dispatch(UnsolicitedNotificationListener
The non-null listener on which to invoke notificationReceived.
listener
)

Invokes the notificationReceived() method on a listener using this event.

public UnsolicitedNotification

Returns:

The non-null unsolicited notification that caused this event to be fired.
getNotification
()

Returns the unsolicited notification.

Inherited from java.util.EventObject:
getSourcetoString

Field Detail

noticeback to summary
private UnsolicitedNotification notice

The notification that caused this event to be fired.

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.util.EventObject.serialVersionUID.

Constructor Detail

UnsolicitedNotificationEventback to summary
public UnsolicitedNotificationEvent(Object src, UnsolicitedNotification notice)

Constructs a new instance of UnsolicitedNotificationEvent.

Parameters
src:Object

The non-null source that fired the event.

notice:UnsolicitedNotification

The non-null unsolicited notification.

Method Detail

dispatchback to summary
public void dispatch(UnsolicitedNotificationListener listener)

Invokes the notificationReceived() method on a listener using this event.

Parameters
listener:UnsolicitedNotificationListener

The non-null listener on which to invoke notificationReceived.

getNotificationback to summary
public UnsolicitedNotification getNotification()

Returns the unsolicited notification.

Returns:UnsolicitedNotification

The non-null unsolicited notification that caused this event to be fired.