stella.rmi
Interface RmiWeatherCaster

All Superinterfaces:
Remote, RmiCaster
All Known Subinterfaces:
RmiWeatherReporting
All Known Implementing Classes:
SimulatorWeather, WeatherStation

public interface RmiWeatherCaster
extends RmiCaster

The interface comprising the capabilities of adding and removing RMI-based weather listneres. The arguments to this methods must be of a Remote instance to be passed to the server as reference.


Field Summary
static String NAMING_EXTENSION
          The string added to the sensor process name for the naming service.
 
Method Summary
 void addRmiWeatherListener(RmiWeatherListener ear)
          Registers a weather event listener to this weather event caster.
 void removeRmiWeatherListener(RmiWeatherListener ear)
          Deregisters a weather event listener from this weather event caster
 
Methods inherited from interface util.rmi.RmiCaster
bindToRegistry, isValid, unbindFromRegistry
 

Field Detail

NAMING_EXTENSION

static final String NAMING_EXTENSION
The string added to the sensor process name for the naming service.

See Also:
Constant Field Values
Method Detail

addRmiWeatherListener

void addRmiWeatherListener(RmiWeatherListener ear)
                           throws RemoteException
Registers a weather event listener to this weather event caster.

Throws:
RemoteException

removeRmiWeatherListener

void removeRmiWeatherListener(RmiWeatherListener ear)
                              throws RemoteException
Deregisters a weather event listener from this weather event caster

Throws:
RemoteException