com.dracoware.rsplib
Class RspModule

java.lang.Object
  extended by com.dracoware.rsplib.RspModule

public class RspModule
extends java.lang.Object

This class details the information about a single module (as reported by that module and transferred via an rspd). Usually there is a sequence of modules returned by a single rspd.


Method Summary
 java.lang.String getData()
          Returns the data reported by this module.
 java.util.Vector getGraphData()
          Returns a Vector of RspGraphReturnData classes for each piece of graph data currently set for this module.
 java.lang.String getName()
          Returns the name of this module.
 java.util.Vector getThresholds()
          Returns a Vector of RspThreshold classes for each threshold related to the module.
 boolean threshCrossed()
          Returns true if this module has determined a threshold has been crossed (and false otherwise)
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getThresholds

public java.util.Vector getThresholds()
Returns a Vector of RspThreshold classes for each threshold related to the module.

Returns:
A Vector of RspThreshold instances.

getGraphData

public java.util.Vector getGraphData()
Returns a Vector of RspGraphReturnData classes for each piece of graph data currently set for this module.

Returns:
A Vector of RspGraphReturnData instances.

getName

public java.lang.String getName()
Returns the name of this module.

Returns:
The name of this module.

getData

public java.lang.String getData()
Returns the data reported by this module.

Returns:
The data reported by this module.

threshCrossed

public boolean threshCrossed()
Returns true if this module has determined a threshold has been crossed (and false otherwise)

Returns:
true if this module has determined a threshold has been crossed (and false otherwise)