3.1.7.2.1 Received Message
The Received Message event is signaled when a TCP message arrives on the TIP port. When this event is signaled, the TIP transaction manager facet MUST perform the following actions:
If the value of the Allow Non-Default Port flag is FALSE and the provided TCP connection did not originate from port 3372, terminate the connection and terminate the processing of this event.
Call the GetTipConnection operation (section 3.1.1.3.1) with the TCP connection as an input parameter. This returns a TIP connection object (section 3.1.1.2) whose data fields include the following:
Transport Connection: The provided TCP connection.
Parse the message data into separate TIP commands according to the ABNF rules as specified in section 2.2. To support Pipelining, the incoming message is parsed into separate TIP commands.
If this parsing is not successful, signal the Invalid TIP Command event (section 3.1.7.1) and terminate the processing of this event.
For each of the TIP commands in this message, do the following:
Build a TIP command object from the parsed TIP command name, parameters, and the TIP connection object.
The TIP command object is now ready to be processed as an incoming message event.