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>
Created by Anil Vishnoi (avishnoi@Brocade.com) on 7/25/16.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.opendaylight.yangtools.yang.common.Uint32Returns the Experimenter match entry ID.protected intReturns the numeric representation of oxm_class.protected intReturns the numeric representation of oxm_field.protected intReturns 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, writeOxmFieldAndLengthMethods inherited from class org.opendaylight.openflowjava.protocol.impl.serialization.match.AbstractOxmMatchEntrySerializer
writeMask
-
Constructor Details
-
OnfOxmTcpFlagsSerializer
public OnfOxmTcpFlagsSerializer()
-
-
Method Details
-
serialize
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
-