Class AbstractExperimenterMatchEntrySerializer<E,M>
- java.lang.Object
-
- org.opendaylight.openflowplugin.impl.protocol.serialization.match.AbstractMatchEntrySerializer<E,M>
-
- org.opendaylight.openflowplugin.impl.protocol.serialization.match.AbstractExperimenterMatchEntrySerializer<E,M>
-
- All Implemented Interfaces:
MatchEntrySerializer
- Direct Known Subclasses:
TcpFlagsEntrySerializer
public abstract class AbstractExperimenterMatchEntrySerializer<E,M> extends AbstractMatchEntrySerializer<E,M>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opendaylight.openflowplugin.impl.protocol.serialization.match.AbstractMatchEntrySerializer
AbstractMatchEntrySerializer.ConstantHeaderWriter<E,M>, AbstractMatchEntrySerializer.HeaderWriter<E,M>
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractExperimenterMatchEntrySerializer(int oxmFieldCode, int valueLength, long experimenterId)
protected
AbstractExperimenterMatchEntrySerializer(AbstractMatchEntrySerializer.HeaderWriter<E,M> headerWriter, long experimenterId)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
serializeEntry(E entry, M mask, io.netty.buffer.ByteBuf outBuffer)
Extract the corresponding entry from a match.protected abstract void
serializeEntryContent(@NonNull E entry, @Nullable M mask, @NonNull io.netty.buffer.ByteBuf outBuffer)
Extract the corresponding entry from a match.-
Methods inherited from class org.opendaylight.openflowplugin.impl.protocol.serialization.match.AbstractMatchEntrySerializer
extractEntry, extractEntryMask, serializeIfPresent, writeIpv4Address, writeIpv4Prefix, writeIpv6Address, writeIpv6Prefix, writeMacAddress, writeMask
-
-
-
-
Constructor Detail
-
AbstractExperimenterMatchEntrySerializer
protected AbstractExperimenterMatchEntrySerializer(AbstractMatchEntrySerializer.HeaderWriter<E,M> headerWriter, long experimenterId)
-
AbstractExperimenterMatchEntrySerializer
protected AbstractExperimenterMatchEntrySerializer(int oxmFieldCode, int valueLength, long experimenterId)
-
-
Method Detail
-
serializeEntry
protected final void serializeEntry(E entry, M mask, io.netty.buffer.ByteBuf outBuffer)
Description copied from class:AbstractMatchEntrySerializer
Extract the corresponding entry from a match.- Specified by:
serializeEntry
in classAbstractMatchEntrySerializer<E,M>
- Parameters:
entry
- entry to serializemask
- mask as extracted from entryoutBuffer
- output buffer
-
-