org.inria.myriads.snoozecommon.communication.virtualcluster.monitoring
Class NetworkDemand

java.lang.Object
  extended by org.inria.myriads.snoozecommon.communication.virtualcluster.monitoring.NetworkDemand
All Implemented Interfaces:
Serializable

public final class NetworkDemand
extends Object
implements Serializable

Network demand.

Author:
Eugen Feller
See Also:
Serialized Form

Constructor Summary
NetworkDemand()
          Empty constructor.
NetworkDemand(double rxBytes, double txBytes)
          Constructor.
 
Method Summary
 double getRxBytes()
          Returns the Rx bytes.
 double getTxBytes()
          Returns the Tx bytes.
 void setRxBytes(double rxBytes)
          Sets the Rx bytes.
 void setTxBytes(double txBytes)
          Sets the Tx bytes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetworkDemand

public NetworkDemand()
Empty constructor.


NetworkDemand

public NetworkDemand(double rxBytes,
                     double txBytes)
Constructor.

Parameters:
rxBytes - The number of rxbytes
txBytes - The number of txBytes
Method Detail

setRxBytes

public void setRxBytes(double rxBytes)
Sets the Rx bytes.

Parameters:
rxBytes - The Rx bytes

setTxBytes

public void setTxBytes(double txBytes)
Sets the Tx bytes.

Parameters:
txBytes - The Tx bytes

getRxBytes

public double getRxBytes()
Returns the Rx bytes.

Returns:
The Rx byres

getTxBytes

public double getTxBytes()
Returns the Tx bytes.

Returns:
The Tx byres


Copyright © 2012. All Rights Reserved.