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
の新しいインスタンスを構築します。 -
メソッドのサマリー
修飾子と型メソッド説明void
dispatch
(UnsolicitedNotificationListener listener) このイベントを使用して、リスナーでnotificationReceived()
メソッドを呼び出します。非要請通知を返します。クラス java.util.EventObjectで宣言されたメソッド
getSource, toString
-
コンストラクタの詳細
-
UnsolicitedNotificationEvent
public UnsolicitedNotificationEvent(Object src, UnsolicitedNotification notice) UnsolicitedNotificationEvent
の新しいインスタンスを構築します。- パラメータ:
src
- イベントをトリガーしたnull以外のソース。notice
- null以外の非要請通知。
-
-
メソッドの詳細
-
getNotification
public UnsolicitedNotification getNotification()非要請通知を返します。- 戻り値:
- このイベントがトリガーされる原因となった、null以外の非要請通知。
-
dispatch
public void dispatch(UnsolicitedNotificationListener listener) このイベントを使用して、リスナーでnotificationReceived()
メソッドを呼び出します。- パラメータ:
listener
-notificationReceived
を呼び出すnull以外のリスナー。
-