|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<OFOXMFieldType>
org.openflow.protocol.OFOXMFieldType
public enum OFOXMFieldType
Field Summary | |
---|---|
protected short |
matchClass
|
protected java.lang.String |
name
|
protected byte |
payloadLength
|
protected short |
value
|
Method Summary | |
---|---|
static void |
addMapping(short i,
OFOXMFieldType mt)
Adds a mapping from type value to OFOXMFieldType enum |
short |
getMatchClass()
|
java.lang.String |
getName()
|
byte |
getPayloadLength()
|
short |
getValue()
|
static void |
removeMapping(short i)
Remove a mapping from type value to OFOXMFieldType enum |
java.lang.String |
toString()
|
static OFOXMFieldType |
valueOf(byte i)
Given a wire protocol field type number, return the OFOXMFieldType associated with it |
static OFOXMFieldType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static OFOXMFieldType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final OFOXMFieldType IN_PORT
public static final OFOXMFieldType IN_PHY_PORT
public static final OFOXMFieldType METADATA
public static final OFOXMFieldType ETH_DST
public static final OFOXMFieldType ETH_SRC
public static final OFOXMFieldType ETH_TYPE
public static final OFOXMFieldType VLAN_VID
public static final OFOXMFieldType VLAN_PCP
public static final OFOXMFieldType IP_DSCP
public static final OFOXMFieldType IP_ECN
public static final OFOXMFieldType IP_PROTO
public static final OFOXMFieldType IPV4_SRC
public static final OFOXMFieldType IPV4_DST
public static final OFOXMFieldType TCP_SRC
public static final OFOXMFieldType TCP_DST
public static final OFOXMFieldType UDP_SRC
public static final OFOXMFieldType UDP_DST
public static final OFOXMFieldType SCTP_SRC
public static final OFOXMFieldType SCTP_DST
public static final OFOXMFieldType ICMPV4_TYPE
public static final OFOXMFieldType ICMPV4_CODE
public static final OFOXMFieldType ARP_OP
public static final OFOXMFieldType ARP_SPA
public static final OFOXMFieldType ARP_TPA
public static final OFOXMFieldType ARP_SHA
public static final OFOXMFieldType ARP_THA
public static final OFOXMFieldType IPV6_SRC
public static final OFOXMFieldType IPV6_DST
public static final OFOXMFieldType IPV6_FLABEL
public static final OFOXMFieldType ICMPV6_TYPE
public static final OFOXMFieldType ICMPV6_CODE
public static final OFOXMFieldType IPV6_ND_TARGET
public static final OFOXMFieldType IPV6_ND_SLL
public static final OFOXMFieldType IPV6_ND_TLL
public static final OFOXMFieldType MPLS_LABEL
public static final OFOXMFieldType MPLS_TC
public static final OFOXMFieldType MPLS_BOS
public static final OFOXMFieldType PBB_ISID
public static final OFOXMFieldType TUNNEL_ID
public static final OFOXMFieldType IPV6_EXTHDR
Field Detail |
---|
protected short value
protected java.lang.String name
protected short matchClass
protected byte payloadLength
Method Detail |
---|
public static OFOXMFieldType[] values()
for (OFOXMFieldType c : OFOXMFieldType.values()) System.out.println(c);
public static OFOXMFieldType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic static void addMapping(short i, OFOXMFieldType mt)
i
- field type field valuemt
- typepublic static void removeMapping(short i)
i
- field type field valuepublic static OFOXMFieldType valueOf(byte i)
i
- field type field value
public short getMatchClass()
public java.lang.String getName()
public short getValue()
public byte getPayloadLength()
public java.lang.String toString()
toString
in class java.lang.Enum<OFOXMFieldType>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |