[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.
Means heartbeat is recevied but after few milliseconds of heartbeat interval i.e. 30 seconds.
So I would like to know what is the tolerance limit for heartbeat interval ? is there any formula ?
Please do the let me know.

Regards,
Anand



 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

Generated at Thu May 16 00:53:11 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.