public interface EventListener
| Modifier and Type | Method and Description |
|---|---|
void |
persistEvent(Sink sink,
org.opendof.core.oal.DOFObjectID sourceID,
org.opendof.datatransfer.Event event)
Invoked when events are received.
|
void persistEvent(Sink sink, org.opendof.core.oal.DOFObjectID sourceID, org.opendof.datatransfer.Event event) throws java.lang.Exception
sink - The sink that the listener is associated with.sourceID - The source of the event.event - The event that has occurred.java.lang.Exception - Thrown if the listener is unable to persist the event. This will cause the event to be
submitted to a different sink (if possible).