Class OF10MatchDeserializer
- java.lang.Object
-
- org.opendaylight.openflowjava.protocol.impl.util.OF10MatchDeserializer
-
- All Implemented Interfaces:
OFDeserializer<MatchV10>
,OFGeneralDeserializer
public class OF10MatchDeserializer extends Object implements OFDeserializer<MatchV10>
Deserializes ofp_match (OpenFlow v1.0) structure.- Author:
- michal.polkorab
-
-
Constructor Summary
Constructors Constructor Description OF10MatchDeserializer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FlowWildcardsV10
createWildcards(long input)
Decodes FlowWildcards.static short
decodeNwDstMask(long input)
Decodes NwDstMask from FlowWildcards (represented as uint32).static short
decodeNwSrcMask(long input)
Decodes NwSrcMask from FlowWildcards (represented as uint32).MatchV10
deserialize(io.netty.buffer.ByteBuf input)
Transforms byte message into POJO/DTO (of type E).
-
-
-
Method Detail
-
deserialize
public MatchV10 deserialize(io.netty.buffer.ByteBuf input)
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
public static FlowWildcardsV10 createWildcards(long input)
Decodes FlowWildcards.- Parameters:
input
- input ByteBuf- Returns:
- decoded FlowWildcardsV10
-
decodeNwSrcMask
public static short decodeNwSrcMask(long input)
Decodes NwSrcMask from FlowWildcards (represented as uint32).- Parameters:
input
- binary FlowWildcards- Returns:
- decoded NwSrcMask
-
decodeNwDstMask
public static short decodeNwDstMask(long input)
Decodes NwDstMask from FlowWildcards (represented as uint32).- Parameters:
input
- binary FlowWildcards- Returns:
- decoded NwDstMask
-
-