[QFJ-439] What is time frame when heartbeat message has to be processed by Initiator. Created: 25/May/09 Updated: 15/Nov/12 Resolved: 24/Jun/09 |
|
Status: | Closed |
Project: | QuickFIX/J |
Component/s: | Documentation |
Affects Version/s: | 1.3.0 |
Fix Version/s: | None |
Type: | Other | Priority: | Default |
Reporter: | Anand Arjaria | Assignee: | Laurent Danesi |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Environment: |
Windows XP |
Description |
Hi, I am observing an issue where Initiator disonnect the connection if it misses heart beat by few millis second. Regards, |
Comments |
Comment by Laurent Danesi [ 26/May/09 ] |
Hi, A connection is considered as TimedOut when this function return true: public boolean isTimedOut() { long millisSinceLastReceivedTime = timeSinceLastReceivedMessage(); return millisSinceLastReceivedTime >= 2.4 * getHeartBeatMillis(); }The entrypoint is the method next() on Session object and it is called every second by a timertask. Laurent |