- ADAPTS
const unsigned short ADAPTS = 3;
- Allows_either
const unsigned short Allows_either = 4;
- Allows_none
const unsigned short Allows_none = 1;
- Allows_shared
const unsigned short Allows_shared = 0;
- Allows_unshared
const unsigned short Allows_unshared = 3;
- EITHER
const unsigned short EITHER = 0;
- FORBIDS
const unsigned short FORBIDS = 2;
- INVOCATION_POLICY_TYPE
const unsigned long INVOCATION_POLICY_TYPE = 55;
- NON_TX_TARGE_POLICY_TYPE
const unsigned long NON_TX_TARGE_POLICY_TYPE = 57;
- OTS_POLICY_TYPE
const unsigned long OTS_POLICY_TYPE = 56;
- PERMIT
const unsigned short PERMIT = 1;
- PREVENT
const unsigned short PREVENT = 0;
- REQUIRES
const unsigned short REQUIRES = 1;
- Requires_either
const unsigned short Requires_either = 6;
- Requires_shared
const unsigned short Requires_shared = 2;
- Requires_ushared
const unsigned short Requires_ushared = 5;
- SHARED
const unsigned short SHARED = 1;
- TransactionPolicyType
const unsigned long TransactionPolicyType = 46;
- UNSHARED
const unsigned short UNSHARED = 2;
- InvocationPolicyValue
typedef unsigned short InvocationPolicyValue;
- NonTxTargetPolicyValue
typedef unsigned short NonTxTargetPolicyValue;
- otid_t
struct otid_t
{
long formatID;
long bqual_length;
tid; };
- OTSPolicyValue
typedef unsigned short OTSPolicyValue;
- PropagationContext
struct PropagationContext
{
unsigned long timeout;
CosTransactions::TransIdentity current;
parents; any implementation_specific_data;
};
- Status
enum Status
{
StatusActive,
StatusMarkedRollback,
StatusPrepared,
StatusCommitted,
StatusRolledBack,
StatusUnknown,
StatusNoTransaction,
StatusPreparing,
StatusCommitting,
StatusRollingBack
};
- TransactionPolicyValue
typedef unsigned short TransactionPolicyValue;
- TransIdentity
struct TransIdentity
{
CosTransactions::Coordinator coord;
CosTransactions::Terminator term;
CosTransactions::otid_t otid;
};
- Vote
enum Vote
{
VoteCommit,
VoteRollback,
VoteReadOnly
};