1 package IrrigationController;
3 /** Interface MotionDetectionCallback for allowing callbacks from the MotionDetection class.
6 * @author Ali Younis <ayounis @ uci.edu>
11 // Checker annotations
12 import java.rmi.Remote;
13 import java.rmi.RemoteException;
16 public interface MotionDetectionCallback extends Remote {
18 /** Callback method for when motion is detected.
20 * @param _md [MotionDetection].
22 * @return [void] None.
24 //public void motionDetected(@NonLocalRemote MotionDetection _wg) throws RemoteException;
25 public void motionDetected(long timeStampOfLastMotion) throws RemoteException;