Could somebody explain Quickfix/J connectivity as a finite state machine (ideally w/ a diagram)?
Specifically what is the difference between the methods in SessionStateListener
, (presumably representing the state changes), and what order should they occur in? :
- onConnect
- onDisconnect
- onLogon
- onLogout
- onReset
- onRefresh
- onMissedHeartBeat
- onHeartBeatTimeout
What's the difference, for example between logon and connect? How is reset different from disconnect? how does onMissedHeartBeat
differ from onHeartBeatTimeout
? Is there a specific order these occur in e.g. can disconnect happen after a logon, but before a logoff? In this case would the state be reset to "logged out"?