asrt
Automated System Runtime Testing library
Loading...
Searching...
No Matches
asrt_collect_server Struct Reference

Controller-side collect server (ASRT_COLL channel). More...

#include <collect.h>

Public Attributes

struct asrt_allocator alloc
 
struct asrt_collect_ready_data cmd
 
struct asrt_u8d2msg err_msg
 
asrt_flat_id next_node_id
 
struct asrt_node node
 
struct asrt_u8d9msg ready_msg
 
enum asrt_collect_server_state state
 
struct asrt_flat_tree tree
 
uint32_t tree_block_cap
 
uint32_t tree_node_cap
 

Detailed Description

Controller-side collect server (ASRT_COLL channel).

Owns a flat_tree that the reactor populates remotely via APPEND messages. This is the inverse of the param channel: param reads a tree from the reactor; the collector writes a tree from the reactor into the controller.

Typical lifecycle:

  1. Controller calls send_ready(root_id, ...) → READY sent to reactor.
  2. Reactor replies with READY_ACK → tick fires ack_cb.
  3. Reactor sends APPEND messages (fire-and-forget, no per-append ACK).
  4. After test ends, controller reads the tree via tree().

The documentation for this struct was generated from the following file: