public static enum Constants.RoutingCycleType extends Enum<Constants.RoutingCycleType>
SOURCE_ROUTING
,
only loopless and open cycles are allowed. In case of HOP_BY_HOP_ROUTING
,
also closed loops are allowed.Enum Constant and Description |
---|
CLOSED_CYCLES
Traffic does not reach the egress node.
|
LOOPLESS
Traffic goes from ingress node to egress node without traversing any
node more than once.
|
OPEN_CYCLES
Traffic goes from ingress node to egress node traversing some node
more than once.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static Constants.RoutingCycleType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Constants.RoutingCycleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.RoutingCycleType CLOSED_CYCLES
public static final Constants.RoutingCycleType LOOPLESS
public static final Constants.RoutingCycleType OPEN_CYCLES
public String toString()
toString
in class Enum<Constants.RoutingCycleType>
public static Constants.RoutingCycleType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static Constants.RoutingCycleType[] values()
for (Constants.RoutingCycleType c : Constants.RoutingCycleType.values()) System.out.println(c);
Copyright © 2018. All rights reserved.