edu.cmu.cs.able.gaugeInfrastructure
Interface Subscriber


public interface Subscriber

This interface allows a subscriber to have events reported to it. Used in conjunction with the GaugeReportingBus to allow subscription to event patterns.


Method Summary
 void receiveEvent(GaugeEvent event)
          Called when an event pattern for which the subscriber is subscribed is matched.
 

Method Detail

receiveEvent

public void receiveEvent(GaugeEvent event)
Called when an event pattern for which the subscriber is subscribed is matched.
Parameters:
event - The event that matched a particular pattern.