1 package iotcode.interfaces;
4 import java.rmi.Remote;
5 import java.rmi.RemoteException;
8 import iotchecker.qual.NonLocalRemote;
10 /** Camera Callback for when a camera changes state (new frame available).
12 * @author Ali Younis <ayounis @ uci.edu>
17 public interface CameraCallback extends Remote {
19 /** Callback method for when a new camera frame is available.
20 * Called when a new frame is ready by the camera and the camera
21 * can be checked for the frame data.
23 * @param _camera [Camera] .
25 * @return [void] None.
27 public void newCameraFrameAvailable(@NonLocalRemote Camera _camera) throws RemoteException;