de.novanic.eventservice.client.event
Interface EventNotification


public interface EventNotification

EventNotification can be used to get notified about incoming events.

Author:
sstrohschein
Date: 12.10.2008
Time: 11:49:42

Method Summary
 void onAbort()
          That method will be called when the listening for events is aborted (unexpected).
 void onNotify(java.util.List<DomainEvent> anEvents)
          That method will be called when new events are arriving.
 

Method Detail

onNotify

void onNotify(java.util.List<DomainEvent> anEvents)
That method will be called when new events are arriving.

Parameters:
anEvents - incoming events

onAbort

void onAbort()
That method will be called when the listening for events is aborted (unexpected).