Class TcpFlagsEntrySerializer
java.lang.Object
org.opendaylight.openflowplugin.impl.protocol.serialization.match.AbstractMatchEntrySerializer<TcpFlagsMatch,org.opendaylight.yangtools.yang.common.Uint16>
org.opendaylight.openflowplugin.impl.protocol.serialization.match.AbstractExperimenterMatchEntrySerializer<TcpFlagsMatch,org.opendaylight.yangtools.yang.common.Uint16>
org.opendaylight.openflowplugin.impl.protocol.serialization.match.TcpFlagsEntrySerializer
- All Implemented Interfaces:
MatchEntrySerializer
public class TcpFlagsEntrySerializer
extends AbstractExperimenterMatchEntrySerializer<TcpFlagsMatch,org.opendaylight.yangtools.yang.common.Uint16>
-
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
-
Method Summary
Modifier and TypeMethodDescriptionprotected TcpFlagsMatch
extractEntry
(Match match) Extract the corresponding entry from a match.protected org.opendaylight.yangtools.yang.common.Uint16
extractEntryMask
(TcpFlagsMatch entry) Extract the mask contained in an entry.protected void
serializeEntryContent
(TcpFlagsMatch entry, org.opendaylight.yangtools.yang.common.Uint16 mask, io.netty.buffer.ByteBuf outBuffer) Extract the corresponding entry from a match.Methods inherited from class org.opendaylight.openflowplugin.impl.protocol.serialization.match.AbstractExperimenterMatchEntrySerializer
serializeEntry
Methods inherited from class org.opendaylight.openflowplugin.impl.protocol.serialization.match.AbstractMatchEntrySerializer
serializeIfPresent, writeIpv4Address, writeIpv4Prefix, writeIpv6Address, writeIpv6Prefix, writeMacAddress, writeMask
-
Constructor Details
-
TcpFlagsEntrySerializer
public TcpFlagsEntrySerializer()
-
-
Method Details
-
extractEntry
Description copied from class:AbstractMatchEntrySerializer
Extract the corresponding entry from a match.- Specified by:
extractEntry
in classAbstractMatchEntrySerializer<TcpFlagsMatch,
org.opendaylight.yangtools.yang.common.Uint16> - Parameters:
match
- Openflow match- Returns:
- Entry, null if not present
-
extractEntryMask
Description copied from class:AbstractMatchEntrySerializer
Extract the mask contained in an entry.- Specified by:
extractEntryMask
in classAbstractMatchEntrySerializer<TcpFlagsMatch,
org.opendaylight.yangtools.yang.common.Uint16> - Parameters:
entry
- entry to examine- Returns:
- Mask, null if not present
-
serializeEntryContent
protected void serializeEntryContent(TcpFlagsMatch entry, org.opendaylight.yangtools.yang.common.Uint16 mask, io.netty.buffer.ByteBuf outBuffer) Description copied from class:AbstractExperimenterMatchEntrySerializer
Extract the corresponding entry from a match.- Specified by:
serializeEntryContent
in classAbstractExperimenterMatchEntrySerializer<TcpFlagsMatch,
org.opendaylight.yangtools.yang.common.Uint16> - Parameters:
entry
- entry to serializeoutBuffer
- output buffer
-