---
name: "CosTransactions_TransactionFactory"
section: "3erl"
platform: "linux"
package: "erlang-manpages"
version: "1:19.2.1+dfsg-2+deb9u3"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/CosTransactions_TransactionFactory"
---

# CosTransactions\_TransactionFactory(3erl)

This module implements the OMG CosTransactions::TransactionFactory interface.

## NAME

CosTransactions\_TransactionFactory - 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.
