org.gcube.common.core.informationsystem.notifier
Class ISNotifier.BaseNotificationConsumer
java.lang.Object
org.gcube.common.core.informationsystem.notifier.ISNotifier.BaseNotificationConsumer
- All Implemented Interfaces:
- GCUBEConsumer<ISNotifier.NotificationTopic,Object>
- Enclosing interface:
- ISNotifier
public static class ISNotifier.BaseNotificationConsumer
- extends Object
- implements GCUBEConsumer<ISNotifier.NotificationTopic,Object>
Base implementation of a GCUBEConsumer.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
notifications
public List<QName> notifications
- List of notification to filter for this consumer
ISNotifier.BaseNotificationConsumer
public ISNotifier.BaseNotificationConsumer()
onEvent
public <T1 extends ISNotifier.NotificationTopic,P1> void onEvent(GCUBEEvent<T1,P1>... events)
- Receives RI notification events and dispatches them to topic-specific callbacks.
- Specified by:
onEvent in interface GCUBEConsumer<ISNotifier.NotificationTopic,Object>
- Type Parameters:
T1 - the topic type.P1 - the payload type.- Parameters:
events - the events.
onNotificationReceived
protected void onNotificationReceived(ISNotifier.NotificationEvent event)
- Notification event callback.
- Parameters:
event - the event.
Copyright © 2013. All Rights Reserved.