Class Nshc2Codec
- java.lang.Object
-
- org.opendaylight.openflowjava.nx.codec.match.AbstractMatchCodec
-
- org.opendaylight.openflowjava.nx.codec.match.AbstractExperimenterMatchCodec
-
- org.opendaylight.openflowjava.nx.codec.match.AbstractNshcCodec
-
- org.opendaylight.openflowjava.nx.codec.match.Nshc2Codec
-
- All Implemented Interfaces:
HeaderDeserializer<MatchEntry>
,HeaderSerializer<MatchEntry>
,OFDeserializer<MatchEntry>
,OFGeneralDeserializer
,OFGeneralSerializer
,OFSerializer<MatchEntry>
public class Nshc2Codec extends AbstractNshcCodec
-
-
Field Summary
Fields Modifier and Type Field Description static MatchEntryDeserializerKey
DESERIALIZER_KEY
static MatchEntrySerializerKey<ExperimenterClass,NxmNxNshc2>
SERIALIZER_KEY
-
Fields inherited from class org.opendaylight.openflowjava.nx.codec.match.AbstractMatchCodec
headerWithMask, headerWithoutMask
-
-
Constructor Summary
Constructors Constructor Description Nshc2Codec()
-
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.AbstractNshcCodec
deserializeValue, getExperimenterId, getValueLength, serializeValue
-
Methods inherited from class org.opendaylight.openflowjava.nx.codec.match.AbstractExperimenterMatchCodec
buildHeader, createDeserializerKey, createSerializerKey, deserialize, getOxmClass, getOxmClassCode, serialize, serializeHeader
-
Methods inherited from class org.opendaylight.openflowjava.nx.codec.match.AbstractMatchCodec
deserializeHeader, deserializeHeaderToBuilder, getHeader, getHeaderWithHasMask, getHeaderWithoutHasMask, serializeHeader
-
-
-
-
Field Detail
-
SERIALIZER_KEY
public static final MatchEntrySerializerKey<ExperimenterClass,NxmNxNshc2> 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
-
-