Class UnsolicitedNotificationEvent
Class UnsolicitedNotificationEvent
public class UnsolicitedNotificationEvent
extends EventObject
LDAP 서버가 보낸 비요청 알림에 대한 응답으로 발생하는 이벤트를 나타내는 클래스예요.
UnsolicitedNotificationEvent
public UnsolicitedNotificationEvent(Object src,
UnsolicitedNotification notice)
UnsolicitedNotificationEvent의 새 인스턴스를 생성해요.
- Parameters: src - 이벤트를 발생시킨, null이 아닌 소스
getNotification
public UnsolicitedNotification getNotification()
비요청 알림을 반환해요.
- Returns: 이 이벤트를 발생시킨, null이 아닌 비요청 알림
dispatch
public void dispatch(UnsolicitedNotificationListener listener)
이 이벤트를 사용해 리스너의 notificationReceived() 메서드를 호출해요.
- Parameters: listener -
notificationReceived를 호출할, null이 아닌 리스너