Class AbstractMacAddressFilterEntrySerializer<E extends MacAddressFilter>
- java.lang.Object
-
- org.opendaylight.openflowplugin.impl.protocol.serialization.match.AbstractMatchEntrySerializer<E,org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress>
-
- org.opendaylight.openflowplugin.impl.protocol.serialization.match.AbstractMacAddressFilterEntrySerializer<E>
-
- All Implemented Interfaces:
MatchEntrySerializer
- Direct Known Subclasses:
ArpSourceHardwareAddressEntrySerializer
,ArpTargetHardwareAddressEntrySerializer
,EthernetDestinationEntrySerializer
,EthernetSourceEntrySerializer
public abstract class AbstractMacAddressFilterEntrySerializer<E extends MacAddressFilter> extends AbstractMatchEntrySerializer<E,org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress>
-
-
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 Modifier Constructor Description protected
AbstractMacAddressFilterEntrySerializer(int oxmClassCode, int oxmFieldCode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress
extractEntryMask(E entry)
Extract the mask contained in an entry.protected void
serializeEntry(E entry, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress 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
extractEntry, serializeIfPresent, writeIpv4Address, writeIpv4Prefix, writeIpv6Address, writeIpv6Prefix, writeMacAddress, writeMask
-
-
-
-
Method Detail
-
extractEntryMask
protected final org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress extractEntryMask(E entry)
Description copied from class:AbstractMatchEntrySerializer
Extract the mask contained in an entry.- Specified by:
extractEntryMask
in classAbstractMatchEntrySerializer<E extends MacAddressFilter,org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress>
- Parameters:
entry
- entry to examine- Returns:
- Mask, null if not present
-
serializeEntry
protected final void serializeEntry(E entry, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress mask, io.netty.buffer.ByteBuf outBuffer)
Description copied from class:AbstractMatchEntrySerializer
Extract the corresponding entry from a match.- Specified by:
serializeEntry
in classAbstractMatchEntrySerializer<E extends MacAddressFilter,org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress>
- Parameters:
entry
- entry to serializemask
- mask as extracted from entryoutBuffer
- output buffer
-
-