stella.io
Interface CacheChangedListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
EnvironmentMaster, LightSwitch, RS485RainSensor, SwitchTrigger

public interface CacheChangedListener
extends EventListener

The interface describing objects interested in receiving notification if the value (i.e. the serial reply) mapped to a specific key (i.e. a serial command) has changed. Principal interest is for objects that read digital switches. Note that during registering, a listener must additionally specify to which key it want to listen to.


Method Summary
 void newValue(CacheChangedEvent cce)
          The caster of an cache changed event passes the event to this method.
 

Method Detail

newValue

void newValue(CacheChangedEvent cce)
The caster of an cache changed event passes the event to this method.