Class AbstractMatchCodec
java.lang.Object
org.opendaylight.openflowjava.eric.codec.match.AbstractMatchCodec
- All Implemented Interfaces:
- HeaderDeserializer<MatchEntry>,- HeaderSerializer<MatchEntry>,- OFDeserializer<MatchEntry>,- OFGeneralDeserializer,- OFGeneralSerializer,- OFSerializer<MatchEntry>
- Direct Known Subclasses:
- Icmpv6NDOptionsTypeCodec,- Icmpv6NDReservedCodec
public abstract class AbstractMatchCodec
extends Object
implements OFSerializer<MatchEntry>, OFDeserializer<MatchEntry>, HeaderSerializer<MatchEntry>, HeaderDeserializer<MatchEntry>
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected EricHeaderbuildHeader(boolean hasMask) deserializeHeader(io.netty.buffer.ByteBuf message) Deserializes a byte message headers.protected MatchEntryBuilderdeserializeHeaderToBuilder(io.netty.buffer.ByteBuf message) abstract MatchFieldReturns the eric_field class.abstract intReturns the numeric representation of eric_field.protected EricHeadergetHeader(boolean hasMask) abstract OxmClassBaseReturns the oxm_class class.abstract intReturns the numeric representation of oxm_class.abstract intReturns the match entry value length.voidserializeHeader(EricHeader input, io.netty.buffer.ByteBuf outBuffer) voidserializeHeader(MatchEntry input, io.netty.buffer.ByteBuf outBuffer) Serializes object headers (e.g.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opendaylight.openflowjava.protocol.api.extensibility.OFDeserializerdeserializeMethods inherited from interface org.opendaylight.openflowjava.protocol.api.extensibility.OFSerializerserialize
- 
Field Details- 
headerWithMask
- 
headerWithoutMask
 
- 
- 
Constructor Details- 
AbstractMatchCodecpublic AbstractMatchCodec()
 
- 
- 
Method Details- 
deserializeHeaderToBuilder
- 
deserializeHeaderDescription copied from interface:HeaderDeserializerDeserializes a byte message headers.- Specified by:
- deserializeHeaderin interface- HeaderDeserializer<MatchEntry>
- Parameters:
- message- message as bytes in ByteBuf
- Returns:
- POJO/DTO
 
- 
serializeHeaderDescription copied from interface:HeaderSerializerSerializes object headers (e.g. for Multipart message - Table Features).- Specified by:
- serializeHeaderin interface- HeaderSerializer<MatchEntry>
- Parameters:
- input- object whose headers should be serialized
- outBuffer- output buffer
 
- 
serializeHeader
- 
getHeader
- 
buildHeader
- 
getHeaderWithoutHasMask
- 
getHeaderWithHasMask
- 
getEricFieldCodepublic abstract int getEricFieldCode()Returns the numeric representation of eric_field.
- 
getOxmClassCodepublic abstract int getOxmClassCode()Returns the numeric representation of oxm_class.
- 
getValueLengthpublic abstract int getValueLength()Returns the match entry value length.
- 
getEricFieldReturns the eric_field class.
- 
getOxmClassReturns the oxm_class class.
 
-