The message both initiates and confirms the termination of a Drop Copy connection. When the client system sends a Logout (35=5) message, Drop Copy sends a Logout Confirmation (tag 35-MsgType=5) message and terminates the session. (35=5)
After sending a Logout (35=5) message, the client system should wait for a Logout Confirmation (35=5) message before closing the socket connection.
CME Globex also sends a Logout (35=5) message when it detects an error contained in the message sent by a client system. For example, if the client system submits an invalid password, it is logged out.
The following figure illustrates a successful logout scenario where the client system sends a Logout message and CME Globex responds with a Logout message.
If the client system sends a(35=5) message with tag 34-MsgSeqNum containing a lower sequence number than CME Globex is expecting, CME Globex automatically logs out the client system.
The following diagram illustrates this message flow.
The following diagram illustrates the message flow for a Logout scenario where the client's outbound sequence number is higher than what CME Globex is expecting.