pdcomm::GemSpoolState
Struct
State of the spool, returned by GemEndpoint::spoolState().
struct GemSpoolStateTimestamps and statistics are application-supplied values, not SEMI-defined IDs.
Members
active
Field
true while spooling is active (communication lost).
bool activebodyBytes
Field
Total bytes of stored message bodies.
size_t bodyBytescatalogCount
Field
Registered spoolable stream and function pairs.
size_t catalogCountconnected
Field
Connection state observed at the last synchronization.
bool connecteddeliveryPending
Field
true while a delivery attempt is in flight.
bool deliveryPendingdequeuePending
Field
true when a delivered entry still waits for GemEndpoint::retrySpoolDequeue().
bool dequeuePendingdiscarded
Field
Messages discarded or overwritten because the spool was full.
uint64_t discardedenabled
Field
Global spooling switch.
bool enabledfullTime
Field
Application timestamp when the spool became full; valid when #fullTimePresent is true.
uint64_t fullTimefullTimePresent
Field
true when #fullTime is set.
bool fullTimePresentmaxTransmit
Field
Configured messages per transmit run; 0 means unbounded.
uint32_t maxTransmitmessageCount
Field
Stored messages.
size_t messageCountnextId
Field
ID the next stored entry will get.
uint64_t nextIdoverflow
Field
Configured overflow behaviour.
GemSpoolOverflow overflowpersistent
Field
true when the spool is backed by a file.
bool persistentreceived
Field
Selected messages offered for capture.
uint64_t receivedselectionCount
Field
Selected streams.
size_t selectionCountstartTime
Field
Application timestamp when spooling started; valid when #startTimePresent is true.
uint64_t startTimestartTimePresent
Field
true when #startTime is set.
bool startTimePresentstored
Field
Messages stored.
uint64_t storedsynchronized
Field
true when GemEquipment::syncSpool() observed the current connection state.
bool synchronizedtransmitted
Field
Messages delivered and removed from the spool.
uint64_t transmittedtransmittedInRun
Field
Messages sent in the current transmit run.
uint32_t transmittedInRuntransmitting
Field
true during a transmit run accepted by S6F23.
bool transmitting