tibemsXAResource

Type

Purpose

Coordinate XA transactions.

Remarks

Each tibemsXAResource instance can coordinate a series of transactions, but only one transaction at a time. A program that keeps n transactions open simultaneously must create n instances of this type.

The transaction manager assigns each resource instance a unique RMID, which it uses to bind together a thread, a resource and a transaction.

Function Description
tibemsXAResource_Commit Commit a transaction.
tibemsXAResource_End Disassociate a transaction from the resource.
tibemsXAResource_Forget Unimplemented.
tibemsXAResource_GetRMID Get the RMID of the resource.
tibemsXAResource_GetTransactionTimeout Get the timeout limit.
tibemsXAResource_isSameRM Determine whether two resource objects originate from the same connection to an EMS server.
tibemsXAResource_Prepare Prepare a transaction for commit.
tibemsXAResource_Recover Get a list of prepared transactions.
tibemsXAResource_Rollback Roll back a transaction.
tibemsXAResource_SetRMID Assign an RMID to a resource.
tibemsXAResource_SetTransactionTimeout Set the timeout limit.
tibemsXAResource_Start Associate a transaction with a resource.