RE: [Quickfix-users] Re: .NET Can not open bpdy file ... unreleasedresources
Brought to you by:
orenmnero
From: Ajay K. <Aja...@tr...> - 2006-04-27 15:03:28
|
I think that the behavior of logout() is a bit counterintuitive partly because IMHO the method is misnamed. A better name would have been suspend() which would make it clear that auto-connect attempts will be turned off. And the complementary function would be resume() which would re-enable the auto connect attempts. =20 - Ajay -----Original Message----- From: Dale Wilson [mailto:wil...@oc...]=20 Sent: Thursday, April 27, 2006 10:50 AM To: Tom Frey Cc: qui...@li... Subject: Re: [Quickfix-users] Re: .NET Can not open bpdy file ... unreleasedresources =09 =09 Hi Tom: =09 In onLogout call session->logout(); It seems a bit counterintuitive, but that stops the automatic retries -- you're telling QuickFIX, "I really MEAN to be logged out -- it's not just an accident." =09 When the application is ready to try again, calling session->logon() starts things up again. =09 Dale =09 Tom Frey wrote:=20 Hm, so how others currently handling this: I have a socket initiator that tries to connect to a server but the server is down or maybe has some error. QuickFix will keep connecting as I can't stop the ThreadedSocketInitiator or my app will crash with some weird exceptions when I try. So I have no choice but bringing down my whole server that hosts the fix enviroment to stop the connection attempts? Also, when I just want to modify the config file, I need to bring the server down again? Imho this is a very high priority bug.=20 =09 Tom =09 -------------------------------------------------------------------------= -- The information in this email is confidential and may be legally = privileged. It is intended solely for the addressee. Access to this email by anyone = else is unauthorized. If you are not the intended recipient, any disclosure, = copying, distribution or any action taken or omitted to be taken in reliance on = it, is prohibited and may be unlawful. TradeWeb reserves the right to monitor and review the content of all = messages sent to or from this e-mail address. Messages sent to or from this e-mail = address may be stored on the TradeWeb e-mail system. |