Re: [Quickfix-developers] QuickFix.SocketInitiator.stop() hang ?
Brought to you by:
orenmnero
From: Martin T. <mta...@ho...> - 2006-01-25 16:52:30
|
I don't see the logoff() method in the CVS initiator object, is this the good path? http://cvs.sourceforge.net/viewcvs.py/quickfix/quickfix/src/C%2B%2B/Initiator.cpp?rev=1.24&view=log Thanks, Martin ----Original Message Follows---- From: Oren Miller <or...@qu...> To: Martin Tanguay <mta...@ho...> CC: qui...@li... Subject: Re: [Quickfix-developers] QuickFix.SocketInitiator.stop() hang ? Date: Tue, 24 Jan 2006 13:03:07 -0600 Use the logoff method on the initiator object. If the .NET api in the latest release does not expose it, you will need to get the latest from CVS. --oren Martin Tanguay wrote: >QuickFIX Documentation: >http://www.quickfixengine.org/quickfix/doc/html/index.html >QuickFIX Support: http://www.quickfixengine.org/services.html > >Hi, > >I still have this disconnection issue and I didn't find any clear answer >yet. I have a C#.NET 2003 application that connect to a FIX server >(implemented by us) using: > >qfxInitiatorSessionSettings = new SessionSettings(strConfigFilePath); >FileStoreFactory factory = new >FileStoreFactory(qfxInitiatorSessionSettings); >ScreenLogFactory logFactory = new ScreenLogFactory(true, true, true); >DefaultMessageFactory messageFactory = new DefaultMessageFactory(); >qfxInitiator = new SocketInitiator(this, factory, >qfxInitiatorSessionSettings, logFactory, messageFactory); > >and that work very well. Now, how do I disconnect ? > >if I try : >qfxInitiator.stop(); //Loop here. >qfxInitiator.__dtor(); > >then it loop forever, and no way to reconnect. I've seen other posts about >this but no real solutions. > >Does the FIX server should throw something for having a client to >disconnect correctly? > >I hope I can get rid of this issue, looking forward for your replies :) > >Regards >Martin > > > > >------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. Do you grep through log >files >for problems? Stop! Download the new AJAX search engine that makes >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 >_______________________________________________ >Quickfix-developers mailing list >Qui...@li... >https://lists.sourceforge.net/lists/listinfo/quickfix-developers > > |