Re: [Quickfix-developers] QuickFix.SocketInitiator.stop() hang ?
Brought to you by:
orenmnero
|
From: Oren M. <or...@qu...> - 2006-01-24 19:03:23
|
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 > > |