3.1.1.3.1 GetTipConnection Operation
The GetTipConnection operation is called when a TCP message is received on the TCP connection.
The input parameter for this operation MUST be a TCP connection.
This returns a TIP connection object whose data fields MUST include:
Transport Connection is the provided TCP connection.
When this operation is called, the TIP connection manager MUST perform the following actions:
Attempt to find a TIP connection object corresponding to the provided TCP connection.
If a TIP connection is found:
Return the TIP connection.
Otherwise:
Create a new TIP connection object and initialize it with the following values:
The Connection Type field is initialized to Secondary.
The State field is initialized to Initial.
The Transport Connection field is set to the provided TCP connection.
The Enlistment field is set to null.
The Partner Transaction Manager Address field is set to null.
Return the TIP connection object.