Package org.onosproject.cpman
Enum ControlMessage.Type
- java.lang.Object
- 
- java.lang.Enum<ControlMessage.Type>
- 
- org.onosproject.cpman.ControlMessage.Type
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<ControlMessage.Type>
 - Enclosing interface:
- ControlMessage
 
 public static enum ControlMessage.Type extends Enum<ControlMessage.Type> 
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description FLOW_MOD_PACKETFLOW_REMOVED_PACKETINBOUND_PACKETOUTBOUND_PACKETREPLY_PACKETREQUEST_PACKET
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static ControlMessage.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static ControlMessage.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
INBOUND_PACKETpublic static final ControlMessage.Type INBOUND_PACKET 
 - 
OUTBOUND_PACKETpublic static final ControlMessage.Type OUTBOUND_PACKET 
 - 
FLOW_MOD_PACKETpublic static final ControlMessage.Type FLOW_MOD_PACKET 
 - 
FLOW_REMOVED_PACKETpublic static final ControlMessage.Type FLOW_REMOVED_PACKET 
 - 
REQUEST_PACKETpublic static final ControlMessage.Type REQUEST_PACKET 
 - 
REPLY_PACKETpublic static final ControlMessage.Type REPLY_PACKET 
 
- 
 - 
Method Detail- 
valuespublic static ControlMessage.Type[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ControlMessage.Type c : ControlMessage.Type.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static ControlMessage.Type valueOf(String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
 
- 
 
-