APIdia Launch Partner
Top Description Methods
javax.naming.ldap

public Interface UnsolicitedNotificationListener

extends NamingListener
Imports
javax.naming.event.NamingListener

This interface is for handling UnsolicitedNotificationEvent. "Unsolicited notification" is defined in RFC 2251. It allows the server to send unsolicited notifications to the client. An UnsolicitedNotificationListener must:
  1. Implement this interface and its method
  2. Implement NamingListener.namingExceptionThrown() so that it will be notified of exceptions thrown while attempting to collect unsolicited notification events.
  3. Register with the context using one of the addNamingListener() methods from EventContext or EventDirContext. Only the NamingListener argument of these methods are applicable; the rest are ignored for an UnsolicitedNotificationListener. (These arguments might be applicable to the listener if it implements other listener interfaces).
Authors
Rosanna Lee, Scott Seligman, Vincent Ryan
Since
1.3
See Also
UnsolicitedNotificationEvent, UnsolicitedNotification, javax.naming.event.EventContext#addNamingListener, javax.naming.event.EventDirContext#addNamingListener, javax.naming.event.EventContext#removeNamingListener

Method Summary

Modifier and TypeMethod and Description
public void
notificationReceived(UnsolicitedNotificationEvent
The non-null UnsolicitedNotificationEvent
evt
)

Called when an unsolicited notification has been received.

Inherited from javax.naming.event.NamingListener:
namingExceptionThrown

Method Detail

notificationReceivedback to summary
public void notificationReceived(UnsolicitedNotificationEvent evt)

Called when an unsolicited notification has been received.

Parameters
evt:UnsolicitedNotificationEvent

The non-null UnsolicitedNotificationEvent