Overview | Returns to a caller the status of the parent transaction of the transaction associated with the target object. |
Original interface | CosTransactions::Coordinator Interface |
Intended Usage
If the transaction associated with the target object is a top-level transaction, this operation is equivalent to the Coordinator::get_status Operation.
If the transaction is not a top-level transaction, this operation returns the status of the parent of the transaction associated with the target object.
Syntax
Status get_parent_status();
Input parameters
None.
Return values
Examples
The following example demonstrates the usage of CosTransactions::Coordinator::get_parent_status.
C++ Example
CosTransactions::Coordinator *coord; CosTransactions::Status *status; status = coord->get_parent_status();