Class InstructionUtil


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

      • 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 version
        message - OpenFlow buffered message
        registry - 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 version
        message - OpenFlow buffered message
        registry - deserializer registry