Class Ipv6LabelEntrySerializer
java.lang.Object
org.opendaylight.openflowplugin.impl.protocol.serialization.match.AbstractMatchEntrySerializer<Ipv6Label,org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6FlowLabel>
org.opendaylight.openflowplugin.impl.protocol.serialization.match.Ipv6LabelEntrySerializer
- All Implemented Interfaces:
MatchEntrySerializer
public class Ipv6LabelEntrySerializer
extends AbstractMatchEntrySerializer<Ipv6Label,org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6FlowLabel>
-
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 Ipv6Label
extractEntry
(Match match) Extract the corresponding entry from a match.protected org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6FlowLabel
extractEntryMask
(Ipv6Label entry) Extract the mask contained in an entry.protected void
serializeEntry
(Ipv6Label entry, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6FlowLabel 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
-
Ipv6LabelEntrySerializer
public Ipv6LabelEntrySerializer()
-
-
Method Details
-
extractEntry
Description copied from class:AbstractMatchEntrySerializer
Extract the corresponding entry from a match.- Specified by:
extractEntry
in classAbstractMatchEntrySerializer<Ipv6Label,
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6FlowLabel> - Parameters:
match
- Openflow match- Returns:
- Entry, null if not present
-
extractEntryMask
protected org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6FlowLabel extractEntryMask(Ipv6Label entry) Description copied from class:AbstractMatchEntrySerializer
Extract the mask contained in an entry.- Specified by:
extractEntryMask
in classAbstractMatchEntrySerializer<Ipv6Label,
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6FlowLabel> - Parameters:
entry
- entry to examine- Returns:
- Mask, null if not present
-
serializeEntry
protected void serializeEntry(Ipv6Label entry, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6FlowLabel mask, io.netty.buffer.ByteBuf outBuffer) Description copied from class:AbstractMatchEntrySerializer
Extract the corresponding entry from a match.- Specified by:
serializeEntry
in classAbstractMatchEntrySerializer<Ipv6Label,
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6FlowLabel> - Parameters:
entry
- entry to serializemask
- mask as extracted from entryoutBuffer
- output buffer
-