pdcomm::GemResultInfo
Struct
Common information about a GemResult, returned by GemResult::info().
struct GemResultInfoMembers
acknowledgement
Field
Acknowledgement code from the reply (for example COMMACK, ONLACK, DRACK or HCACK); valid only when #acknowledgementPresent is true.
uint8_t acknowledgementacknowledgementPresent
Field
true when #acknowledgement holds a received or sent acknowledgement code.
bool acknowledgementPresentcode
Field
Failure detail: a PDCOMM_TCP_* failure reason for Failed results, or a PDCOMM_GEM_ERROR_* value for InvalidResponse and Unhandled results; otherwise 0.
uint32_t codeentryCount
Field
Number of entries that the typed getters can read (values, names, alarms, reports, rows or IDs, depending on the outcome).
size_t entryCountkind
Field
Result classification.
GemResultKind kindoutcome
Field
Meaning of the result.
GemOutcome outcomereplySent
Field
true when a reply to an incoming primary was sent, by the library or by a respond call.
bool replySentrequest
Field
Transaction kind the result belongs to.
GemRequest requeststate
Field
Endpoint state captured when the result was produced.
GemState statetoken
Field
Transaction token: the submitted request's token for replies and failures, or the incoming message's identity for primaries.
PdcommTcpToken token