Class OxmArpThaSerializer
- java.lang.Object
-
- org.opendaylight.openflowjava.protocol.impl.serialization.match.AbstractOxmMatchEntrySerializer
-
- org.opendaylight.openflowjava.protocol.impl.serialization.match.AbstractOxmMacAddressSerializer
-
- org.opendaylight.openflowjava.protocol.impl.serialization.match.OxmArpThaSerializer
-
- All Implemented Interfaces:
HeaderSerializer<MatchEntry>,OFGeneralSerializer,OFSerializer<MatchEntry>
public class OxmArpThaSerializer extends AbstractOxmMacAddressSerializer
OxmArpTha match entry serializer.- Author:
- michal.polkorab
-
-
Constructor Summary
Constructors Constructor Description OxmArpThaSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.AbstractOxmMacAddressSerializer
writeMacAddress
-
Methods inherited from class org.opendaylight.openflowjava.protocol.impl.serialization.match.AbstractOxmMatchEntrySerializer
serializeHeader, writeMask, writeOxmFieldAndLength
-
-
-
-
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 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
-
-