declare namespace javax { namespace naming { namespace ldap { /** * This class represents an event fired in response to an unsolicited * notification sent by the LDAP server. * @author Rosanna Lee * @author Scott Seligman * @author Vincent Ryan * @see UnsolicitedNotification * @see UnsolicitedNotificationListener * @see javax.naming.event.EventContext#addNamingListener * @see javax.naming.event.EventDirContext#addNamingListener * @see javax.naming.event.EventContext#removeNamingListener * @since 1.3 */ // @ts-ignore class UnsolicitedNotificationEvent extends java.util.EventObject { /** * Constructs a new instance of UnsolicitedNotificationEvent. * @param src The non-null source that fired the event. * @param notice The non-null unsolicited notification. */ // @ts-ignore constructor(src: java.lang.Object | any, notice: javax.naming.ldap.UnsolicitedNotification) /** * Returns the unsolicited notification. * @return The non-null unsolicited notification that caused this * event to be fired. */ // @ts-ignore public getNotification(): javax.naming.ldap.UnsolicitedNotification /** * Invokes the notificationReceived() method on * a listener using this event. * @param listener The non-null listener on which to invoke * notificationReceived. */ // @ts-ignore public dispatch(listener: javax.naming.ldap.UnsolicitedNotificationListener): void } } } }