SunSPOT API V6.0


com.sun.spot.resources.transducers
Interface IConditionListener


public interface IConditionListener

Implemented by classes wanting a call back when a condition on a sensor is met.

Author:
Ron Goldman

Method Summary
 void conditionMet(SensorEvent evt, Condition condition)
          Callback for when a Condition has been met.
 

Method Detail

conditionMet

void conditionMet(SensorEvent evt,
                  Condition condition)
Callback for when a Condition has been met.

Parameters:
evt - the SensorEvent object containing the sensor's state
condition - the triggering Condition object

SunSPOT API V6.0


Copyright © 2006-2010 Oracle. All Rights Reserved.