be.ac.ulg.montefiore.run.totem.scenario.model
Class LSPCreation
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.BaseLSPCreationTypeImpl
be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.LSPCreationTypeImpl
be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.LSPCreationImpl
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)
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.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.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 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.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 |
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.
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.