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
ModifierConstructorDescriptionprotected
AbstractExperimenterMatchEntrySerializer
(int oxmFieldCode, int valueLength, long experimenterId) protected
AbstractExperimenterMatchEntrySerializer
(AbstractMatchEntrySerializer.HeaderWriter<E, M> headerWriter, long experimenterId) -
Method Summary
Modifier and TypeMethodDescriptionprotected final 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 Details
-
AbstractExperimenterMatchEntrySerializer
protected AbstractExperimenterMatchEntrySerializer(AbstractMatchEntrySerializer.HeaderWriter<E, M> headerWriter, long experimenterId) -
AbstractExperimenterMatchEntrySerializer
protected AbstractExperimenterMatchEntrySerializer(int oxmFieldCode, int valueLength, long experimenterId)
-
-
Method Details
-
serializeEntry
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
-
serializeEntryContent
protected abstract void serializeEntryContent(@NonNull E entry, @Nullable M mask, @NonNull io.netty.buffer.ByteBuf outBuffer) Extract the corresponding entry from a match.- Parameters:
entry
- entry to serializeoutBuffer
- output buffer
-