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

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.ShowLinkReservationTypeImpl
              extended by be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.ShowLinkReservationImpl
                  extended by be.ac.ulg.montefiore.run.totem.scenario.model.ShowLinkReservation
All Implemented Interfaces:
Event, ASEventType, EventType, ShowLinkReservation, ShowLinkReservationType, UnmarshallableObject, ValidatableObject, XMLSerializable, com.sun.xml.bind.JAXBObject, com.sun.xml.bind.RIElement, javax.xml.bind.Element

public class ShowLinkReservation
extends ShowLinkReservationImpl
implements Event

Show the current reservation. Reservation can be shown as aggregate information among all links, per link, per class type, per priority level depending on the parameters.

Creation date: 19/02/2008

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

Nested Class Summary
 
Nested classes/interfaces inherited from class be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.ShowLinkReservationImpl
ShowLinkReservationImpl.Unmarshaller
 
Field Summary
 
Fields inherited from class be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.ShowLinkReservationImpl
version
 
Fields inherited from class be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.ShowLinkReservationTypeImpl
_ClassType, _LinkId, _PerCT, _PerLink, _PerPrio, _PreemptionLevel, has_ClassType, has_PerCT, has_PerLink, has_PerPrio, has_PreemptionLevel
 
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
ShowLinkReservation()
           
ShowLinkReservation(int asId, boolean perLink)
          Creates a new ShowLinkReservation object.
ShowLinkReservation(Link link)
          Show the link reservation on a specified link
 
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.ShowLinkReservationImpl
____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.ShowLinkReservationTypeImpl
getClassType, getLinkId, getPreemptionLevel, isPerCT, isPerLink, isPerPrio, isSetClassType, isSetLinkId, isSetPerCT, isSetPerLink, isSetPerPrio, isSetPreemptionLevel, setClassType, setLinkId, setPerCT, setPerLink, setPerPrio, setPreemptionLevel, unsetClassType, unsetLinkId, unsetPerCT, unsetPerLink, unsetPerPrio, unsetPreemptionLevel
 
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.ShowLinkReservationType
getClassType, getLinkId, getPreemptionLevel, isPerCT, isPerLink, isPerPrio, isSetClassType, isSetLinkId, isSetPerCT, isSetPerLink, isSetPerPrio, isSetPreemptionLevel, setClassType, setLinkId, setPerCT, setPerLink, setPerPrio, setPreemptionLevel, unsetClassType, unsetLinkId, unsetPerCT, unsetPerLink, unsetPerPrio, unsetPreemptionLevel
 
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

ShowLinkReservation

public ShowLinkReservation()

ShowLinkReservation

public ShowLinkReservation(Link link)
Show the link reservation on a specified link

Parameters:
link -

ShowLinkReservation

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

Parameters:
asId -
perLink -
Method Detail

action

public EventResult action()
                   throws EventExecutionException
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.