1 7 8 package javax.naming.ldap; 9 10 26 27 public class UnsolicitedNotificationEvent extends java.util.EventObject { 28 32 private UnsolicitedNotification notice; 33 34 40 public UnsolicitedNotificationEvent(Object src, 41 UnsolicitedNotification notice) { 42 super(src); 43 this.notice = notice; 44 } 45 46 47 52 public UnsolicitedNotification getNotification() { 53 return notice; 54 } 55 56 62 public void dispatch(UnsolicitedNotificationListener listener) { 63 listener.notificationReceived(this); 64 } 65 66 private static final long serialVersionUID = -2382603380799883705L; 67 } 68 | Popular Tags |