stella.rmi
Interface RmiErrorCaster

All Superinterfaces:
Remote, RmiCaster
All Known Implementing Classes:
AbstractRmiCasterAndListener, AbstractSensor, AdapterCaster, AdapterMaster, AdapterSimulator, AdapterTelescopeCaster, AuxiliaryCaster, AuxiliaryMaster, AuxiliarySimulator, AverageSensor, BadSensor, CalibrationCaster, CalibrationMaster, CalibrationSimulator, CasterClient, CasterTorso, CCDCaster, CommandReceiver, CumulativeSensor, DataSensor, DerivativeSensor, DeviceSimulator, DewPoint, DistinctCaster, DomeMaster, DomeSimulator, EnvironmentCaster, EnvironmentMaster, EnvironmentSimulator, ErrorReceiver, ErrorServer, FakeSensor, FakeSolZSensor, GenericMaster, GenericMaster.Standalone, GenericSimulator, GregorTelescopeCaster, HealthSensor, KeystrokeSensor, MasterLauncher, MasterMind, MoxaSensor, NoiseSolZSensor, OneWireADSensor, OneWireRainSensor, OneWireSensor, ParameterSensor, ParameterServer, PilarTelescopeCaster, PredictiveSensor, QuickDumpSensor, ReceiverTorso, RS485RainSensor, RS485Sensor, SesMaster, SesSimulator, ShelterMaster, SmoothingSensor, SolHeightSensor, SolZSensor, SpectrographCaster, TelescopeAuxiliaryCaster, TelescopeCaster, TelescopeClient, TelescopeMaster, TelescopeSimulator, TestCaster, TestCaster, TestReceiver, TestReceiver, TimerTaskSensor, Ups, UpsSensor, WeatherSensor, WeirdSolZSensor, WifsipCaster, WifsipMaster, WifsipSimulator, WifsipTelescopeCaster

public interface RmiErrorCaster
extends RmiCaster

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


Method Summary
 void addRmiErrorListener(RmiErrorListener ear)
          Registers an error event listener to this error event caster.
 void removeRmiErrorListener(RmiErrorListener ear)
          Deregisters an error event listener from this error event caster
 
Methods inherited from interface util.rmi.RmiCaster
bindToRegistry, isValid, unbindFromRegistry
 

Method Detail

addRmiErrorListener

void addRmiErrorListener(RmiErrorListener ear)
                         throws RemoteException
Registers an error event listener to this error event caster. If the caster is able to send status commands, the current status should be sent to the newly added listener.

Throws:
RemoteException

removeRmiErrorListener

void removeRmiErrorListener(RmiErrorListener ear)
                            throws RemoteException
Deregisters an error event listener from this error event caster

Throws:
RemoteException