3.5.5.1.3 Connection Disconnected

When a CONNTYPE_XATM_OPEN connection is disconnected, the XA Resource Manager Bridge MUST perform the following actions:

  • If the State of Connection is set to Awaiting Open Response:

    • Remove the XA Resource Manager Proxy object referenced by the receiving Connection from the Two-Pipe XA Resource Manager Proxy Table.

    • Set the State of the receiving Connection to Ended.

    • Return failure to Register Two-Pipe XA Resource Manager event.

  • Otherwise if the State of the Connection is set to Active:

    • Remove the XA Resource Manager Proxy object referenced by the receiving Connection from the Two-Pipe XA Resource Manager Proxy Table.

    • Set the State of receiving Connection to Ended.

  • Otherwise, this event MUST be processed as specified in section 3.1.8.2.