1. If we have done nothing for heartbeat period, send a heartbeat.
2. If the counterparty has done nothing for heartbeat + a reasonable time
send a TestRequest. Wait for heartbeat*2 and if no answer then logout
with LogoutMessageType= "Test Request Timeout"
1. If we have done nothing for heartbeat period, send a heartbeat. 2. If the counterparty has done nothing for heartbeat + a reasonable time send a TestRequest. Wait for heartbeat*2 and if no answer then logout with LogoutMessageType= "Test Request Timeout"