Class OnfOxmTcpFlagsSerializer
- java.lang.Object
-
- org.opendaylight.openflowjava.protocol.impl.serialization.match.AbstractOxmMatchEntrySerializer
-
- org.opendaylight.openflowjava.protocol.impl.serialization.match.ext.AbstractOxmExperimenterMatchEntrySerializer
-
- org.opendaylight.openflowjava.protocol.impl.serialization.match.ext.OnfOxmTcpFlagsSerializer
-
- All Implemented Interfaces:
HeaderSerializer<MatchEntry>,OFGeneralSerializer,OFSerializer<MatchEntry>
public class OnfOxmTcpFlagsSerializer extends AbstractOxmExperimenterMatchEntrySerializer
Created by Anil Vishnoi (avishnoi@Brocade.com) on 7/25/16.
-
-
Constructor Summary
Constructors Constructor Description OnfOxmTcpFlagsSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.opendaylight.yangtools.yang.common.Uint32getExperimenterId()Returns the Experimenter match entry ID.protected intgetOxmClassCode()Returns the numeric representation of oxm_class.protected intgetOxmFieldCode()Returns the numeric representation of oxm_field.protected intgetValueLength()Returns the match entry value length (without mask length).voidserialize(MatchEntry entry, io.netty.buffer.ByteBuf outBuffer)Transforms POJO/DTO into byte message (ByteBuf).-
Methods inherited from class org.opendaylight.openflowjava.protocol.impl.serialization.match.ext.AbstractOxmExperimenterMatchEntrySerializer
serializeExperimenterId, serializeHeader, writeOxmFieldAndLength
-
Methods inherited from class org.opendaylight.openflowjava.protocol.impl.serialization.match.AbstractOxmMatchEntrySerializer
writeMask
-
-
-
-
Method Detail
-
serialize
public void serialize(MatchEntry entry, io.netty.buffer.ByteBuf outBuffer)
Description copied from interface:OFSerializerTransforms POJO/DTO into byte message (ByteBuf).- Specified by:
serializein interfaceOFSerializer<MatchEntry>- Overrides:
serializein classAbstractOxmExperimenterMatchEntrySerializer- Parameters:
entry- object to be serializedoutBuffer- output buffer
-
getExperimenterId
protected org.opendaylight.yangtools.yang.common.Uint32 getExperimenterId()
Returns the Experimenter match entry ID.- Specified by:
getExperimenterIdin classAbstractOxmExperimenterMatchEntrySerializer
-
getOxmFieldCode
protected int getOxmFieldCode()
Returns the numeric representation of oxm_field.- Specified by:
getOxmFieldCodein classAbstractOxmMatchEntrySerializer
-
getOxmClassCode
protected int getOxmClassCode()
Returns the numeric representation of oxm_class.- Specified by:
getOxmClassCodein classAbstractOxmMatchEntrySerializer
-
getValueLength
protected int getValueLength()
Returns the match entry value length (without mask length).- Specified by:
getValueLengthin classAbstractOxmMatchEntrySerializer
-
-