3.5.5.2.5 Connection Disconnected

When a CONNTYPE_XATM_OPENONEPIPE connection (section 2.2.3.3) is disconnected, the XA Resource Manager Bridge MUST perform the following actions:

  • If the State of the receiving Connection is set to Awaiting Open Response (section 3.5.1.2.2):

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

    • Set the State of the receiving Connection to Ended.

    • Return failure to the Register One-Pipe XA Resource Manager event (section 3.5.4.4).

  • Otherwise, if the State of the receiving Connection is set to Awaiting Close Response (section 3.5.1.2.4):

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

    • Set the State of the receiving Connection to Ended.

    • Return success to the Unregister One-Pipe XA Resource Manager event (section 3.5.4.5).

  • 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 One-Pipe XA Resource Manager Proxy Table.

    • Set the State of the receiving Connection to Ended.

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