ProtoCore v1.0.16
Deterministic, zero-heap network stack for embedded targets
Loading...
Searching...
No Matches
protocore_signal_snapshot Struct Reference

The server's state, as the loop deposited it. More...

#include <signaling.h>

Public Attributes

uint32_t uptime_ms
 Milliseconds the server has been up.
 
uint32_t requests_total
 Responses sent.
 
uint32_t responses_2xx
 
uint32_t responses_4xx
 
uint32_t responses_5xx
 
uint32_t conns_active
 One bit per connection slot in use.
 
uint32_t listeners_up
 One bit per bound listener.
 

Detailed Description

The server's state, as the loop deposited it.

A struct rather than a set of getters so a reader takes one consistent picture in one call instead of interleaving reads while the loop runs between them.

Definition at line 61 of file signaling.h.

Member Data Documentation

◆ uptime_ms

uint32_t protocore_signal_snapshot::uptime_ms

Milliseconds the server has been up.

Definition at line 63 of file signaling.h.

◆ requests_total

uint32_t protocore_signal_snapshot::requests_total

Responses sent.

Definition at line 64 of file signaling.h.

◆ responses_2xx

uint32_t protocore_signal_snapshot::responses_2xx

Definition at line 65 of file signaling.h.

◆ responses_4xx

uint32_t protocore_signal_snapshot::responses_4xx

Definition at line 66 of file signaling.h.

◆ responses_5xx

uint32_t protocore_signal_snapshot::responses_5xx

Definition at line 67 of file signaling.h.

◆ conns_active

uint32_t protocore_signal_snapshot::conns_active

One bit per connection slot in use.

Definition at line 74 of file signaling.h.

◆ listeners_up

uint32_t protocore_signal_snapshot::listeners_up

One bit per bound listener.

Definition at line 75 of file signaling.h.


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