be.ac.ulg.montefiore.run.totem.visualtopo.graph
Class ReservedBandwidthColorShower

java.lang.Object
  extended by be.ac.ulg.montefiore.run.totem.visualtopo.graph.ReservedBandwidthColorShower
All Implemented Interfaces:
LinkColorShower

public class ReservedBandwidthColorShower
extends java.lang.Object
implements LinkColorShower

Shows the reserved bandwidth of the links for a given class type It supposes that link use a Diffserv model with MaxBC=MaxCT (MAM model and Russian dolls are in this category).

Creation date: 16 mars 2006

Author:
Gaƫl Monfort (monfort@run.montefiore.ulg.ac.be)

Constructor Summary
ReservedBandwidthColorShower(int classType)
           
 
Method Summary
 float getColorValue(Link lnk)
          Returns the proportion of the links bandwidth that is reserved.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReservedBandwidthColorShower

public ReservedBandwidthColorShower(int classType)
Method Detail

getColorValue

public float getColorValue(Link lnk)
Returns the proportion of the links bandwidth that is reserved.

Specified by:
getColorValue in interface LinkColorShower
Parameters:
lnk -
Returns:


Copyright © 2004-2007 Research Unit in Networking, All Rights Reserved.