MqEnvS - the class known as env or environment is used to store the protected environment in an service-call … More...
#include <LibMqMsgque_mq.h>
Data Fields | ||
union { | ||
struct MkObjectS obj | ||
} | super | |
MQ_HDL | transSId | |
storage for the shortterm-transaction | ||
enum MqHandShakeE | handShake | |
what kind of call is it: S)tart, O)k or E)rror | ||
enum MqTransTypeE | transType | |
what kind of transaction is it: W)ait, T)rans, S)ub, C)allback or N)o | ||
MQ_LTR | transLId | |
longterm-transaction-id (rowid from readTrans table) used for persistent-transaction | ||
MQ_LTR | rmtTransLId | |
remote transaction-id (rowid from the remote readTrans table) if ">0LL" -> the value to use or "OLL" -> get value from the database | ||
MQ_HDL | routeId | |
TODO: route-id remote or local. (rowid from the Routing-Table) if "0" -> the default route is used) | ||
struct MqEnvS * | link | |
work together with MqEnvProtect and MqEnvRestore | ||
struct { | ||
bool SIdLck: 1 | ||
Short-Term-Transaction-Lock -> the "transSId" was already used. More... | ||
bool LIdLck: 1 | ||
Long-Term-Transaction-Lock -> the "transLId" was forwarded. More... | ||
} | bits | |
MqEnvS - the class known as env or environment is used to store the protected environment in an service-call …
This struct hold parsed parts of the package-header and is guaranteed to be restored after the service-call.
read more at: MqContextC_EnvApi_C_API
Definition at line 768 of file LibMqMsgque_mq.h.
struct { ... } MqEnvS::bits |
enum MqHandShakeE MqEnvS::handShake |
what kind of call is it: S)tart, O)k or E)rror
Definition at line 778 of file LibMqMsgque_mq.h.
bool MqEnvS::LIdLck |
Long-Term-Transaction-Lock -> the "transLId" was forwarded.
Definition at line 786 of file LibMqMsgque_mq.h.
struct MqEnvS* MqEnvS::link |
work together with MqEnvProtect and MqEnvRestore
Definition at line 783 of file LibMqMsgque_mq.h.
struct MkObjectS MqEnvS::obj |
Definition at line 772 of file LibMqMsgque_mq.h.
MQ_LTR MqEnvS::rmtTransLId |
remote transaction-id (rowid from the remote readTrans table)
if ">0LL" -> the value to use or "OLL" -> get value from the database
Definition at line 781 of file LibMqMsgque_mq.h.
MQ_HDL MqEnvS::routeId |
TODO: route-id remote or local. (rowid from the Routing-Table)
if "0" -> the default route is used)
Definition at line 782 of file LibMqMsgque_mq.h.
bool MqEnvS::SIdLck |
Short-Term-Transaction-Lock -> the "transSId" was already used.
Definition at line 785 of file LibMqMsgque_mq.h.
union { ... } MqEnvS::super |
MQ_LTR MqEnvS::transLId |
longterm-transaction-id (rowid from readTrans table)
used for persistent-transaction
Definition at line 780 of file LibMqMsgque_mq.h.
MQ_HDL MqEnvS::transSId |
storage for the shortterm-transaction
Definition at line 777 of file LibMqMsgque_mq.h.
enum MqTransTypeE MqEnvS::transType |
what kind of transaction is it: W)ait, T)rans, S)ub, C)allback or N)o
Definition at line 779 of file LibMqMsgque_mq.h.