Class InstructionUtil


  • public final class InstructionUtil
    extends Object
    Utility class for action deserialization.
    • Method Detail

      • readInstruction

        public static Instruction readInstruction​(short version,
                                                  io.netty.buffer.ByteBuf message,
                                                  DeserializerRegistry registry)
        Deserialize OpenFlow instruction.
        Parameters:
        version - OpenFlow version
        message - OpenFlow buffered message
        registry - deserializer registry
      • readInstructionHeader

        public static Instruction readInstructionHeader​(short version,
                                                        io.netty.buffer.ByteBuf message,
                                                        DeserializerRegistry registry)
        Deserialize OpenFlow instruction header.
        Parameters:
        version - OpenFlow version
        message - OpenFlow buffered message
        registry - deserializer registry