Re: [Quickfix-users] Session State
Brought to you by:
orenmnero
From: ka w. <ka...@gm...> - 2010-03-04 23:56:58
|
Interesting, thanks! 2010/3/4 ka wone <ka...@gm...> > Thanks Kenny for the quick answer. > > However I have an other question :). Are both: > public void onLogout(QuickFix.SessionID pSessionID) { } and public > override void onMessage(QuickFix42.Logout order, SessionID psessionID){ } > called? > What are the differences between these two methods? > Same reflexion with public override void onMessage(QuickFix42.Logon order, > SessionID psessionID){ } and public void onLogon(QuickFix.SessionID > pSessionID) { }. > > Thanks, > Kamel > > > 2010/3/3 Kenny Stone <ks...@co...> > >> QuickFIX Documentation: >> http://www.quickfixengine.org/quickfix/doc/html/index.html >> QuickFIX Support: http://www.quickfixengine.org/services.html >> >> >> onLogout <http://quickfixengine.org/quickfix/doc/html/application.html>() >> is called when there is a disconnect. >> >> >> *onLogout* notifies you when an FIX session is no longer online. This >> could happen during a normal logout exchange or because of a forced >> termination or a loss of network connection. >> >> >> -- >> Kenny Stone >> Connamara Systems, LLC >> >> >> On Wed, Mar 3, 2010 at 2:29 PM, ka wone <ka...@gm...> wrote: >> >>> QuickFIX Documentation: >>> http://www.quickfixengine.org/quickfix/doc/html/index.html >>> QuickFIX Support: http://www.quickfixengine.org/services.html >>> >>> >>> Hello, >>> >>> I would like to know the state of my session or, better, know when the >>> network is down through QuickFix. >>> Several solutions: >>> - Check if we receive at regular intervals the heartbeat messages >>> - Check if the socketInnitiator has its isLoggedOn property turned to on. >>> >>> However I would like to think there is a better way to achieve this. >>> Can anyone help me? >>> >>> Thanks, >>> Kamel >>> >>> >>> ------------------------------------------------------------------------------ >>> Download Intel® Parallel Studio Eval >>> Try the new software tools for yourself. Speed compiling, find bugs >>> proactively, and fine-tune applications for parallel performance. >>> See why Intel Parallel Studio got high marks during beta. >>> http://p.sf.net/sfu/intel-sw-dev >>> _______________________________________________ >>> Quickfix-users mailing list >>> Qui...@li... >>> https://lists.sourceforge.net/lists/listinfo/quickfix-users >>> >>> >> >> >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Quickfix-users mailing list >> Qui...@li... >> https://lists.sourceforge.net/lists/listinfo/quickfix-users >> >> > |