Class AbstractOxmMatchEntryDeserializer
java.lang.Object
org.opendaylight.openflowjava.protocol.impl.deserialization.match.AbstractOxmMatchEntryDeserializer
- All Implemented Interfaces:
HeaderDeserializer<MatchEntry>
,OFDeserializer<MatchEntry>
,OFGeneralDeserializer
- Direct Known Subclasses:
AbstractOxmExperimenterMatchEntryDeserializer
,OxmArpOpDeserializer
,OxmArpShaDeserializer
,OxmArpSpaDeserializer
,OxmArpThaDeserializer
,OxmArpTpaDeserializer
,OxmEthDstDeserializer
,OxmEthSrcDeserializer
,OxmEthTypeDeserializer
,OxmIcmpv4CodeDeserializer
,OxmIcmpv4TypeDeserializer
,OxmIcmpv6CodeDeserializer
,OxmIcmpv6TypeDeserializer
,OxmInPhyPortDeserializer
,OxmInPortDeserializer
,OxmIpDscpDeserializer
,OxmIpEcnDeserializer
,OxmIpProtoDeserializer
,OxmIpv4DstDeserializer
,OxmIpv4SrcDeserializer
,OxmIpv6DstDeserializer
,OxmIpv6ExtHdrDeserializer
,OxmIpv6FlabelDeserializer
,OxmIpv6NdSllDeserializer
,OxmIpv6NdTargetDeserializer
,OxmIpv6NdTllDeserializer
,OxmIpv6SrcDeserializer
,OxmMetadataDeserializer
,OxmMplsBosDeserializer
,OxmMplsLabelDeserializer
,OxmMplsTcDeserializer
,OxmPacketTypeDeserializer
,OxmPbbIsidDeserializer
,OxmSctpDstDeserializer
,OxmSctpSrcDeserializer
,OxmTcpDstDeserializer
,OxmTcpSrcDeserializer
,OxmTunnelIdDeserializer
,OxmUdpDstDeserializer
,OxmUdpSrcDeserializer
,OxmVlanPcpDeserializer
,OxmVlanVidDeserializer
public abstract class AbstractOxmMatchEntryDeserializer
extends Object
implements HeaderDeserializer<MatchEntry>, OFDeserializer<MatchEntry>
Base class for an Oxm match entry deserializer.
- Author:
- michal.polkorab
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractOxmMatchEntryDeserializer
(MatchField oxmField) protected
AbstractOxmMatchEntryDeserializer
(OxmClassBase oxmClass, MatchField oxmField) -
Method Summary
Modifier and TypeMethodDescriptionfinal MatchEntry
deserialize
(io.netty.buffer.ByteBuf input) Transforms byte message into POJO/DTO (of type E).protected abstract void
deserialize
(io.netty.buffer.ByteBuf input, MatchEntryBuilder builder) final MatchEntry
deserializeHeader
(io.netty.buffer.ByteBuf input) Deserializes a byte message headers.protected final MatchEntryBuilder
processHeader
(io.netty.buffer.ByteBuf input) Prepares match entry header - sets oxm_class, oxm_field, hasMask + sets the buffer.readerIndex() to the end of match entry - where augmentation starts.
-
Constructor Details
-
AbstractOxmMatchEntryDeserializer
-
AbstractOxmMatchEntryDeserializer
-
-
Method Details
-
deserialize
Description copied from interface:OFDeserializer
Transforms byte message into POJO/DTO (of type E).- Specified by:
deserialize
in interfaceOFDeserializer<MatchEntry>
- Parameters:
input
- message as bytes in ByteBuf- Returns:
- POJO/DTO
-
deserialize
-
deserializeHeader
Description copied from interface:HeaderDeserializer
Deserializes a byte message headers.- Specified by:
deserializeHeader
in interfaceHeaderDeserializer<MatchEntry>
- Parameters:
input
- message as bytes in ByteBuf- Returns:
- POJO/DTO
-
processHeader
Prepares match entry header - sets oxm_class, oxm_field, hasMask + sets the buffer.readerIndex() to the end of match entry - where augmentation starts.- Parameters:
input
- input bytebuf- Returns:
- MatchEntriesBuilder which can be filled with MatchEntry augmentation
-