JavaTM Platform
Standard Ed. 6

javax.naming.ldap
클래스 UnsolicitedNotificationEvent

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() 메소드를 호출합니다.
 UnsolicitedNotification getNotification ()
          비요청 통지를 돌려줍니다.
 
클래스 java.util. EventObject 로부터 상속된 메소드
getSource , toString
 
클래스 java.lang. Object 로부터 상속된 메소드
clone , equals , finalize , getClass , hashCode , notify , notifyAll , wait , wait , wait
 

생성자 의 상세

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 이외의 청취자

JavaTM Platform
Standard Ed. 6

버그의 보고와 기능의 요청
한층 더 자세한 API 레퍼런스 및 개발자 문서에 대해서는,Java SE 개발자용 문서를 참조해 주세요. 개발자전용의 상세한 해설, 개념의 개요, 용어의 정의, 버그의 회피책, 및 코드 실례가 포함되어 있습니다.

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.