3.1.5.10 Receiving a Message Command

If a Message command is received with a SessionId field identifying a session for which there is no state, the recipient MUST send a ConnectClose as specified in section 3.1.4.2 with a ReasonId of TooManyUnknownSessionCmds (0x0f).

If a Message command is received on a session for which the MessageReceiver is not in the ‘waiting’ state, the recipient MUST send a ConnectClose as specified in section 3.1.4.2 with a ReasonId of ProtocolError (0x03).

Upon receiving the Message command, the MessageReceiver state MUST be set to ‘ready’.

If the Message command contains a nonzero MessageCount field value, the OutboundMessageList acknowledgment handling MUST be performed, as specified in section 3.1.5.19.