public static enum Header.Type extends Enum<Header.Type>
Enum Constant and Description |
---|
INITIATION_MESSAGE |
PEER_DOWN_NOTIFICATION |
PEER_UP_NOTIFICATION |
ROUTE_MIRRORING_MESSAGE |
ROUTE_MONITORING |
STATISTICS_REPORT |
TERMINATION_MESSAGE |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
<R> R |
map(java.util.function.Function<Header.Type,R> mapper) |
static Header.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Header.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Header.Type ROUTE_MONITORING
public static final Header.Type STATISTICS_REPORT
public static final Header.Type PEER_DOWN_NOTIFICATION
public static final Header.Type PEER_UP_NOTIFICATION
public static final Header.Type INITIATION_MESSAGE
public static final Header.Type TERMINATION_MESSAGE
public static final Header.Type ROUTE_MIRRORING_MESSAGE
public static final Header.Type UNKNOWN
public static Header.Type[] values()
for (Header.Type c : Header.Type.values()) System.out.println(c);
public static Header.Type 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 <R> R map(java.util.function.Function<Header.Type,R> mapper)
Copyright © 2020. All rights reserved.