org.avis.client
Class GeneralNotificationEvent

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

public final class GeneralNotificationEvent
extends AvisEventObject

A notification event sent to Elvin subscription listeners.

Author:
Matthew Phillips
See Also:
Elvin.addNotificationListener(GeneralNotificationListener), Serialized Form

Field Summary
 Set<Subscription> insecureMatches
          The subscriptions that insecurely matched the notification.
 Set<Subscription> matches
          All subscriptions that matched the notification.
 Notification notification
          The notification.
 Set<Subscription> secureMatches
          The subscriptions that securely matched the notification.
 
Method Summary
 Elvin elvin()
          The Elvin connection that the notification was received from.
 Set<Subscription> insecureMatches()
          Deprecated. Since release 1.1, use insecureMatches instead.
 Set<Subscription> matches()
          Deprecated. Since release 1.1, use matches instead.
 Set<Subscription> secureMatches()
          Deprecated. Since release 1.1, use secureMatches instead.
 
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

notification

public final Notification notification
The notification.


secureMatches

public final Set<Subscription> secureMatches
The subscriptions that securely matched the notification.


insecureMatches

public final Set<Subscription> insecureMatches
The subscriptions that insecurely matched the notification.


matches

public final Set<Subscription> matches
All subscriptions that matched the notification.

Method Detail

elvin

public Elvin elvin()
The Elvin connection that the notification was received from. This is the same as EventObject.getSource().


secureMatches

@Deprecated
public Set<Subscription> secureMatches()
Deprecated. Since release 1.1, use secureMatches instead.

The subscriptions that securely matched the notification.


insecureMatches

@Deprecated
public Set<Subscription> insecureMatches()
Deprecated. Since release 1.1, use insecureMatches instead.

The subscriptions that insecurely matched the notification.


matches

@Deprecated
public Set<Subscription> matches()
Deprecated. Since release 1.1, use matches instead.

All subscriptions that matched the notification.



Copyright © 2008 Matthew Phillips. All Rights Reserved.