1 package iotcode.interfaces;
4 import java.rmi.Remote;
5 import java.rmi.RemoteException;
8 import iotchecker.qual.NonLocalRemote;
10 /** Interface GPSGatewayCallback for allowing callbacks from the GPSGateway class.
12 * @author Rahmadi Trimananda <rahmadi.trimananda @ uci.edu>
17 public interface GPSGatewayCallback extends Remote {
19 /** Callback method for when room ID is retrieved.
21 * @param _wgw [GPSGateway].
22 * @return [void] None.
24 public void newRoomIDRetrieved(@NonLocalRemote GPSGateway _wgw) throws RemoteException;
26 /** Callback method for when ring status is retrieved.
28 * @param _wgw [GPSGateway].
29 * @return [void] None.
31 public void newRingStatusRetrieved(@NonLocalRemote GPSGateway _wgw) throws RemoteException;