Class InstructionUtil
- java.lang.Object
-
- org.opendaylight.openflowplugin.impl.protocol.serialization.util.InstructionUtil
-
public final class InstructionUtil extends Object
Utility class for instruction serialization.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
writeInstruction(Instruction instruction, short version, SerializerRegistry registry, io.netty.buffer.ByteBuf outBuffer)
Serialize instruction.static void
writeInstructionHeader(Instruction instruction, short version, SerializerRegistry registry, io.netty.buffer.ByteBuf outBuffer)
Serialize instruction header.
-
-
-
Method Detail
-
writeInstruction
public static void writeInstruction(Instruction instruction, short 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, short version, SerializerRegistry registry, io.netty.buffer.ByteBuf outBuffer)
Serialize instruction header.- Parameters:
instruction
- OpenFlow instructionversion
- OpenFlow versionregistry
- OpenFlowJava serializer registryoutBuffer
- output buffer
-
-