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

java.lang.Object
  extended by be.ac.ulg.montefiore.run.totem.repository.model.LSPRoutingParameter
      extended by be.ac.ulg.montefiore.run.totem.repository.model.LSPDetourRoutingParameter

public final class LSPDetourRoutingParameter
extends LSPRoutingParameter

This class specifies the information needed to compute a detour backup.

Creation date: 1-Jan-2004

Author:
Fabian Skivee (skivee@run.montefiore.ulg.ac.be)

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
bandwidth, 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
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
 

Field Detail

LOCAL

public static final int LOCAL
Specifies a local method type.

See Also:
Constant Field Values

GLOBAL

public static final int GLOBAL
Specifies a global method type.

See Also:
Constant Field Values

NODE_DISJOINT

public static final int NODE_DISJOINT
Specifies a node disjoint protection type.

See Also:
Constant Field Values

LINK_DISJOINT

public static final int LINK_DISJOINT
Specifies a link disjoint protection type.

See Also:
Constant Field Values

ALGORITHM_DEFAULT

public static final int ALGORITHM_DEFAULT
Default method type or protection type.

See Also:
Constant Field Values
Constructor Detail

LSPDetourRoutingParameter

public LSPDetourRoutingParameter(java.lang.String lspId)
Initialises a newly created LSPDetourRoutingParameter object.

Parameters:
lspId - The ID of the LSP to create.
Method Detail

getMethodType

public int getMethodType()
Returns:
Returns the methodType.

setMethodType

public void setMethodType(int methodType)
Parameters:
methodType - The methodType to set. See the LOCAL, GLOBAL and ALGORITHM_DEFAULT constants.

setMethodType

public void setMethodType(java.lang.String methodType)
Sets the method type.

Parameters:
methodType - Allowed values are "LOCAL", "GLOBAL" and "ALGORITHM_DEFAULT".

getProtectedLSP

public java.lang.String getProtectedLSP()
Returns:
Returns the protectedLSP.

setProtectedLSP

public void setProtectedLSP(java.lang.String protectedLSP)
Parameters:
protectedLSP - The protectedLSP to set.

getProtectionType

public int getProtectionType()
Returns:
Returns the protectionType.

setProtectionType

public void setProtectionType(int protectionType)
Parameters:
protectionType - The protectionType to set. See the NODE_DISJOINT, LINK_DISJOINT and ALGORITHM_DEFAULT constants.

setProtectionType

public void setProtectionType(java.lang.String protectionType)
Sets the protection type.

Parameters:
protectionType - Allowed values are "NODE_DISJOINT", "LINK_DISJOINT" and "ALGORITHM_DEFAULT".


Copyright © 2004-2007 Research Unit in Networking, All Rights Reserved.