3.2.5.9 Receiving QUERY TIP Command

This event MUST be signaled with the following argument:

  • superior's transaction identifier

When the TIP superior transaction manager facet (section 1.3.1.2.1) receives a QUERY TIP command, it MUST perform the following actions:

  • If the value of the Allow Network Transactions flag or the Allow Outbound Transactions flag is FALSE:

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

    • The Connection Type field is set to Secondary.

    • The State field is set to Idle.

  • If the receiving TIP connection does not satisfy the conditions, signal the Invalid TIP Command Event (section 3.4.7.1) and terminate the processing of this TIP command.

  • Call the Transaction Identifier Converter's Convert TIP Transaction Identifier to Transaction Identifier operation with the following argument:

    • The provided superior's transaction identifier.

  • Attempt to find a transaction object in the transaction table of the core transaction manager facet that meets the following condition:

    • Transaction Identifier is set to the return value from Transaction Identifier Converter's Convert TIP Transaction Identifier to Transaction Identifier operation.

  • If a transaction object is found, send a QUERIEDEXISTS TIP command.

  • Otherwise, send a QUERIEDNOTFOUND TIP command.