public enum MessageType extends Enum<MessageType>
Enum Constant and Description |
---|
BARRIER_REPLY
Barrier Reply; Since 1.0.
|
BARRIER_REQUEST
Barrier Request; Since 1.0.
|
ECHO_REPLY
Echo Reply; Since 1.0.
|
ECHO_REQUEST
Echo Request; Since 1.0.
|
ERROR
Error; Since 1.0.
|
EXPERIMENTER
Experimenter; Since 1.0 (known then as Vendor, but renamed to
Experimenter in 1.1).
|
FEATURES_REPLY
Features Reply; Since 1.0.
|
FEATURES_REQUEST
Features Request; Since 1.0.
|
FLOW_MOD
Flow Mod; Since 1.0.
|
FLOW_REMOVED
Flow Removed; Since 1.0.
|
GET_ASYNC_REPLY
Get Async Reply; Since 1.3.
|
GET_ASYNC_REQUEST
Get Async Request; Since 1.3.
|
GET_CONFIG_REPLY
Get Config Reply; Since 1.0.
|
GET_CONFIG_REQUEST
Get Config Request; Since 1.0.
|
GROUP_MOD
Group Mod; Since 1.1.
|
HELLO
Hello; Since 1.0.
|
METER_MOD
Meter Mod; Since 1.3.
|
MULTIPART_REPLY
Multipart Reply; Since 1.3 (but see
OfmMultipartReply ). |
MULTIPART_REQUEST
Multipart Request; Since 1.3 (but see
OfmMultipartRequest ). |
PACKET_IN
Packet In; Since 1.0.
|
PACKET_OUT
Packet Out; Since 1.0.
|
PORT_MOD
Port Mod; Since 1.0.
|
PORT_STATUS
Port Status; Since 1.0.
|
QUEUE_GET_CONFIG_REPLY
Get Config Reply; Since 1.0.
|
QUEUE_GET_CONFIG_REQUEST
Get Config Request; Since 1.0.
|
ROLE_REPLY
Role Reply; Since 1.2.
|
ROLE_REQUEST
Role Request; Since 1.2.
|
SET_ASYNC
Set Async; Since 1.3.
|
SET_CONFIG
Set Config; Since 1.0.
|
TABLE_MOD
Table Mod; Since 1.1.
|
Modifier and Type | Method and Description |
---|---|
int |
getCode(ProtocolVersion pv)
Returns the code for this message type, under the given protocol.
|
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 HELLO
public static final MessageType ERROR
public static final MessageType ECHO_REQUEST
public static final MessageType ECHO_REPLY
public static final MessageType EXPERIMENTER
public static final MessageType FEATURES_REQUEST
public static final MessageType FEATURES_REPLY
public static final MessageType GET_CONFIG_REQUEST
public static final MessageType GET_CONFIG_REPLY
public static final MessageType SET_CONFIG
public static final MessageType PACKET_IN
public static final MessageType FLOW_REMOVED
public static final MessageType PORT_STATUS
public static final MessageType PACKET_OUT
public static final MessageType FLOW_MOD
public static final MessageType GROUP_MOD
public static final MessageType PORT_MOD
public static final MessageType TABLE_MOD
public static final MessageType MULTIPART_REQUEST
OfmMultipartRequest
).public static final MessageType MULTIPART_REPLY
OfmMultipartReply
).public static final MessageType BARRIER_REQUEST
public static final MessageType BARRIER_REPLY
public static final MessageType QUEUE_GET_CONFIG_REQUEST
public static final MessageType QUEUE_GET_CONFIG_REPLY
public static final MessageType ROLE_REQUEST
public static final MessageType ROLE_REPLY
public static final MessageType GET_ASYNC_REQUEST
public static final MessageType GET_ASYNC_REPLY
public static final MessageType SET_ASYNC
public static final MessageType METER_MOD
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 int getCode(ProtocolVersion pv)
pv
- the protocol versionCopyright © 2015. All Rights Reserved.