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

クラスUnsolicitedNotificationEvent

    • コンストラクタの詳細

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