org.avis.client
Class NotificationEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.avis.client.AvisEventObject
          extended by org.avis.client.NotificationEvent
All Implemented Interfaces:
Serializable

public final class NotificationEvent
extends AvisEventObject

A notification event sent to subscription listeners.

Author:
Matthew Phillips
See Also:
Subscription.addListener(NotificationListener), Serialized Form

Field Summary
 Notification notification
          The notification received from the router.
 boolean secure
          True if the notification was received securely from a client with compatible security keys.
 Subscription subscription
          The subscription that matched the notification.
 
Method Summary
 
Methods inherited from class org.avis.client.AvisEventObject
getData, setData
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

subscription

public final Subscription subscription
The subscription that matched the notification. This is the same as EventObject.getSource().


notification

public final Notification notification
The notification received from the router.


secure

public final boolean secure
True if the notification was received securely from a client with compatible security keys.



Copyright © 2008 Matthew Phillips. All Rights Reserved.