Re: [Quickfix-developers] Starting QuickFix Engine
Brought to you by:
orenmnero
|
From: Dale W. <wil...@oc...> - 2006-03-14 17:52:30
|
If you want to go to the effort, you could even add code to toAdmin to count the number of Logon messages. Reset the count if you ever get a onLogon callback. Dale Oren Miller wrote: > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > No, but you can keep track of how much time has elapsed and query > isLoggedOn to see if the connection is succesfull. If you want you > can read in the recconnectInterval settings and multiply it by the > number of connections you are interested in. i.e., if the interval is > set to 10 seconds and you want 5 attempts, (10 * 5) - 10 = 40 seconds. > > --oren > > On Mar 14, 2006, at 8:26 AM, Nick Volpe wrote: > >> >> Thanks for the swift reply. Will the engine try and start >> indefinitely, or is there another configuration option to specify the >> number of attempts? If not, can I somehow query the number of >> attempts so that I can stop trying and exit if the engine hasn't >> connected to the acceptor after a specific number of attempts? >> >> Regards. >> Nik >> >> >> >> |