Class TcpSourcePortEntrySerializer
java.lang.Object
org.opendaylight.openflowplugin.impl.protocol.serialization.match.AbstractMatchEntrySerializer<Layer4Match,org.opendaylight.yangtools.yang.common.Uint16>
org.opendaylight.openflowplugin.impl.protocol.serialization.match.AbstractPortNumberWithMaskEntrySerilizer
org.opendaylight.openflowplugin.impl.protocol.serialization.match.TcpSourcePortEntrySerializer
- All Implemented Interfaces:
MatchEntrySerializer
-
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
-
Method Summary
Modifier and TypeMethodDescriptionprotected Layer4Match
extractEntry
(Match match) Extract the corresponding entry from a match.protected org.opendaylight.yangtools.yang.common.Uint16
extractMask
(Layer4Match entry) protected org.opendaylight.yangtools.yang.common.Uint16
extractPort
(Layer4Match l4match) Methods inherited from class org.opendaylight.openflowplugin.impl.protocol.serialization.match.AbstractPortNumberWithMaskEntrySerilizer
extractEntryMask, serializeEntry
Methods inherited from class org.opendaylight.openflowplugin.impl.protocol.serialization.match.AbstractMatchEntrySerializer
serializeIfPresent, writeIpv4Address, writeIpv4Prefix, writeIpv6Address, writeIpv6Prefix, writeMacAddress, writeMask
-
Constructor Details
-
TcpSourcePortEntrySerializer
public TcpSourcePortEntrySerializer()
-
-
Method Details
-
extractPort
- Specified by:
extractPort
in classAbstractPortNumberWithMaskEntrySerilizer
-
extractEntry
Description copied from class:AbstractMatchEntrySerializer
Extract the corresponding entry from a match.- Specified by:
extractEntry
in classAbstractMatchEntrySerializer<Layer4Match,
org.opendaylight.yangtools.yang.common.Uint16> - Parameters:
match
- Openflow match- Returns:
- Entry, null if not present
-
extractMask
- Specified by:
extractMask
in classAbstractPortNumberWithMaskEntrySerilizer
-