モジュール java.naming
パッケージ javax.naming.ldap

クラスUnsolicitedNotificationEvent

java.lang.Object
java.util.EventObject
javax.naming.ldap.UnsolicitedNotificationEvent
すべての実装されたインタフェース:
Serializable

public class UnsolicitedNotificationEvent extends EventObject
このクラスは、LDAPサーバーから送信された非要請通知に応じてトリガーされたイベントを表します。
導入されたバージョン:
1.3
関連項目:
  • コンストラクタの詳細

    • 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以外のリスナー。