Class TcpDestinationPortEntrySerializer
- 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.TcpDestinationPortEntrySerializer
-
- All Implemented Interfaces:
MatchEntrySerializer
public class TcpDestinationPortEntrySerializer extends AbstractPortNumberWithMaskEntrySerilizer
-
-
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 TcpDestinationPortEntrySerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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
-
-
-
-
Method Detail
-
extractPort
protected org.opendaylight.yangtools.yang.common.Uint16 extractPort(Layer4Match l4match)
- Specified by:
extractPort
in classAbstractPortNumberWithMaskEntrySerilizer
-
extractEntry
protected Layer4Match extractEntry(Match match)
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
protected org.opendaylight.yangtools.yang.common.Uint16 extractMask(Layer4Match entry)
- Specified by:
extractMask
in classAbstractPortNumberWithMaskEntrySerilizer
-
-