|
From: Chris B. <cbl...@gm...> - 2018-01-16 22:59:14
|
I'm looking for a way to detect when my initiator app loses its connection to the acceptor for an extended period of time without being able to reconnect. I can see the disconnect happen in the onLogout callback, but that happens immediately and I want to give quickfix a chance to reconnect before I start automatically creating trouble tickets. I can start a thread when onLogout happens and wait for a while, but when I check the session's status with isLoggedOn it always returns "true". I even checked it immediately after entering onLogout, but it's still "true". Is there some other way to check the logon status of a session? |