Class InstructionUtil
java.lang.Object
org.opendaylight.openflowplugin.impl.protocol.serialization.util.InstructionUtil
Utility class for instruction serialization.
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
writeInstruction
(Instruction instruction, org.opendaylight.yangtools.yang.common.Uint8 version, SerializerRegistry registry, io.netty.buffer.ByteBuf outBuffer) Serialize instruction.static void
writeInstructionHeader
(Instruction instruction, org.opendaylight.yangtools.yang.common.Uint8 version, SerializerRegistry registry, io.netty.buffer.ByteBuf outBuffer) Serialize instruction header.
-
Method Details
-
writeInstruction
public static void writeInstruction(Instruction instruction, org.opendaylight.yangtools.yang.common.Uint8 version, SerializerRegistry registry, io.netty.buffer.ByteBuf outBuffer) Serialize instruction.- Parameters:
instruction
- OpenFlow instructionversion
- OpenFlow versionregistry
- OpenFlowJava serializer registryoutBuffer
- output buffer
-
writeInstructionHeader
public static void writeInstructionHeader(Instruction instruction, org.opendaylight.yangtools.yang.common.Uint8 version, SerializerRegistry registry, io.netty.buffer.ByteBuf outBuffer) Serialize instruction header.- Parameters:
instruction
- OpenFlow instructionversion
- OpenFlow versionregistry
- OpenFlowJava serializer registryoutBuffer
- output buffer
-