Class InstructionUtil
java.lang.Object
org.opendaylight.openflowplugin.impl.protocol.deserialization.util.InstructionUtil
Utility class for action deserialization.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Instruction
readInstruction
(org.opendaylight.yangtools.yang.common.Uint8 version, io.netty.buffer.ByteBuf message, DeserializerRegistry registry) Deserialize OpenFlow instruction.static Instruction
readInstructionHeader
(org.opendaylight.yangtools.yang.common.Uint8 version, io.netty.buffer.ByteBuf message, DeserializerRegistry registry) Deserialize OpenFlow instruction header.
-
Method Details
-
readInstruction
public static Instruction readInstruction(org.opendaylight.yangtools.yang.common.Uint8 version, io.netty.buffer.ByteBuf message, DeserializerRegistry registry) Deserialize OpenFlow instruction.- Parameters:
version
- OpenFlow versionmessage
- OpenFlow buffered messageregistry
- deserializer registry
-
readInstructionHeader
public static Instruction readInstructionHeader(org.opendaylight.yangtools.yang.common.Uint8 version, io.netty.buffer.ByteBuf message, DeserializerRegistry registry) Deserialize OpenFlow instruction header.- Parameters:
version
- OpenFlow versionmessage
- OpenFlow buffered messageregistry
- deserializer registry
-