Skip to content
Start free evaluation

PdcommTcpToken

Struct

Identifies one transaction or received message of one endpoint generation.

typedef struct PdcommTcpToken { ... } PdcommTcpToken

Declared in: #include <pdcomm_tcp.h>

Tokens are plain values that you can copy and compare. A token whose endpoint or generation differs from the endpoint's current ones is stale.

Members

endpoint_id

Field

Process-unique, nonzero endpoint identity; 0 in an empty token.

uint64_t endpoint_id

Declared in: #include <pdcomm_tcp.h>

generation

Field

Connection generation in which the transaction or message occurred.

uint64_t generation

Declared in: #include <pdcomm_tcp.h>

reserved

Field

Reserved; the library writes 0, and tokens you pass in must have 0.

uint32_t reserved

Declared in: #include <pdcomm_tcp.h>

system_bytes

Field

HSMS system bytes of the message.

uint32_t system_bytes

Declared in: #include <pdcomm_tcp.h>