Class AbstractNshcCodec
java.lang.Object
org.opendaylight.openflowjava.nx.codec.match.AbstractMatchCodec
org.opendaylight.openflowjava.nx.codec.match.AbstractExperimenterMatchCodec
org.opendaylight.openflowjava.nx.codec.match.AbstractNshcCodec
- All Implemented Interfaces:
HeaderDeserializer<MatchEntry>
,HeaderSerializer<MatchEntry>
,OFDeserializer<MatchEntry>
,OFGeneralDeserializer
,OFGeneralSerializer
,OFSerializer<MatchEntry>
- Direct Known Subclasses:
Nshc1Codec
,Nshc2Codec
,Nshc3Codec
,Nshc4Codec
-
Field Summary
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
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, getNxmField, getNxmFieldCode, serializeHeader
-
Constructor Details
-
AbstractNshcCodec
public AbstractNshcCodec()
-
-
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
-