1 package iotcode.interfaces;
4 import java.rmi.Remote;
5 import java.rmi.RemoteException;
8 import iotchecker.qual.NonLocalRemote;
10 /** Interface WeatherGatewayCallback for allowing callbacks from the PhoneGateway class.
12 * @author Rahmadi Trimananda <rahmadi.trimananda @ uci.edu>
17 public interface WeatherGatewayCallback extends Remote {
19 /** Callback method for when the information is retrieved.
21 * @param _wgw [WeatherGateway].
22 * @return [void] None.
24 public void informationRetrieved(@NonLocalRemote WeatherGateway _wgw) throws RemoteException;