org.gcube.data.tmf.api
Interface SourceConsumer


public interface SourceConsumer

A consumer of SourceEvents.

The service acts as the primary consumer of source events, though plugin components may wish to act as event consumers for increased decoupling from event producers.

Author:
Fabio Simeoni
See Also:
SourceNotifier, SourceEvent, Source.notifier()

Method Summary
 void onEvent(SourceEvent... events)
          Callback on notification of SourceEvents.
 

Method Detail

onEvent

void onEvent(SourceEvent... events)
Callback on notification of SourceEvents.

Parameters:
events - the events.


Copyright © 2012. All Rights Reserved.