be.ac.ulg.montefiore.run.totem.trafficMatrix.model
Interface MPLSLoadData

All Superinterfaces:
LoadData
All Known Subinterfaces:
CosMPLSLoadData, HybridLoadData
All Known Implementing Classes:
SettableCosMPLSLoadData, SettableHybridLoadData

public interface MPLSLoadData
extends LoadData

Represent a view of the computed mpls load for links in a domain (traffic that is routed on LSPs).

Creation date: 28/01/2008

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

Method Summary
 double[] getMPLSLoad()
          Same as LoadData.getLoad() but returns the only the mpls load (traffic that is routed on LSPs).
 double getMPLSLoad(Link link)
          Same as LoadData.getLoad(be.ac.ulg.montefiore.run.totem.domain.model.Link) but returns the only the mpls load (traffic that is routed on LSPs).
 double getMPLSLoad(Lsp lsp)
          Returns an newly created array that represent load on the lsp.
 
Methods inherited from interface be.ac.ulg.montefiore.run.totem.trafficMatrix.model.LoadData
addListener, getDroppedTraffic, getDroppedTraffic, getDroppedTrafficMatrix, getDroppedTrafficMatrix, getLoad, getLoad, getUtilization, getUtilization, notifyDataChange, removeListener
 

Method Detail

getMPLSLoad

double getMPLSLoad(Link link)
Same as LoadData.getLoad(be.ac.ulg.montefiore.run.totem.domain.model.Link) but returns the only the mpls load (traffic that is routed on LSPs).

Parameters:
link -
Returns:

getMPLSLoad

double[] getMPLSLoad()
Same as LoadData.getLoad() but returns the only the mpls load (traffic that is routed on LSPs).

Returns:

getMPLSLoad

double getMPLSLoad(Lsp lsp)
Returns an newly created array that represent load on the lsp. For each lsp lsp in the domain, the corresponding load is located at the index domain.getConvertor().getLspId(lsp.getId()) of the returned array. The load corresponds to the traffic routed on the working path (Lsp.getWorkingPath()) of the lsp at the moment of creation of the data. It is to the user to ensure that the working path hasn't changed since.

Parameters:
lsp -
Returns:
links load for all links in the domain.


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