Coordinator::is_same_transaction

Overview Determines whether the target object and the parameter object both refer to the same transaction.
Original interface CosTransactions::Coordinator Interface


Intended Usage

Determines whether the target object and the parameter object both refer to the same transaction.

Syntax

  boolean is_same_transaction(in Coordinator tc);

Input parameters

tc
A pointer to the Coordinator object for a transaction.

Return values

TRUE
The target object and the parameter object both refer to the same transaction.
FALSE
The target object and the parameter object do not both refer to the same transaction.

Examples

The following examples demonstrate the usage of CosTransactions::Coordinator::is_same_transaction.

C++ Example

  /* C++ example */
  CosTransactions::Coordinator *c1, *c2;
  if( c1->is_same_transaction(c2) )
  {
      cout << "c1 represents the same transaction as c2" << endl;
  }
  else
  {
      cout << "c1 does not represent the same transaction as c2" << endl;
  }
 

Related reference
CosTransactions in the transaction service



Searchable topic ID:   rcor_ctsc15
Last updated: Jun 21, 2007 8:07:48 PM CDT    WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/corba/ref/rcor_ctsc15.html

Library | Support | Terms of Use | Feedback