Class OxmArpSpaSerializer
java.lang.Object
org.opendaylight.openflowjava.protocol.impl.serialization.match.AbstractOxmMatchEntrySerializer
org.opendaylight.openflowjava.protocol.impl.serialization.match.AbstractOxmIpv4AddressSerializer
org.opendaylight.openflowjava.protocol.impl.serialization.match.OxmArpSpaSerializer
- All Implemented Interfaces:
- HeaderSerializer<MatchEntry>,- OFGeneralSerializer,- OFSerializer<MatchEntry>
OxmArpSpa match entry serializer.
- Author:
- michal.polkorab
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.AbstractOxmIpv4AddressSerializerwriteIpv4Address, writeIpv4AddressMethods inherited from class org.opendaylight.openflowjava.protocol.impl.serialization.match.AbstractOxmMatchEntrySerializerserializeHeader, writeMask, writeOxmFieldAndLength
- 
Constructor Details- 
OxmArpSpaSerializerpublic OxmArpSpaSerializer()
 
- 
- 
Method Details- 
serializeDescription copied from interface:OFSerializerTransforms POJO/DTO into byte message (ByteBuf).- Specified by:
- serializein interface- OFSerializer<MatchEntry>
- Overrides:
- serializein class- AbstractOxmMatchEntrySerializer
- Parameters:
- entry- object to be serialized
- outBuffer- output buffer
 
- 
getOxmClassCodeprotected int getOxmClassCode()Description copied from class:AbstractOxmMatchEntrySerializerReturns the numeric representation of oxm_class.- Specified by:
- getOxmClassCodein class- AbstractOxmMatchEntrySerializer
 
- 
getOxmFieldCodeprotected int getOxmFieldCode()Description copied from class:AbstractOxmMatchEntrySerializerReturns the numeric representation of oxm_field.- Specified by:
- getOxmFieldCodein class- AbstractOxmMatchEntrySerializer
 
- 
getValueLengthprotected int getValueLength()Description copied from class:AbstractOxmMatchEntrySerializerReturns the match entry value length (without mask length).- Specified by:
- getValueLengthin class- AbstractOxmMatchEntrySerializer
 
 
-