Class OF10MatchDeserializer
java.lang.Object
org.opendaylight.openflowjava.protocol.impl.util.OF10MatchDeserializer
- All Implemented Interfaces:
OFDeserializer<MatchV10>
,OFGeneralDeserializer
Deserializes ofp_match (OpenFlow v1.0) structure.
- Author:
- michal.polkorab
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic FlowWildcardsV10
createWildcards
(long input) Decodes FlowWildcards.static @NonNull org.opendaylight.yangtools.yang.common.Uint8
decodeNwDstMask
(long input) Decodes NwDstMask from FlowWildcards (represented as uint32).static @NonNull org.opendaylight.yangtools.yang.common.Uint8
decodeNwSrcMask
(long input) Decodes NwSrcMask from FlowWildcards (represented as uint32).deserialize
(io.netty.buffer.ByteBuf input) Transforms byte message into POJO/DTO (of type E).
-
Constructor Details
-
OF10MatchDeserializer
public OF10MatchDeserializer()
-
-
Method Details
-
deserialize
Description copied from interface:OFDeserializer
Transforms byte message into POJO/DTO (of type E).- Specified by:
deserialize
in interfaceOFDeserializer<MatchV10>
- Parameters:
input
- message as bytes in ByteBuf- Returns:
- POJO/DTO
-
createWildcards
Decodes FlowWildcards.- Parameters:
input
- input ByteBuf- Returns:
- decoded FlowWildcardsV10
-
decodeNwSrcMask
public static @NonNull org.opendaylight.yangtools.yang.common.Uint8 decodeNwSrcMask(long input) Decodes NwSrcMask from FlowWildcards (represented as uint32).- Parameters:
input
- binary FlowWildcards- Returns:
- decoded NwSrcMask
-
decodeNwDstMask
public static @NonNull org.opendaylight.yangtools.yang.common.Uint8 decodeNwDstMask(long input) Decodes NwDstMask from FlowWildcards (represented as uint32).- Parameters:
input
- binary FlowWildcards- Returns:
- decoded NwDstMask
-