stella.rmi
Interface RmiParameterClustering

All Superinterfaces:
Remote
All Known Implementing Classes:
AdapterMaster, AuxiliaryMaster, CalibrationMaster, DomeMaster, EnvironmentMaster, GenericMaster, GenericMaster.Standalone, MasterMind, ReadoutRepository, SensorRepository, SesMaster, ShelterMaster, TelescopeMaster, TestReceiver, WifsipMaster

public interface RmiParameterClustering
extends Remote

An interface defining the capabilities to remote-export parameter values. Only two methods are defined, for retrieving the value of a parameter with a given name and one method to retrieve a set of all parameter names monitored by this parameter cluster.


Method Summary
 void rmiAddParameter(URL resource)
          Adds a parameter that is loadable from the given resource.
 Object rmiGet(String name)
          Returns the value of the parameter with the given name.
 Set rmiGetAllParameterNames()
          Returns a set of all parameters monitored by this parameter cluster.
 void rmiRemoveParameter(String name)
          Removes the parameter with the given name.
 Object rmiSet(String name, Object to)
          Sets the value of the parameter of the given name to the specified value.
 

Method Detail

rmiGet

Object rmiGet(String name)
              throws RemoteException
Returns the value of the parameter with the given name. In most cases this will be either a Double-object or a Boolean-object.

Throws:
RemoteException

rmiSet

Object rmiSet(String name,
              Object to)
              throws RemoteException
Sets the value of the parameter of the given name to the specified value.

Returns:
The old parameter value.
Throws:
RemoteException

rmiGetAllParameterNames

Set rmiGetAllParameterNames()
                            throws RemoteException
Returns a set of all parameters monitored by this parameter cluster.

Throws:
RemoteException

rmiAddParameter

void rmiAddParameter(URL resource)
                     throws RemoteException
Adds a parameter that is loadable from the given resource.

Throws:
RemoteException

rmiRemoveParameter

void rmiRemoveParameter(String name)
                        throws RemoteException
Removes the parameter with the given name.

Throws:
RemoteException