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

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

public class LSPCreation
extends LSPCreationImpl
implements Event

TODO: implement loose routes. This class implements a LSP creation event.

Creation date: 01-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.LSPCreationImpl
LSPCreationImpl.Unmarshaller
 
Nested classes/interfaces inherited from class be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.LSPCreationTypeImpl
LSPCreationTypeImpl.DiffServTypeImpl, LSPCreationTypeImpl.PathTypeImpl
 
Nested classes/interfaces inherited from interface be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.LSPCreationType
LSPCreationType.DiffServType, LSPCreationType.PathType
 
Field Summary
 
Fields inherited from class be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.LSPCreationImpl
version
 
Fields inherited from class be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.LSPCreationTypeImpl
_Bw, _DiffServ, _Dst, _EstablishLSP, _LspId, _MaxRate, _Metric, _Path, _RoutingAlgo, _Src, has_Bw, has_EstablishLSP, has_MaxRate, has_Metric
 
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
LSPCreation()
           
LSPCreation(java.lang.String srcNode, java.lang.String dstNode, java.lang.String lspId, float bw, float metric, float maxRate, int classType, int setup, int holding, java.lang.String algoName, java.util.HashMap algoParams)
          Creates a new LSPCreation element.
LSPCreation(java.lang.String srcNode, java.lang.String dstNode, java.lang.String lspId, float bw, java.lang.String algoName, java.util.HashMap algoParams)
          Creates a new LSPCreation element.
LSPCreation(java.lang.String srcNode, java.lang.String dstNode, java.lang.String algoName, java.util.HashMap algoParams)
          Creates a new LSPCreation element.
LSPCreation(java.lang.String srcNode, java.lang.String dstNode, java.lang.String lspId, java.lang.String algoName, java.util.HashMap algoParams)
          Creates a new LSPCreation element.
 
Method Summary
 EventResult action()
          This action will create an LSP on the domain specifies by the ASID or if not define on the default domain
 
Methods inherited from class be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.LSPCreationImpl
____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.LSPCreationTypeImpl
getBw, getDiffServ, getDst, getLspId, getMaxRate, getMetric, getPath, getRoutingAlgo, getSrc, isEstablishLSP, isSetBw, isSetDiffServ, isSetDst, isSetEstablishLSP, isSetLspId, isSetMaxRate, isSetMetric, isSetPath, isSetRoutingAlgo, isSetSrc, setBw, setDiffServ, setDst, setEstablishLSP, setLspId, setMaxRate, setMetric, setPath, setRoutingAlgo, setSrc, unsetBw, unsetDiffServ, unsetDst, unsetEstablishLSP, unsetLspId, unsetMaxRate, unsetMetric, unsetPath, unsetRoutingAlgo, unsetSrc
 
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.LSPCreationType
getBw, getDiffServ, getDst, getLspId, getMaxRate, getMetric, getPath, getRoutingAlgo, getSrc, isEstablishLSP, isSetBw, isSetDiffServ, isSetDst, isSetEstablishLSP, isSetLspId, isSetMaxRate, isSetMetric, isSetPath, isSetRoutingAlgo, isSetSrc, setBw, setDiffServ, setDst, setEstablishLSP, setLspId, setMaxRate, setMetric, setPath, setRoutingAlgo, setSrc, unsetBw, unsetDiffServ, unsetDst, unsetEstablishLSP, unsetLspId, unsetMaxRate, unsetMetric, unsetPath, unsetRoutingAlgo, unsetSrc
 
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

LSPCreation

public LSPCreation()

LSPCreation

public LSPCreation(java.lang.String srcNode,
                   java.lang.String dstNode,
                   java.lang.String algoName,
                   java.util.HashMap algoParams)
Creates a new LSPCreation element. Note that algoParams can be null.


LSPCreation

public LSPCreation(java.lang.String srcNode,
                   java.lang.String dstNode,
                   java.lang.String lspId,
                   java.lang.String algoName,
                   java.util.HashMap algoParams)
Creates a new LSPCreation element. Note that algoParams can be null.


LSPCreation

public LSPCreation(java.lang.String srcNode,
                   java.lang.String dstNode,
                   java.lang.String lspId,
                   float bw,
                   java.lang.String algoName,
                   java.util.HashMap algoParams)
Creates a new LSPCreation element. Note that algoParams can be null.


LSPCreation

public LSPCreation(java.lang.String srcNode,
                   java.lang.String dstNode,
                   java.lang.String lspId,
                   float bw,
                   float metric,
                   float maxRate,
                   int classType,
                   int setup,
                   int holding,
                   java.lang.String algoName,
                   java.util.HashMap algoParams)
Creates a new LSPCreation element. Note that algoParams can be null.

Method Detail

action

public EventResult action()
                   throws EventExecutionException
This action will create an LSP on the domain specifies by the ASID or if not define on the default domain

Specified by:
action in interface Event
Throws:
EventExecutionException
See Also:
Event.action()


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