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.BaseLSPCreationTypeImpl
              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, BaseLSPCreationType, 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.BaseLSPCreationTypeImpl
BaseLSPCreationTypeImpl.AcceptedCosTypeImpl, BaseLSPCreationTypeImpl.DiffServTypeImpl, BaseLSPCreationTypeImpl.PathTypeImpl
 
Nested classes/interfaces inherited from interface be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.BaseLSPCreationType
BaseLSPCreationType.AcceptedCosType, BaseLSPCreationType.DiffServType, BaseLSPCreationType.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
_Dst, _Src
 
Fields inherited from class be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.BaseLSPCreationTypeImpl
_AcceptedCos, _Bw, _DiffServ, _EstablishLSP, _LspId, _MaxRate, _Metric, _Path, _RoutingAlgo, 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
getDst, getSrc, isSetDst, isSetSrc, setDst, setSrc, unsetDst, unsetSrc
 
Methods inherited from class be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.BaseLSPCreationTypeImpl
getAcceptedCos, getBw, getDiffServ, getLspId, getMaxRate, getMetric, getPath, getRoutingAlgo, isEstablishLSP, isSetAcceptedCos, isSetBw, isSetDiffServ, isSetEstablishLSP, isSetLspId, isSetMaxRate, isSetMetric, isSetPath, isSetRoutingAlgo, setAcceptedCos, setBw, setDiffServ, setEstablishLSP, setLspId, setMaxRate, setMetric, setPath, setRoutingAlgo, unsetAcceptedCos, unsetBw, unsetDiffServ, unsetEstablishLSP, unsetLspId, unsetMaxRate, unsetMetric, unsetPath, 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.LSPCreationType
getDst, getSrc, isSetDst, isSetSrc, setDst, setSrc, unsetDst, unsetSrc
 
Methods inherited from interface be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.BaseLSPCreationType
getAcceptedCos, getBw, getDiffServ, getLspId, getMaxRate, getMetric, getPath, getRoutingAlgo, isEstablishLSP, isSetAcceptedCos, isSetBw, isSetDiffServ, isSetEstablishLSP, isSetLspId, isSetMaxRate, isSetMetric, isSetPath, isSetRoutingAlgo, setAcceptedCos, setBw, setDiffServ, setEstablishLSP, setLspId, setMaxRate, setMetric, setPath, setRoutingAlgo, unsetAcceptedCos, unsetBw, unsetDiffServ, unsetEstablishLSP, unsetLspId, unsetMaxRate, unsetMetric, unsetPath, 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

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.