1 package iotcode.interfaces;
4 import java.rmi.Remote;
5 import java.rmi.RemoteException;
8 import iotchecker.qual.*;
11 /** Camera Callback for when a camera changes state (new frame available).
13 * @author Ali Younis <ayounis @ uci.edu>
18 public interface MoistureSensorCallback extends Remote {
20 /** Callback method for when a new moisture reading is available.
21 * Called when a new reading is ready by the sensor and the sensor
22 * can be checked for the frame data.
24 * @param _sensor [MoistureSensor] .
26 * @return [void] None.
28 public void newReadingAvailable(@NonLocalRemote MoistureSensor _sensor) throws RemoteException;