java.lang.Object
java.util.EventObject
javax.naming.ldap.UnsolicitedNotificationEvent
- すべての実装されたインタフェース:
- Serializable
public class UnsolicitedNotificationEvent extends EventObject
このクラスは、LDAPサーバーから送信された非要請通知に応じてトリガーされたイベントを表します。
- 導入されたバージョン:
- 1.3
- 関連項目:
- 
- 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)
- 直列化された形式
 
- 
フィールドのサマリークラス java.util.EventObjectで宣言されたフィールドsource
- 
コンストラクタのサマリーコンストラクタコンストラクタ説明UnsolicitedNotificationEvent(Object src, UnsolicitedNotification notice) UnsolicitedNotificationEventの新しいインスタンスを構築します。
- 
メソッドのサマリー修飾子と型メソッド説明voiddispatch(UnsolicitedNotificationListener listener) このイベントを使用して、リスナーでnotificationReceived()メソッドを呼び出します。非要請通知を返します。クラス java.util.EventObjectで宣言されたメソッドgetSource, toString
- 
コンストラクタの詳細- 
UnsolicitedNotificationEventpublic UnsolicitedNotificationEvent(Object src, UnsolicitedNotification notice) UnsolicitedNotificationEventの新しいインスタンスを構築します。- パラメータ:
- src- イベントをトリガーしたnull以外のソース。
- notice- null以外の非要請通知。
 
 
- 
- 
メソッドの詳細- 
getNotificationpublic UnsolicitedNotification getNotification()非要請通知を返します。- 戻り値:
- このイベントがトリガーされる原因となった、null以外の非要請通知。
 
- 
dispatchpublic void dispatch(UnsolicitedNotificationListener listener) このイベントを使用して、リスナーでnotificationReceived()メソッドを呼び出します。- パラメータ:
- listener-- notificationReceivedを呼び出すnull以外のリスナー。
 
 
-