org.gridbus.broker.nws
Class NwsResult

java.lang.Object
  extended by org.gridbus.broker.nws.NwsResult

public class NwsResult
extends java.lang.Object

The NwsResult class represents the result of a NWS extract command.

Author:
Ding Choon Hoong (chd@students.cs.mu.oz.au)

Constructor Summary
NwsResult(java.lang.Object value, int timeStamp)
          Constructor for NwsResult
 
Method Summary
 int getTimeStamp()
          Returns the timestamp of the result
 java.lang.Object getValue()
          Returns the bandwidth value in the result
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NwsResult

public NwsResult(java.lang.Object value,
                 int timeStamp)
Constructor for NwsResult

Parameters:
value -
timeStamp -
Method Detail

getValue

public java.lang.Object getValue()
Returns the bandwidth value in the result

Returns:
bandwidth

getTimeStamp

public int getTimeStamp()
Returns the timestamp of the result

Returns:
timestamp