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