Class InPortEntrySerializer
- java.lang.Object
-
- org.opendaylight.openflowplugin.impl.protocol.serialization.match.AbstractMatchEntrySerializer<E,Void>
-
- org.opendaylight.openflowplugin.impl.protocol.serialization.match.AbstractPrimitiveEntrySerializer<NodeConnectorId>
-
- org.opendaylight.openflowplugin.impl.protocol.serialization.match.InPortEntrySerializer
-
- All Implemented Interfaces:
MatchEntrySerializer
public class InPortEntrySerializer extends AbstractPrimitiveEntrySerializer<NodeConnectorId>
-
-
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 InPortEntrySerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected NodeConnectorId
extractEntry(Match match)
Extract the corresponding entry from a match.protected void
serializeEntry(NodeConnectorId entry, io.netty.buffer.ByteBuf outBuffer)
-
Methods inherited from class org.opendaylight.openflowplugin.impl.protocol.serialization.match.AbstractPrimitiveEntrySerializer
extractEntryMask, serializeEntry
-
Methods inherited from class org.opendaylight.openflowplugin.impl.protocol.serialization.match.AbstractMatchEntrySerializer
serializeIfPresent, writeIpv4Address, writeIpv4Prefix, writeIpv6Address, writeIpv6Prefix, writeMacAddress, writeMask
-
-
-
-
Method Detail
-
extractEntry
protected NodeConnectorId extractEntry(Match match)
Description copied from class:AbstractMatchEntrySerializer
Extract the corresponding entry from a match.- Specified by:
extractEntry
in classAbstractMatchEntrySerializer<NodeConnectorId,Void>
- Parameters:
match
- Openflow match- Returns:
- Entry, null if not present
-
serializeEntry
protected void serializeEntry(NodeConnectorId entry, io.netty.buffer.ByteBuf outBuffer)
- Specified by:
serializeEntry
in classAbstractPrimitiveEntrySerializer<NodeConnectorId>
-
-