Class Reg0Codec
- java.lang.Object
-
- org.opendaylight.openflowjava.nx.codec.match.AbstractMatchCodec
-
- org.opendaylight.openflowjava.nx.codec.match.AbstractRegCodec
-
- org.opendaylight.openflowjava.nx.codec.match.Reg0Codec
-
- All Implemented Interfaces:
HeaderDeserializer<MatchEntry>
,HeaderSerializer<MatchEntry>
,OFDeserializer<MatchEntry>
,OFGeneralDeserializer
,OFGeneralSerializer
,OFSerializer<MatchEntry>
public class Reg0Codec extends AbstractRegCodec
-
-
Field Summary
Fields Modifier and Type Field Description static MatchEntryDeserializerKey
DESERIALIZER_KEY
static MatchEntrySerializerKey<Nxm1Class,NxmNxReg0>
SERIALIZER_KEY
-
Fields inherited from class org.opendaylight.openflowjava.nx.codec.match.AbstractMatchCodec
headerWithMask, headerWithoutMask
-
-
Constructor Summary
Constructors Constructor Description Reg0Codec()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<? extends MatchField>
getNxmField()
Returns the nxm_field class.int
getNxmFieldCode()
Returns the numeric representation of nxm_field.-
Methods inherited from class org.opendaylight.openflowjava.nx.codec.match.AbstractRegCodec
deserialize, getOxmClass, getOxmClassCode, getValueLength, serialize
-
Methods inherited from class org.opendaylight.openflowjava.nx.codec.match.AbstractMatchCodec
buildHeader, deserializeHeader, deserializeHeaderToBuilder, getHeader, getHeaderWithHasMask, getHeaderWithoutHasMask, serializeHeader, serializeHeader
-
-
-
-
Field Detail
-
SERIALIZER_KEY
public static final MatchEntrySerializerKey<Nxm1Class,NxmNxReg0> SERIALIZER_KEY
-
DESERIALIZER_KEY
public static final MatchEntryDeserializerKey DESERIALIZER_KEY
-
-
Method Detail
-
getNxmFieldCode
public int getNxmFieldCode()
Description copied from class:AbstractMatchCodec
Returns the numeric representation of nxm_field.- Specified by:
getNxmFieldCode
in classAbstractMatchCodec
-
getNxmField
public Class<? extends MatchField> getNxmField()
Description copied from class:AbstractMatchCodec
Returns the nxm_field class.- Specified by:
getNxmField
in classAbstractMatchCodec
-
-