Class VlanVidEntrySerializer
- java.lang.Object
-
- org.opendaylight.openflowplugin.impl.protocol.serialization.match.AbstractMatchEntrySerializer<VlanId,org.opendaylight.yangtools.yang.common.Empty>
-
- org.opendaylight.openflowplugin.impl.protocol.serialization.match.VlanVidEntrySerializer
-
- All Implemented Interfaces:
MatchEntrySerializer
public class VlanVidEntrySerializer extends AbstractMatchEntrySerializer<VlanId,org.opendaylight.yangtools.yang.common.Empty>
-
-
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 Constructor Description VlanVidEntrySerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected VlanIdextractEntry(Match match)Extract the corresponding entry from a match.protected org.opendaylight.yangtools.yang.common.EmptyextractEntryMask(VlanId entry)Extract the mask contained in an entry.protected voidserializeEntry(VlanId entry, org.opendaylight.yangtools.yang.common.Empty 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
-
-
-
-
Method Detail
-
extractEntry
protected VlanId extractEntry(Match match)
Description copied from class:AbstractMatchEntrySerializerExtract the corresponding entry from a match.- Specified by:
extractEntryin classAbstractMatchEntrySerializer<VlanId,org.opendaylight.yangtools.yang.common.Empty>- Parameters:
match- Openflow match- Returns:
- Entry, null if not present
-
extractEntryMask
protected org.opendaylight.yangtools.yang.common.Empty extractEntryMask(VlanId entry)
Description copied from class:AbstractMatchEntrySerializerExtract the mask contained in an entry.- Specified by:
extractEntryMaskin classAbstractMatchEntrySerializer<VlanId,org.opendaylight.yangtools.yang.common.Empty>- Parameters:
entry- entry to examine- Returns:
- Mask, null if not present
-
serializeEntry
protected void serializeEntry(VlanId entry, org.opendaylight.yangtools.yang.common.Empty mask, io.netty.buffer.ByteBuf outBuffer)
Description copied from class:AbstractMatchEntrySerializerExtract the corresponding entry from a match.- Specified by:
serializeEntryin classAbstractMatchEntrySerializer<VlanId,org.opendaylight.yangtools.yang.common.Empty>- Parameters:
entry- entry to serializemask- mask as extracted from entryoutBuffer- output buffer
-
-