stella.rmi
Interface RemoteParameter

All Superinterfaces:
Remote, RmiCaster
All Known Subinterfaces:
RemoteFitsParameter, RemoteLight, RemoteSwitch, RemoteTrigger
All Known Implementing Classes:
AbstractCCDParameter, AbstractCCDValue, AbstractFitsParameter, AbstractFitsValue, AbstractRemoteParameter, AbstractRemoteSwitch, AbstractRemoteTrigger, AbstractRemoteValue, CCDLn2Temp, CCDRefTemp, CCDTemp, Efficiency, ExposureCount, FitsMoments, HeadPressure, JFrameParameter, ParameterSkeleton, RoofTrigger, ShelterTrigger, SignalToNoise, SimpleRemoteSwitch, SimpleRemoteTrigger, SimpleRemoteValue, SwitchRelay, SwitchSkeleton, TriggerSkeleton, Unique, WeatherRemainsBad, WeatherTrigger

public interface RemoteParameter
extends RmiCaster

The Parameter interface to work with remote querry options. Note that only the querry-mode of the parameter has its remote counterpart. Setting the global value or registering other globals for required additional information is intended for local use only.


Method Summary
 void addRmiListener(RmiListener ear)
          Delivers the remote parameter a reference to a listening parameter.
 Object remoteGet()
          Retrieves the parameter value using RMI.
 void removeRmiListener(RmiListener ear)
          Removes the remote parameter reference from the notification-on-exit list.
 
Methods inherited from interface util.rmi.RmiCaster
bindToRegistry, isValid, unbindFromRegistry
 

Method Detail

remoteGet

Object remoteGet()
                 throws RemoteException
Retrieves the parameter value using RMI.

Throws:
RemoteException

addRmiListener

void addRmiListener(RmiListener ear)
                    throws RemoteException
Delivers the remote parameter a reference to a listening parameter. If the remote parameter has to exit, it should signal that to its parameters via the RmiListener.disconnect(util.rmi.RmiCaster) method.

Throws:
RemoteException

removeRmiListener

void removeRmiListener(RmiListener ear)
                       throws RemoteException
Removes the remote parameter reference from the notification-on-exit list.

Throws:
RemoteException