Class ReportNode

java.lang.Object
  extended by ReportNode

public class ReportNode
extends java.lang.Object

Data structure representing a single response to a monitoring command.

Version:
0.2
Author:
Glenn Matthews

Field Summary
 int clientID
          The identifier of the monitoring app that asked for this information.
 double simTime
          The simulation time at which this information was obtained.
 java.lang.String targetVar
          The identifier of the variable that was monitored.
 java.lang.String value
          The value that was obtained by monitoring.
 
Constructor Summary
ReportNode(java.lang.String val, double time, java.lang.String target, int client)
          Basic constructor.
 
Method Summary
 java.lang.String stringValue()
          Converts this structure to a String of the format "targetVar\r\nsimTime\r\nvalue".
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

public java.lang.String value
The value that was obtained by monitoring.


simTime

public double simTime
The simulation time at which this information was obtained.


targetVar

public java.lang.String targetVar
The identifier of the variable that was monitored.


clientID

public int clientID
The identifier of the monitoring app that asked for this information.

Constructor Detail

ReportNode

public ReportNode(java.lang.String val,
                  double time,
                  java.lang.String target,
                  int client)
Basic constructor.

Method Detail

stringValue

public java.lang.String stringValue()
Converts this structure to a String of the format "targetVar\r\nsimTime\r\nvalue".