Class AbstractIpv4PrefixEntrySerializer
java.lang.Object
org.opendaylight.openflowplugin.impl.protocol.serialization.match.AbstractMatchEntrySerializer<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Prefix,Integer>
 
org.opendaylight.openflowplugin.impl.protocol.serialization.match.AbstractIpv4PrefixEntrySerializer
- All Implemented Interfaces:
- MatchEntrySerializer
- Direct Known Subclasses:
- ArpSourceTransportAddressEntrySerializer,- ArpTargetTransportAddressEntrySerializer,- TunnelIpv4DestinationEntrySerializer,- TunnelIpv4SourceEntrySerializer
public abstract class AbstractIpv4PrefixEntrySerializer
extends AbstractMatchEntrySerializer<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Prefix,Integer> 
- 
Nested Class SummaryNested classes/interfaces inherited from class org.opendaylight.openflowplugin.impl.protocol.serialization.match.AbstractMatchEntrySerializerAbstractMatchEntrySerializer.ConstantHeaderWriter<E,M>, AbstractMatchEntrySerializer.HeaderWriter<E, M> 
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedAbstractIpv4PrefixEntrySerializer(int oxmClassCode, int oxmFieldCode) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected final IntegerextractEntryMask(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Prefix entry) Extract the mask contained in an entry.protected final voidserializeEntry(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Prefix entry, Integer mask, io.netty.buffer.ByteBuf outBuffer) Extract the corresponding entry from a match.Methods inherited from class org.opendaylight.openflowplugin.impl.protocol.serialization.match.AbstractMatchEntrySerializerextractEntry, serializeIfPresent, writeIpv4Address, writeIpv4Prefix, writeIpv6Address, writeIpv6Prefix, writeMacAddress, writeMask
- 
Constructor Details- 
AbstractIpv4PrefixEntrySerializerprotected AbstractIpv4PrefixEntrySerializer(int oxmClassCode, int oxmFieldCode) 
 
- 
- 
Method Details- 
extractEntryMaskprotected final Integer extractEntryMask(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Prefix entry) Description copied from class:AbstractMatchEntrySerializerExtract the mask contained in an entry.- Specified by:
- extractEntryMaskin class- AbstractMatchEntrySerializer<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Prefix,- Integer> 
- Parameters:
- entry- entry to examine
- Returns:
- Mask, null if not present
 
- 
serializeEntryprotected final void serializeEntry(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Prefix entry, Integer mask, io.netty.buffer.ByteBuf outBuffer) Description copied from class:AbstractMatchEntrySerializerExtract the corresponding entry from a match.- Specified by:
- serializeEntryin class- AbstractMatchEntrySerializer<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Prefix,- Integer> 
- Parameters:
- entry- entry to serialize
- mask- mask as extracted from entry
- outBuffer- output buffer
 
 
-