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