be.ac.ulg.montefiore.run.totem.repository.model
Class LSPPrimaryRoutingParameter
java.lang.Object
be.ac.ulg.montefiore.run.totem.repository.model.LSPRoutingParameter
be.ac.ulg.montefiore.run.totem.repository.model.LSPPrimaryRoutingParameter
public final class LSPPrimaryRoutingParameter
- extends LSPRoutingParameter
This class specifies the information needed to compute a primary LSP.
Creation date: 1-Jan-2004
- Author:
- Fabian Skivee (skivee@run.montefiore.ulg.ac.be)
Constructor Summary |
LSPPrimaryRoutingParameter(java.lang.String srcNode,
java.lang.String dstNode,
java.lang.String lspId)
Creates a new instance of LSPPrimaryRoutingParameter . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LSPPrimaryRoutingParameter
public LSPPrimaryRoutingParameter(java.lang.String srcNode,
java.lang.String dstNode,
java.lang.String lspId)
- Creates a new instance of
LSPPrimaryRoutingParameter
.
- Parameters:
srcNode
- The source ID of the LSP to create.dstNode
- The destination ID of the LSP to create.
getClassType
public int getClassType()
- Returns:
- Returns the classType if set, 0 otherwise.
setClassType
public void setClassType(int classType)
- Parameters:
classType
- The classType to set.
isSetClassType
public boolean isSetClassType()
- Returns:
- true if the classType is set, false otherwise.
getDstNode
public java.lang.String getDstNode()
- Returns:
- Returns the dstNode.
setDstNode
public void setDstNode(java.lang.String dstNode)
- Parameters:
dstNode
- The dstNode to set.
getHolding
public int getHolding()
- Returns:
- Returns the holding preemption level if sef, 0 otherwise.
setHolding
public void setHolding(int holding)
- Parameters:
holding
- The holding to set.
isSetHolding
public boolean isSetHolding()
- Returns:
- True if the holding preemption level is set, false otherwise.
getMaxRate
public float getMaxRate()
- Returns:
- Returns the maxRate.
setMaxRate
public void setMaxRate(float maxRate)
- Parameters:
maxRate
- The maxRate to set.
isSetMaxRate
public boolean isSetMaxRate()
getMetric
public float getMetric()
- Returns:
- Returns the metric.
setMetric
public void setMetric(float metric)
- Parameters:
metric
- The metric to set.
isSetMetric
public boolean isSetMetric()
getSetup
public int getSetup()
- Returns:
- Returns the setup preemption level if set, 0 otherwise.
setSetup
public void setSetup(int setup)
- Parameters:
setup
- The setup to set.
isSetSetup
public boolean isSetSetup()
- Returns:
- true if the setup is set
getSrcNode
public java.lang.String getSrcNode()
- Returns:
- Returns the srcNode.
setSrcNode
public void setSrcNode(java.lang.String srcNode)
- Parameters:
srcNode
- The srcNode to set.
Copyright © 2004-2007 Research Unit in Networking, All Rights Reserved.