3.3.5.7 Receiving QUERIEDEXISTS TIP Command

When the TIP subordinate transaction manager facet (section 1.3.1.2.2) receives a QUERIEDEXISTS TIP command, it MUST perform the following actions:

  • Test whether the receiving TIP connection object meets any of the following conditions:

    • The State field of the receiving TIP connection object is not set to Idle Query.

    • The Connection Type field of the receiving TIP connection object is not set to Primary.

  • If the receiving TIP connection satisfies any of the conditions, signal the Invalid TIP Command Event (section 3.3.7.1) and terminate the processing of this event.

  • Create a query timer (section 3.3.2.1) with the following arguments:

    • The enlistment object referenced by the receiving TIP connection object.

    •  An implementation-specific timer value.

  • Set the State field of the receiving TIP connection object to Idle.

  • Call the TIP connection manager's FreeTipConnection operation with the following argument:

    • The provided TIP connection object.