Re: [Quickfix-users] Get socket level FIX::Session status information
Brought to you by:
orenmnero
From: Kenny S. <ks...@co...> - 2010-01-13 02:37:14
|
I guess that should work, but you could determine this from onLogon and onLogoff http://quickfixengine.org/quickfix/doc/html/application.html -- Kenny Stone Connamara Systems, LLC On Tue, Jan 12, 2010 at 8:25 PM, Steven Dixon <ste...@ho...>wrote: > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > > I'm resending this to the list as plain text this time. Any help is > appreciated. > > ________________________________ > > From: ste...@ho... > > To: qui...@li... > > Subject: Get socket level FIX::Session status information > > Date: Tue, 12 Jan 2010 21:12:12 -0500 > > > > > > Hello, > > > > > > > > Is there a way to determine what is going on at a socket level i.e. > connection was immidiately rejected, or connection was terminated? I'm > looking to do something like an Application onEvent type setup ideally, or > polling a list of sessions to check their socket level status. > > > > > > > > Here is the area I'm hopeing to build this into, am I on the right track > working this through sessions or is there a totally different method? > > > > > > > > std::set sessions = settings.getSessions(); > > std::set::iterator i; > > for( i = sessions.begin(); i != sessions.end(); ++i ) > > { > > FIX::Session* session = FIX::Session::lookupSession( *i ); > > if ( session->isEnabled() ) { > > // example of session method call > > > > > > } > > std::cout << std::endl << *i << std::endl; > > } > > > > > > For background I have a buy side initiator Application type setup. > > > > > > > > Regards, > > > > Steven > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and > easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > Quickfix-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-users > |