JavaTM Platform
Standard Ed. 6

javax.naming.ldap
인터페이스 UnsolicitedNotificationListener

모든 슈퍼 인터페이스:
EventListener , NamingListener


public interface UnsolicitedNotificationListener
extends NamingListener

이 인터페이스는,UnsolicitedNotificationEvent 를 처리하기 위한의 것입니다. 「비요청 통지」는「RFC 2251」으로 정의되고 있습니다. 이 인터페이스에 의해, 서버는 비요청 통지를 클라이언트에 송신할 수 있습니다. UnsolicitedNotificationListener 는 이하를 실시할 필요가 있습니다.

  1. 이 인터페이스 및 메소드를 구현한다
  2. 비요청 통지 이벤트를 수집하려고 하는 동안에 throw 된 예외가 통지되도록(듯이),NamingListener.namingExceptionThrown() 를 구현한다
  3. EventContext 또는 EventDirContextaddNamingListener() 메소드의 1 개를 사용해, 문맥에 등록한다. 이러한 메소드의 NamingListener 인수만이 적용된다. 즉 나머지는 UnsolicitedNotificationListener 에 무시된다 (이러한 인수는, 청취자가 다른 청취자 인터페이스를 구현하고 있을 때는 청취자에게 적용되는 경우가 있다)

도입된 버젼:
1.3
관련 항목:
UnsolicitedNotificationEvent , UnsolicitedNotification , 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)

메소드의 개요
 void notificationReceived (UnsolicitedNotificationEvent  evt)
          비요청 통지가 수신되고 있는 경우에 불려 갑니다.
 
인터페이스 javax.naming.event. NamingListener 로부터 상속된 메소드
namingExceptionThrown
 

메소드의 상세

notificationReceived

void notificationReceived(UnsolicitedNotificationEvent  evt)
비요청 통지가 수신되고 있는 경우에 불려 갑니다.

파라미터:
evt - null 이외의 UnsolicitedNotificationEvent

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 도 참조해 주세요.