Class OxmIpEcnSerializer
java.lang.Object
org.opendaylight.openflowjava.protocol.impl.serialization.match.AbstractOxmMatchEntrySerializer
org.opendaylight.openflowjava.protocol.impl.serialization.match.OxmIpEcnSerializer
- All Implemented Interfaces:
 HeaderSerializer<MatchEntry>,OFGeneralSerializer,OFSerializer<MatchEntry>
OxmIpEcn match entry serializer.
- Author:
 - michal.polkorab
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected 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.AbstractOxmMatchEntrySerializer
serializeHeader, writeMask, writeOxmFieldAndLength 
- 
Constructor Details
- 
OxmIpEcnSerializer
public OxmIpEcnSerializer() 
 - 
 - 
Method Details
- 
serialize
Description copied from interface:OFSerializerTransforms POJO/DTO into byte message (ByteBuf).- Specified by:
 serializein interfaceOFSerializer<MatchEntry>- Overrides:
 serializein classAbstractOxmMatchEntrySerializer- Parameters:
 entry- object to be serializedoutBuffer- output buffer
 - 
getOxmClassCode
protected int getOxmClassCode()Description copied from class:AbstractOxmMatchEntrySerializerReturns the numeric representation of oxm_class.- Specified by:
 getOxmClassCodein classAbstractOxmMatchEntrySerializer
 - 
getOxmFieldCode
protected int getOxmFieldCode()Description copied from class:AbstractOxmMatchEntrySerializerReturns the numeric representation of oxm_field.- Specified by:
 getOxmFieldCodein classAbstractOxmMatchEntrySerializer
 - 
getValueLength
protected int getValueLength()Description copied from class:AbstractOxmMatchEntrySerializerReturns the match entry value length (without mask length).- Specified by:
 getValueLengthin classAbstractOxmMatchEntrySerializer
 
 -