eu.reservoir.monitoring.core.plane
Interface ControlService

All Known Subinterfaces:
ControlPlane, DataSourceDelegate
All Known Implementing Classes:
DefaultDataSourceDelegate

public interface ControlService

An interface for control. TODO: Determine the methods of the ControlService.


Method Summary
 boolean activateProbe(ID probeID)
          Activate the probe
 boolean deactivateProbe(ID probeID)
          Deactivate the probe
 java.lang.String getDataSourceName()
          Get the name of the DataSource
 Rational getProbeDataRate(ID probeID)
          Get the data rate for a Probe The data rate is a Rational.
 ID getProbeGroupID(ID probeID)
          Get the Group ID of the Probe.
 Measurement getProbeLastMeasurement(ID probeID)
          Get the last measurement that was collected.
 Timestamp getProbeLastMeasurementCollection(ID probeID)
          Get the last time a measurement was collected.
 java.lang.String getProbeName(ID probeID)
          Get the name of the Probe
 ID getProbeServiceID(ID probeID)
          Get the Service ID of the Probe.
 boolean isProbeActive(ID probeID)
          Has this probe been activated.
 boolean isProbeOn(ID probeID)
          Is this Probe turned on.
 boolean setDataSourceName(java.lang.String name)
          Set the name of the DataSource
 boolean setProbeDataRate(ID probeID, Rational dataRate)
          Set the data rate for a Probe The data rate is a Rational.
 boolean setProbeGroupID(ID probeID, ID id)
          Set the Group ID for a Probe
 boolean setProbeName(ID probeID, java.lang.String name)
          Set the name of the Probe
 boolean setProbeServiceID(ID probeID, ID id)
          Set the Service ID for a Probe
 boolean turnOffProbe(ID probeID)
          Turn off a Probe
 boolean turnOnProbe(ID probeID)
          Turn on a Probe
 

Method Detail

getProbeName

java.lang.String getProbeName(ID probeID)
Get the name of the Probe


setProbeName

boolean setProbeName(ID probeID,
                     java.lang.String name)
Set the name of the Probe


getProbeServiceID

ID getProbeServiceID(ID probeID)
Get the Service ID of the Probe.


setProbeServiceID

boolean setProbeServiceID(ID probeID,
                          ID id)
Set the Service ID for a Probe


getProbeGroupID

ID getProbeGroupID(ID probeID)
Get the Group ID of the Probe.


setProbeGroupID

boolean setProbeGroupID(ID probeID,
                        ID id)
Set the Group ID for a Probe


getProbeDataRate

Rational getProbeDataRate(ID probeID)
Get the data rate for a Probe The data rate is a Rational. Specified in measurements per hour


setProbeDataRate

boolean setProbeDataRate(ID probeID,
                         Rational dataRate)
Set the data rate for a Probe The data rate is a Rational. Specified in measurements per hour


getProbeLastMeasurement

Measurement getProbeLastMeasurement(ID probeID)
Get the last measurement that was collected.


getProbeLastMeasurementCollection

Timestamp getProbeLastMeasurementCollection(ID probeID)
Get the last time a measurement was collected.


turnOnProbe

boolean turnOnProbe(ID probeID)
Turn on a Probe


turnOffProbe

boolean turnOffProbe(ID probeID)
Turn off a Probe


isProbeOn

boolean isProbeOn(ID probeID)
Is this Probe turned on. The thread is running, but is the Probe getting values.


activateProbe

boolean activateProbe(ID probeID)
Activate the probe


deactivateProbe

boolean deactivateProbe(ID probeID)
Deactivate the probe


isProbeActive

boolean isProbeActive(ID probeID)
Has this probe been activated. Is the thread associated with a Probe acutally running.


getDataSourceName

java.lang.String getDataSourceName()
Get the name of the DataSource


setDataSourceName

boolean setDataSourceName(java.lang.String name)
Set the name of the DataSource



RESERVOIR Monitoring 0.6.4