be.ac.ulg.montefiore.run.totem.scenario.model
Class ShowLinkLoad
java.lang.Object
be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.EventTypeImpl
be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.ASEventTypeImpl
be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.ShowLinkLoadTypeImpl
be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.ShowLinkLoadImpl
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
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 |
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 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 |
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 loadlink
-
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
-
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.