org.gcube.data.tm.plugin
Class DefaultSourceNotifier

java.lang.Object
  extended by org.gcube.data.tm.plugin.DefaultSourceNotifier
All Implemented Interfaces:
Serializable, org.gcube.data.tmf.api.SourceNotifier

public class DefaultSourceNotifier
extends Object
implements org.gcube.data.tmf.api.SourceNotifier

A SourceNotifier based on GCUBEProducers and GCUBEConsumers.

Author:
Fabio Simeoni
See Also:
Serialized Form

Constructor Summary
DefaultSourceNotifier()
           
 
Method Summary
 void notify(org.gcube.data.tmf.api.SourceEvent topic)
           
 void subscribe(org.gcube.data.tmf.api.SourceConsumer consumer, org.gcube.data.tmf.api.SourceEvent... topics)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultSourceNotifier

public DefaultSourceNotifier()
Method Detail

subscribe

public void subscribe(org.gcube.data.tmf.api.SourceConsumer consumer,
                      org.gcube.data.tmf.api.SourceEvent... topics)
Specified by:
subscribe in interface org.gcube.data.tmf.api.SourceNotifier

notify

public void notify(org.gcube.data.tmf.api.SourceEvent topic)
Specified by:
notify in interface org.gcube.data.tmf.api.SourceNotifier


Copyright © 2012. All Rights Reserved.