CosTransactions_TransactionFactory

Module

CosTransactions_TransactionFactory

Module Summary

This module implements the OMG CosTransactions::TransactionFactory interface.

Description

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

Exports

create(TransactionFactory, Timeout) -> Control

Types

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.