|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GeneralNotificationListener
A listener to notifications received by any subscription created by an elvin connection. This differs from notification listeners added to a subscription in that all notifications received by a connection are available to this type of listener.
A general subscription listener can be useful in the case where
multiple subscriptions match a notification and the client only
wishes to process each notification once. Another way to handle
this would be to mark processed notifications with the
AvisEventObject.setData(String, Object) and
AvisEventObject.getData(String) methods.
Elvin.addNotificationListener(GeneralNotificationListener),
NotificationListener| Method Summary | |
|---|---|
void |
notificationReceived(GeneralNotificationEvent e)
Called when a notification is received. |
| Method Detail |
|---|
void notificationReceived(GeneralNotificationEvent e)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||