3.2.7.3.2 Begin Phase One
The Begin Phase One event MUST be signaled by the core transaction manager facet with the following arguments:
An enlistment object.
A single-phase commit flag. A value of TRUE indicates that a single-phase commit operation SHOULD be performed on the transaction. A value of FALSE indicates that a single-phase commit operation MUST NOT be performed on the transaction.
If the Begin Phase One event is signaled, the TIP superior transaction manager facet (section 1.3.1.2.1) MUST perform the following actions:
If the single-phase commit flag is set to TRUE:
Set the State field of the TIP connection object referenced by the provided enlistment object to Enlisted Commit.
Send a COMMIT TIP command.
Otherwise:
Set the State field of the TIP connection object referenced by the provided enlistment object to Enlisted Prepare.
Send a PREPARE TIP command.