CosTransactions_TransactionFactory

This module implements the OMG CosTransactions::TransactionFactory interface.

To get access to the record definitions for the structures use:
-include_lib("cosTransactions/include/CosTransactions.hrl").

Functions


create(TransactionFactory, Timeout) -> Control

  • TransactionFactory = #objref
  • Timeout = integer()
  • Control = #objref

This operation creates a new top-level transaction.

The Timeout argument can be:

0 - no timeout. N (integer() > 0) - the transaction will be subject to being rolled back if it does not complete before N seconds have elapsed.