クラスUnsolicitedNotificationEvent
java.lang.Object
java.util.EventObject
javax.naming.ldap.UnsolicitedNotificationEvent
- すべての実装されたインタフェース:
Serializable
public class UnsolicitedNotificationEvent extends EventObject
このクラスは、LDAPサーバーから送信された非要請通知に応じてトリガーされたイベントを表します。
- 導入されたバージョン:
- 1.3
- 関連項目:
-
フィールドのサマリー
-
コンストラクタのサマリー
コンストラクタコンストラクタ説明UnsolicitedNotificationEvent(Object src, UnsolicitedNotification notice) UnsolicitedNotificationEventの新しいインスタンスを構築します。 -
メソッドのサマリー
修飾子と型メソッド説明voiddispatch(UnsolicitedNotificationListener listener) このイベントを使用して、リスナーに対してnotificationReceived()メソッドを起動します。非要請通知を返します。クラスで宣言されたメソッド EventObject
getSource, toStringクラスオブジェクトで宣言されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait修飾子と型メソッド説明protected Objectclone()このオブジェクトのコピーを作成して、返します。booleanこのオブジェクトと他のオブジェクトが等しいかどうかを示します。protected voidfinalize()削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。最終決定は非推奨であり、将来のリリースで削除される可能性があります。final Class<?> getClass()このObjectの実行時クラスを返します。inthashCode()このオブジェクトに対するハッシュ・コード値を返します。final voidnotify()このオブジェクトのモニターで待機中のスレッドを1つ再開します。final voidこのオブジェクトのモニターで待機中のすべてのスレッドを再開します。final voidwait()現在のスレッドが目覚めるまで待機します。通常、notifiedまたはinterruptedです。final voidwait(long timeoutMillis) 現在のスレッドは、通常、notifiedまたはinterruptedであるか、一定のリアルタイムが経過するまで、目覚めるまで待機します。final voidwait(long timeoutMillis, int nanos) 現在のスレッドは、通常、notifiedまたはinterruptedであるか、一定のリアルタイムが経過するまで、目覚めるまで待機します。
-
コンストラクタの詳細
-
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以外のリスナー。
-