stella.rmi
Interface RmiDataCaster

All Superinterfaces:
Remote, RmiCaster
All Known Implementing Classes:
AverageSensor, BadSensor, CumulativeSensor, DataSensor, DerivativeSensor, DewPoint, FakeSensor, FakeSolZSensor, HealthSensor, KeystrokeSensor, MoxaSensor, NoiseSolZSensor, OneWireADSensor, OneWireRainSensor, OneWireSensor, ParameterSensor, PredictiveSensor, QuickDumpSensor, RS485RainSensor, RS485Sensor, SmoothingSensor, SolHeightSensor, SolZSensor, Ups, UpsSensor, WeatherSensor, WeirdSolZSensor

public interface RmiDataCaster
extends RmiCaster

The interface comprising the capabilities of adding and removing RMI-based data 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 addRmiDataListener(RmiDataListener ear)
          Registers a data event listener to this data event caster.
 void removeRmiDataListener(RmiDataListener ear)
          Deregisters a data event listener from this data 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

addRmiDataListener

void addRmiDataListener(RmiDataListener ear)
                        throws RemoteException
Registers a data event listener to this data event caster.

Throws:
RemoteException

removeRmiDataListener

void removeRmiDataListener(RmiDataListener ear)
                           throws RemoteException
Deregisters a data event listener from this data event caster

Throws:
RemoteException