Class InstructionUtil


  • public final class InstructionUtil
    extends Object
    Utility class for instruction serialization.
    • Method Detail

      • 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 instruction
        version - OpenFlow version
        registry - OpenFlowJava serializer registry
        outBuffer - 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 instruction
        version - OpenFlow version
        registry - OpenFlowJava serializer registry
        outBuffer - output buffer