Adding debug messages on slave to print info for designing C++ slave part
[iot2.git] / benchmarks / original_interfaces / MoistureSensorCallback.java
1 package iotcode.interfaces;
2
3 // RMI Packages
4 import java.rmi.Remote;
5 import java.rmi.RemoteException;
6
7 // Checker annotations
8 import iotchecker.qual.*;
9
10
11 /** Camera Callback for when a camera changes state (new frame available).
12  *
13  * @author      Ali Younis <ayounis @ uci.edu>
14  * @version     1.0
15  * @since       2016-01-27
16  */
17
18 public interface MoistureSensorCallback extends Remote {
19
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.
23          *
24          *   @param _sensor [MoistureSensor] .
25          *
26          *   @return [void] None.
27          */
28         public void newReadingAvailable(@NonLocalRemote MoistureSensor _sensor) throws RemoteException;
29 }