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

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

public class LSPBackupCreation
extends LSPBackupCreationImpl
implements Event

This class implements a LSP backup creation event.

Creation date: 02-d�c.-2004

Author:
Jean Lepropre (lepropre@run.montefiore.ulg.ac.be)

Nested Class Summary
 
Nested classes/interfaces inherited from class be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.LSPBackupCreationImpl
LSPBackupCreationImpl.Unmarshaller
 
Nested classes/interfaces inherited from class be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.LSPBackupCreationTypeImpl
LSPBackupCreationTypeImpl.BypassTypeImpl, LSPBackupCreationTypeImpl.DetourTypeImpl
 
Nested classes/interfaces inherited from interface be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.LSPBackupCreationType
LSPBackupCreationType.BypassType, LSPBackupCreationType.DetourType
 
Field Summary
 
Fields inherited from class be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.LSPBackupCreationImpl
version
 
Fields inherited from class be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.LSPBackupCreationTypeImpl
_Bw, _Bypass, _Detour, _LspId, _RoutingAlgo, has_Bw
 
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
LSPBackupCreation()
           
LSPBackupCreation(java.util.List protectedLinks, java.lang.String algoName, java.util.HashMap algoParams)
          Creates a new LSPBackupCreation element with a Bypass subelement.
LSPBackupCreation(java.util.List protectedLinks, java.lang.String algoName, java.util.HashMap algoParams, int asId)
           
LSPBackupCreation(java.lang.String lspId, float bw, java.util.List protectedLinks, java.lang.String algoName, java.util.HashMap algoParams)
          Creates a new LSPBackupCreation element with a Bypass subelement.
LSPBackupCreation(java.lang.String lspId, float bw, java.util.List protectedLinks, java.lang.String algoName, java.util.HashMap algoParams, int asId)
           
LSPBackupCreation(java.lang.String lspId, float bw, java.lang.String protectedLSP, MethodType methodType, ProtectionType protectionType, java.lang.String algoName, java.util.HashMap algoParams)
          Creates a new LSPBackupCreation element with a Detour subelement.
LSPBackupCreation(java.lang.String lspId, float bw, java.lang.String protectedLSP, MethodType methodType, ProtectionType protectionType, java.lang.String algoName, java.util.HashMap algoParams, int asId)
           
LSPBackupCreation(java.lang.String lspId, float bw, java.lang.String protectedLSP, java.lang.String algoName, java.util.HashMap algoParams)
          Creates a new LSPBackupCreation element with a Detour subelement.
LSPBackupCreation(java.lang.String lspId, float bw, java.lang.String protectedLSP, java.lang.String algoName, java.util.HashMap algoParams, int asId)
           
LSPBackupCreation(java.lang.String protectedLSP, java.lang.String algoName, java.util.HashMap algoParams)
          Creates a new LSPBackupCreation element with a Detour subelement.
LSPBackupCreation(java.lang.String protectedLSP, java.lang.String algoName, java.util.HashMap algoParams, int asId)
           
 
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.LSPBackupCreationImpl
____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.LSPBackupCreationTypeImpl
getBw, getBypass, getDetour, getLspId, getRoutingAlgo, isSetBw, isSetBypass, isSetDetour, isSetLspId, isSetRoutingAlgo, setBw, setBypass, setDetour, setLspId, setRoutingAlgo, unsetBw, unsetBypass, unsetDetour, unsetLspId, unsetRoutingAlgo
 
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.LSPBackupCreationType
getBw, getBypass, getDetour, getLspId, getRoutingAlgo, isSetBw, isSetBypass, isSetDetour, isSetLspId, isSetRoutingAlgo, setBw, setBypass, setDetour, setLspId, setRoutingAlgo, unsetBw, unsetBypass, unsetDetour, unsetLspId, unsetRoutingAlgo
 
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

LSPBackupCreation

public LSPBackupCreation()

LSPBackupCreation

public LSPBackupCreation(java.lang.String protectedLSP,
                         java.lang.String algoName,
                         java.util.HashMap algoParams)
Creates a new LSPBackupCreation element with a Detour subelement. Note that algoParams can be null.


LSPBackupCreation

public LSPBackupCreation(java.lang.String protectedLSP,
                         java.lang.String algoName,
                         java.util.HashMap algoParams,
                         int asId)

LSPBackupCreation

public LSPBackupCreation(java.lang.String lspId,
                         float bw,
                         java.lang.String protectedLSP,
                         java.lang.String algoName,
                         java.util.HashMap algoParams)
Creates a new LSPBackupCreation element with a Detour subelement. Note that algoParams can be null.


LSPBackupCreation

public LSPBackupCreation(java.lang.String lspId,
                         float bw,
                         java.lang.String protectedLSP,
                         java.lang.String algoName,
                         java.util.HashMap algoParams,
                         int asId)

LSPBackupCreation

public LSPBackupCreation(java.lang.String lspId,
                         float bw,
                         java.lang.String protectedLSP,
                         MethodType methodType,
                         ProtectionType protectionType,
                         java.lang.String algoName,
                         java.util.HashMap algoParams)
Creates a new LSPBackupCreation element with a Detour subelement. Note that algoParams can be null.


LSPBackupCreation

public LSPBackupCreation(java.lang.String lspId,
                         float bw,
                         java.lang.String protectedLSP,
                         MethodType methodType,
                         ProtectionType protectionType,
                         java.lang.String algoName,
                         java.util.HashMap algoParams,
                         int asId)

LSPBackupCreation

public LSPBackupCreation(java.util.List protectedLinks,
                         java.lang.String algoName,
                         java.util.HashMap algoParams)
Creates a new LSPBackupCreation element with a Bypass subelement. Note that algoParams can be null and the list must contain the IDs of the protected links.


LSPBackupCreation

public LSPBackupCreation(java.util.List protectedLinks,
                         java.lang.String algoName,
                         java.util.HashMap algoParams,
                         int asId)

LSPBackupCreation

public LSPBackupCreation(java.lang.String lspId,
                         float bw,
                         java.util.List protectedLinks,
                         java.lang.String algoName,
                         java.util.HashMap algoParams)
Creates a new LSPBackupCreation element with a Bypass subelement. Note that algoParams can be null and the list must contain the IDs of the protected links.


LSPBackupCreation

public LSPBackupCreation(java.lang.String lspId,
                         float bw,
                         java.util.List protectedLinks,
                         java.lang.String algoName,
                         java.util.HashMap algoParams,
                         int asId)
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
See Also:
Event.action()


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