Class AbstractPortNumberEntrySerializer
java.lang.Object
org.opendaylight.openflowplugin.impl.protocol.serialization.match.AbstractMatchEntrySerializer<E,Void>
org.opendaylight.openflowplugin.impl.protocol.serialization.match.AbstractPrimitiveEntrySerializer<org.opendaylight.yangtools.yang.common.Uint16>
org.opendaylight.openflowplugin.impl.protocol.serialization.match.AbstractUint16EntrySerializer
org.opendaylight.openflowplugin.impl.protocol.serialization.match.AbstractPortNumberEntrySerializer
- All Implemented Interfaces:
MatchEntrySerializer
- Direct Known Subclasses:
SctpDestinationPortEntrySerializer
,SctpSourcePortEntrySerializer
-
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
ModifierConstructorDescriptionprotected
AbstractPortNumberEntrySerializer
(int oxmClassCode, int oxmFieldCode) -
Method Summary
Modifier and TypeMethodDescriptionprotected final org.opendaylight.yangtools.yang.common.Uint16
extractEntry
(Match match) Extract the corresponding entry from a match.protected abstract @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber
extractPort
(Match match) Methods inherited from class org.opendaylight.openflowplugin.impl.protocol.serialization.match.AbstractUint16EntrySerializer
serializeEntry
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
-
Constructor Details
-
AbstractPortNumberEntrySerializer
protected AbstractPortNumberEntrySerializer(int oxmClassCode, int oxmFieldCode)
-
-
Method Details
-
extractEntry
Description copied from class:AbstractMatchEntrySerializer
Extract the corresponding entry from a match.- Specified by:
extractEntry
in classAbstractMatchEntrySerializer<org.opendaylight.yangtools.yang.common.Uint16,
Void> - Parameters:
match
- Openflow match- Returns:
- Entry, null if not present
-
extractPort
protected abstract @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber extractPort(Match match)
-