Class NshTtlCodec
java.lang.Object
org.opendaylight.openflowjava.nx.codec.match.AbstractMatchCodec
org.opendaylight.openflowjava.nx.codec.match.AbstractExperimenterMatchCodec
org.opendaylight.openflowjava.nx.codec.match.NshTtlCodec
- All Implemented Interfaces:
HeaderDeserializer<MatchEntry>
,HeaderSerializer<MatchEntry>
,OFDeserializer<MatchEntry>
,OFGeneralDeserializer
,OFGeneralSerializer
,OFSerializer<MatchEntry>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final MatchEntryDeserializerKey
static final MatchEntrySerializerKey
<ExperimenterClass, NxmNxNshTtl> Fields inherited from class org.opendaylight.openflowjava.nx.codec.match.AbstractMatchCodec
headerWithMask, headerWithoutMask
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected NxExpMatchEntryValue
deserializeValue
(io.netty.buffer.ByteBuf message, boolean hasMask) protected org.opendaylight.yangtools.yang.common.Uint32
Returns the nxm_field class.int
Returns the numeric representation of nxm_field.int
Returns the match entry value length.protected void
serializeValue
(NxExpMatchEntryValue value, boolean hasMask, io.netty.buffer.ByteBuf outBuffer) 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 Details
-
SERIALIZER_KEY
-
DESERIALIZER_KEY
-
-
Constructor Details
-
NshTtlCodec
public NshTtlCodec()
-
-
Method Details
-
serializeValue
protected void serializeValue(NxExpMatchEntryValue value, boolean hasMask, io.netty.buffer.ByteBuf outBuffer) - Specified by:
serializeValue
in classAbstractExperimenterMatchCodec
-
deserializeValue
- Specified by:
deserializeValue
in classAbstractExperimenterMatchCodec
-
getExperimenterId
protected org.opendaylight.yangtools.yang.common.Uint32 getExperimenterId()- Specified by:
getExperimenterId
in classAbstractExperimenterMatchCodec
-
getValueLength
public int getValueLength()Description copied from class:AbstractMatchCodec
Returns the match entry value length.- Specified by:
getValueLength
in classAbstractMatchCodec
-
getNxmFieldCode
public int getNxmFieldCode()Description copied from class:AbstractMatchCodec
Returns the numeric representation of nxm_field.- Specified by:
getNxmFieldCode
in classAbstractMatchCodec
-
getNxmField
Description copied from class:AbstractMatchCodec
Returns the nxm_field class.- Specified by:
getNxmField
in classAbstractMatchCodec
-