Class AbstractActionInstructionDeserializer

    • Constructor Detail

      • AbstractActionInstructionDeserializer

        public AbstractActionInstructionDeserializer​(ActionPath actionPath)
        Create new instacte of action instruction deserializer.
        Parameters:
        actionPath - action extension path
    • Method Detail

      • readHeader

        protected static int readHeader​(io.netty.buffer.ByteBuf message)
        Skip first few bytes of instruction message because they are irrelevant and then return length.
        Parameters:
        message - Openflow buffered message
        Returns:
        instruction length
      • readActions

        protected List<Action> readActions​(io.netty.buffer.ByteBuf message,
                                           int length)
        Read list of actions from message.
        Parameters:
        message - Openflow buffered message
        length - instruction length
        Returns:
        list of actions