public static enum Constants.RoutingType extends Enum<Constants.RoutingType>
Enum Constant and Description |
---|
HOP_BY_HOP_ROUTING
Ingress node is not expected to have all the information about how to
get (or send traffic) from a node to another one; it is sufficient for
the ingress node to know only how to get (or send traffic) to the
"next hop", and so on until the destination is reached.
|
SOURCE_ROUTING
All the information about how to get (or send traffic) from a node to
another one is known by the ingress node thanks to end-to-end paths (or
routes in
NetPlan
object). |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static Constants.RoutingType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Constants.RoutingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.RoutingType HOP_BY_HOP_ROUTING
public static final Constants.RoutingType SOURCE_ROUTING
NetPlan
object).public String toString()
toString
in class Enum<Constants.RoutingType>
public static Constants.RoutingType 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.RoutingType[] values()
for (Constants.RoutingType c : Constants.RoutingType.values()) System.out.println(c);
Copyright © 2018. All rights reserved.