Details
-
Type: Bug
-
Status: Closed
-
Priority: Default
-
Resolution: Cannot Reproduce
-
Affects Version/s: 1.5.2
-
Fix Version/s: None
-
Component/s: None
-
Environment:Open Suse 12.1 Asparagus
Description
I need to implement the SessionStateListener in the Initiator to understand when there is a network disconnect event.
Firstly, I defined my Initiator to Implement SessionStateListener, Then I added the listener by:
Session.lookupSession(quickfixSessionID).addStateListener(fixInitiator);
and now trying to receive following callbacks to check if the network is down:
@Override
public void onMissedHeartBeat()
@Override
public void onHeartBeatTimeout()
But the onMissedHeartBeat() and OnHeartbeatTimeout() methods are called only once the network connection is reestablished. I need to understand when the network went down and when it came back.
Please send me if you have any solution for the above to [email protected]
Attachments
Issue Links
- is duplicated by
-
QFJ-692 QuickfixJ Session not disconnecting when Network unavailable/unplugged
- Closed