PdcommGemSpoolState
Struct
Snapshot of an Equipment spool, filled by pdcomm_gem_spool_state().
typedef struct PdcommGemSpoolState { ... } PdcommGemSpoolStateMembers
active
Field
1 when spooling is active (E30 SPOOL ACTIVE): messages are being stored or are still waiting for delivery.
uint8_t activebody_bytes
Field
Total encoded body bytes of the spooled messages.
size_t body_bytescatalog_count
Field
Number of catalog entries.
size_t catalog_countconnected
Field
1 when the last sync observed a Selected, Communicating connection.
uint8_t connecteddelivery_pending
Field
1 while a delivery attempt is in flight or an acknowledged dequeue is pending.
uint8_t delivery_pendingdequeue_pending
Field
1 when a delivered head entry still has to be dequeued with pdcomm_gem_spool_retry_dequeue().
uint8_t dequeue_pendingdiscarded
Field
Messages discarded or overwritten because the spool was full.
uint64_t discardedenabled
Field
1 when spooling is enabled.
uint8_t enabledfull_time
Field
Application timestamp when the spool became full (E30 SpoolFullTime); valid when full_time_present is 1.
uint64_t full_timefull_time_present
Field
1 when full_time holds a value.
uint8_t full_time_presentmax_transmit
Field
Current per-run transmit limit; 0 means unbounded.
uint32_t max_transmitmessage_count
Field
Number of spooled messages (E30 SpoolCountActual).
size_t message_countnext_id
Field
Entry ID that the next stored message receives.
uint64_t next_idoverflow
Field
Current overflow policy: #PDCOMM_GEM_SPOOL_DISCARD_NEW or #PDCOMM_GEM_SPOOL_OVERWRITE_OLDEST.
uint32_t overflowpersistent
Field
1 when the spool is backed by a snapshot file; 0 for RAM.
uint8_t persistentreceived
Field
Selected messages offered for spooling while active, stored or discarded.
uint64_t receivedselection_count
Field
Number of streams in the current selection.
size_t selection_countstart_time
Field
Application timestamp when spooling started (E30 SpoolStartTime); valid when start_time_present is 1.
uint64_t start_timestart_time_present
Field
1 when start_time holds a value.
uint8_t start_time_presentstored
Field
Messages stored in the spool.
uint64_t storedstruct_size
Field
Size of this structure in bytes; set to sizeof(PdcommGemSpoolState) or larger before the call.
size_t struct_sizesynchronized
Field
1 when the last pdcomm_gem_spool_sync() still matches the current connection state.
uint8_t synchronizedtransmitted
Field
Spooled messages delivered and dequeued.
uint64_t transmittedtransmitted_in_run
Field
Messages dequeued in the current transmission run.
uint32_t transmitted_in_runtransmitting
Field
1 while a transmission run accepted by S6F23 is in progress.
uint8_t transmitting