3.3.5 Message Processing Events and Sequencing Rules
The processing of messages received from a TDS 4.2 client depends on the message type and the state the TDS 4.2 server is in. The message type is determined from the TDS 4.2 packet type and the token stream inside the TDS 4.2 packet payload, as described in section 2.2. The rest of this section describes message processing and the possible actions that can be taken on messages.
The corresponding action will be taken when the server is in the following states.