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
public abstract class AbstractPortNumberEntrySerializer extends AbstractUint16EntrySerializer
-
-
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
AbstractPortNumberEntrySerializer(int oxmClassCode, int oxmFieldCode)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected 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
-
-
-
-
Method Detail
-
extractEntry
protected final org.opendaylight.yangtools.yang.common.Uint16 extractEntry(Match match)
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)
-
-