d7dfb8345985c2bd4897d4073b5e92b049fdd7c2
[iot2.git] / benchmarks / IrrigationController / MotionDetectionCallback.java
1 package IrrigationController;
2
3 /** Interface MotionDetectionCallback for allowing callbacks from the MotionDetection class.
4  *
5  *
6  * @author      Ali Younis <ayounis @ uci.edu>
7  * @version     1.0
8  * @since       2016-03-21
9  */
10
11 // Checker annotations
12 import java.rmi.Remote;
13 import java.rmi.RemoteException;
14
15
16 public interface MotionDetectionCallback extends Remote {
17
18         /** Callback method for when motion is detected.
19          *
20          *   @param _md [MotionDetection].
21          *
22          *   @return [void] None.
23          */
24         //public void motionDetected(@NonLocalRemote MotionDetection _wg) throws RemoteException;
25         public void motionDetected(long timeStampOfLastMotion) throws RemoteException;
26 }