stella
Interface EventTrigger

All Superinterfaces:
EventListener
All Known Implementing Classes:
AbstractFitsParameter, AbstractFitsValue, Blinker, Efficiency, FitsMoments, SignalToNoise, SimpleEventTrigger, SwitchTrigger, WeatherTrigger

public interface EventTrigger
extends EventListener

A interface indicating that a (possible) trigger is linked to listening to an event, e.g. a weather trigger. Because event listening will change the trigger at random, this interface defines a method to register an object instance to the trigger. If this trigger respondes it should notify the (probalby) sleeping object of the trigger update via a call to notifyAll().


Method Summary
 Object registerMonitor(Object waiter)
          Registers the object to wake up on trigger events.
 

Method Detail

registerMonitor

Object registerMonitor(Object waiter)
Registers the object to wake up on trigger events.