urv.bwcalc
Class BwData

java.lang.Object
  extended by urv.bwcalc.BwData
All Implemented Interfaces:
java.io.Serializable

public class BwData
extends java.lang.Object
implements java.io.Serializable

This class encapsulates the bandwidth information of a node in a certain moment. This information is passed up through the protocol stack to manage and take advantage of this information

Author:
Marc Espelt
See Also:
Serialized Form

Constructor Summary
BwData()
           
 
Method Summary
 long getMaxIncomingBytes()
           
 long getMaxIncomingPackets()
           
 void setMaxIncomingBytes(long max_incoming_bytes)
           
 void setMaxIncomingPackets(long max_incoming_packets)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BwData

public BwData()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getMaxIncomingBytes

public long getMaxIncomingBytes()

getMaxIncomingPackets

public long getMaxIncomingPackets()

setMaxIncomingBytes

public void setMaxIncomingBytes(long max_incoming_bytes)

setMaxIncomingPackets

public void setMaxIncomingPackets(long max_incoming_packets)