|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.ac.ulg.montefiore.run.totem.repository.model.LSPRoutingParameter
be.ac.ulg.montefiore.run.totem.repository.model.LSPDetourRoutingParameter
public final class LSPDetourRoutingParameter
This class specifies the information needed to compute a detour backup.
Creation date: 1-Jan-2004
Field Summary | |
---|---|
static int |
ALGORITHM_DEFAULT
Default method type or protection type. |
static int |
GLOBAL
Specifies a global method type. |
static int |
LINK_DISJOINT
Specifies a link disjoint protection type. |
static int |
LOCAL
Specifies a local method type. |
static int |
NODE_DISJOINT
Specifies a node disjoint protection type. |
Fields inherited from class be.ac.ulg.montefiore.run.totem.repository.model.LSPRoutingParameter |
---|
acceptedCos, bandwidth, isSetBandwidth, lspId, routingAlgorithmParams |
Constructor Summary | |
---|---|
LSPDetourRoutingParameter(java.lang.String lspId)
Initialises a newly created LSPDetourRoutingParameter object. |
Method Summary | |
---|---|
int |
getMethodType()
|
java.lang.String |
getProtectedLSP()
|
int |
getProtectionType()
|
void |
setMethodType(int methodType)
|
void |
setMethodType(java.lang.String methodType)
Sets the method type. |
void |
setProtectedLSP(java.lang.String protectedLSP)
|
void |
setProtectionType(int protectionType)
|
void |
setProtectionType(java.lang.String protectionType)
Sets the protection type. |
Methods inherited from class be.ac.ulg.montefiore.run.totem.repository.model.LSPRoutingParameter |
---|
getAcceptedCos, getBandwidth, getLspId, getRoutingAlgorithmParameter, isSetBandwidth, putAllRoutingAlgorithmParameter, putRoutingAlgorithmParameter, setAcceptedCos, setBandwidth, setLspId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int LOCAL
public static final int GLOBAL
public static final int NODE_DISJOINT
public static final int LINK_DISJOINT
public static final int ALGORITHM_DEFAULT
Constructor Detail |
---|
public LSPDetourRoutingParameter(java.lang.String lspId)
LSPDetourRoutingParameter
object.
lspId
- The ID of the LSP to create.Method Detail |
---|
public int getMethodType()
public void setMethodType(int methodType)
methodType
- The methodType to set. See the LOCAL
, GLOBAL
and
ALGORITHM_DEFAULT
constants.public void setMethodType(java.lang.String methodType)
methodType
- Allowed values are "LOCAL"
, "GLOBAL"
and "ALGORITHM_DEFAULT"
.public java.lang.String getProtectedLSP()
public void setProtectedLSP(java.lang.String protectedLSP)
protectedLSP
- The protectedLSP to set.public int getProtectionType()
public void setProtectionType(int protectionType)
protectionType
- The protectionType to set. See the NODE_DISJOINT
,
LINK_DISJOINT
and ALGORITHM_DEFAULT
constants.public void setProtectionType(java.lang.String protectionType)
protectionType
- Allowed values are "NODE_DISJOINT"
, "LINK_DISJOINT"
and "ALGORITHM_DEFAULT"
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |