be.ac.ulg.montefiore.run.totem.scenario.model
Class ShowLinkLoad

java.lang.Object
  extended by be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.EventTypeImpl
      extended by be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.ASEventTypeImpl
          extended by be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.ShowLinkLoadTypeImpl
              extended by be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.ShowLinkLoadImpl
                  extended by be.ac.ulg.montefiore.run.totem.scenario.model.ShowLinkLoad
All Implemented Interfaces:
Event, ASEventType, EventType, ShowLinkLoad, ShowLinkLoadType, UnmarshallableObject, ValidatableObject, XMLSerializable, com.sun.xml.bind.JAXBObject, com.sun.xml.bind.RIElement, javax.xml.bind.Element

public class ShowLinkLoad
extends ShowLinkLoadImpl
implements Event

Calculates and displays the load associated with a LinkLoadComputer that is present is the manager. Load can be shown as aggregate information among all links, per link, per class of service depending on the parameters. Aggregate is shown only for up links. TODO: IPLoad and MPLS load are not displayed separetely

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

Creation date: 20/02/2008


Nested Class Summary
 
Nested classes/interfaces inherited from class be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.ShowLinkLoadImpl
ShowLinkLoadImpl.Unmarshaller
 
Field Summary
 
Fields inherited from class be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.ShowLinkLoadImpl
version
 
Fields inherited from class be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.ShowLinkLoadTypeImpl
_ClassOfService, _LinkId, _LlcId, _PerCos, _PerLink, has_PerCos, has_PerLink
 
Fields inherited from class be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.ASEventTypeImpl
_ASID, has_ASID
 
Fields inherited from class be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.EventTypeImpl
_Time
 
Constructor Summary
ShowLinkLoad()
           
ShowLinkLoad(int asId, boolean perLink)
          Creates a new ShowLinkLoad object.
ShowLinkLoad(int asId, java.lang.String llcId, boolean perLink)
          Creates a new ShowLinkLoad object.
ShowLinkLoad(Link link)
          Show the link load on a specified link for the default domain and the default linkLoadComputer
ShowLinkLoad(java.lang.String llcId, Link link)
          Show the link load on a specified link for the default domain and the given linkLoadComputer
 
Method Summary
 EventResult action()
          This method must be implemented by each event.
 
Methods inherited from class be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.ShowLinkLoadImpl
____jaxb_ri____getLocalName, ____jaxb_ri____getNamespaceURI, createRawValidator, createUnmarshaller, getPrimaryInterface, serializeAttributes, serializeBody, serializeURIs
 
Methods inherited from class be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.ShowLinkLoadTypeImpl
getClassOfService, getLinkId, getLlcId, isPerCos, isPerLink, isSetClassOfService, isSetLinkId, isSetLlcId, isSetPerCos, isSetPerLink, setClassOfService, setLinkId, setLlcId, setPerCos, setPerLink, unsetClassOfService, unsetLinkId, unsetLlcId, unsetPerCos, unsetPerLink
 
Methods inherited from class be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.ASEventTypeImpl
getASID, isSetASID, setASID, unsetASID
 
Methods inherited from class be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.EventTypeImpl
getTime, isSetTime, setTime, unsetTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.ShowLinkLoadType
getClassOfService, getLinkId, getLlcId, isPerCos, isPerLink, isSetClassOfService, isSetLinkId, isSetLlcId, isSetPerCos, isSetPerLink, setClassOfService, setLinkId, setLlcId, setPerCos, setPerLink, unsetClassOfService, unsetLinkId, unsetLlcId, unsetPerCos, unsetPerLink
 
Methods inherited from interface be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.ASEventType
getASID, isSetASID, setASID, unsetASID
 
Methods inherited from interface be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.EventType
getTime, isSetTime, setTime, unsetTime
 

Constructor Detail

ShowLinkLoad

public ShowLinkLoad()

ShowLinkLoad

public ShowLinkLoad(Link link)
Show the link load on a specified link for the default domain and the default linkLoadComputer

Parameters:
link -

ShowLinkLoad

public ShowLinkLoad(java.lang.String llcId,
                    Link link)
Show the link load on a specified link for the default domain and the given linkLoadComputer

Parameters:
llcId - The linkLoadComputer id from which to calculate load
link -

ShowLinkLoad

public ShowLinkLoad(int asId,
                    boolean perLink)
Creates a new ShowLinkLoad object. It will display the link load for all links in the domain identified by the given asId. If perLink is false, only aggregate information is shown.

Parameters:
asId -
perLink -

ShowLinkLoad

public ShowLinkLoad(int asId,
                    java.lang.String llcId,
                    boolean perLink)
Creates a new ShowLinkLoad object. It will display the link load for all links in the domain identified by the given asId. If perLink is false, only aggregate information is shown.

Parameters:
llcId -
asId -
perLink -
Method Detail

action

public EventResult action()
                   throws EventExecutionException
Description copied from interface: Event
This method must be implemented by each event. This method contains what must be done to process the event.

Specified by:
action in interface Event
Throws:
EventExecutionException


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