public enum MessageType extends Enum<MessageType>
Enum Constant and Description |
---|
EncapsulatedControlMessage
Encapsulated control packet
|
Info
Info control packet
|
MapNotify
Map-Notify control packet
|
MapReferral
Map-Referral control packet
|
MapRegister
Map-Register control packet
|
MapReply
Map-Reply control packet
|
MapRequest
Map-Request control packet
|
Reserved
Reserved
|
Modifier and Type | Method and Description |
---|---|
static MessageType |
forValue(int valueArg) |
int |
getIntValue() |
String |
getName()
Returns the name of the enumeration item as it is specified in the input yang.
|
static MessageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageType Reserved
public static final MessageType MapRequest
public static final MessageType MapReply
public static final MessageType MapRegister
public static final MessageType MapNotify
public static final MessageType MapReferral
public static final MessageType Info
public static final MessageType EncapsulatedControlMessage
public static MessageType[] values()
for (MessageType c : MessageType.values()) System.out.println(c);
public static MessageType 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 String getName()
public int getIntValue()
public static MessageType forValue(int valueArg)
valueArg
- integer valueCopyright © 2019 OpenDaylight. All rights reserved.