be.ac.ulg.montefiore.run.totem.repository.model
Class LSPPrimaryRoutingParameter

java.lang.Object
  extended by be.ac.ulg.montefiore.run.totem.repository.model.LSPRoutingParameter
      extended by 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)

Field Summary
 
Fields inherited from class be.ac.ulg.montefiore.run.totem.repository.model.LSPRoutingParameter
bandwidth, lspId, routingAlgorithmParams
 
Constructor Summary
LSPPrimaryRoutingParameter(java.lang.String srcNode, java.lang.String dstNode, java.lang.String lspId)
          Creates a new instance of LSPPrimaryRoutingParameter.
 
Method Summary
 int getClassType()
           
 java.lang.String getDstNode()
           
 int getHolding()
           
 float getMaxRate()
           
 float getMetric()
           
 int getSetup()
           
 java.lang.String getSrcNode()
           
 boolean isSetClassType()
           
 boolean isSetHolding()
           
 boolean isSetSetup()
           
 void setClassType(int classType)
           
 void setDstNode(java.lang.String dstNode)
           
 void setHolding(int holding)
           
 void setMaxRate(float maxRate)
           
 void setMetric(float metric)
           
 void setSetup(int setup)
           
 void setSrcNode(java.lang.String srcNode)
           
 
Methods inherited from class be.ac.ulg.montefiore.run.totem.repository.model.LSPRoutingParameter
getBandwidth, getLspId, getRoutingAlgorithmParameter, putAllRoutingAlgorithmParameter, putRoutingAlgorithmParameter, setBandwidth, setLspId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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.
Method Detail

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.

getMetric

public float getMetric()
Returns:
Returns the metric.

setMetric

public void setMetric(float metric)
Parameters:
metric - The metric to set.

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.