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.Uint32
getExperimenterId()
Returns the Experimenter match entry ID.protected int
getOxmClassCode()
Returns the numeric representation of oxm_class.protected int
getOxmFieldCode()
Returns the numeric representation of oxm_field.protected int
getValueLength()
Returns the match entry value length (without mask length).void
serialize(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:OFSerializer
Transforms POJO/DTO into byte message (ByteBuf).- Specified by:
serialize
in interfaceOFSerializer<MatchEntry>
- Overrides:
serialize
in 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:
getExperimenterId
in classAbstractOxmExperimenterMatchEntrySerializer
-
getOxmFieldCode
protected int getOxmFieldCode()
Returns the numeric representation of oxm_field.- Specified by:
getOxmFieldCode
in classAbstractOxmMatchEntrySerializer
-
getOxmClassCode
protected int getOxmClassCode()
Returns the numeric representation of oxm_class.- Specified by:
getOxmClassCode
in classAbstractOxmMatchEntrySerializer
-
getValueLength
protected int getValueLength()
Returns the match entry value length (without mask length).- Specified by:
getValueLength
in classAbstractOxmMatchEntrySerializer
-
-