Re: [Quickfix-developers] Finding the Logout reason
Brought to you by:
orenmnero
From: Oren M. <or...@qu...> - 2004-10-13 14:22:15
|
Have you tried using the messages that come from the onEvent callback to the logger? You can derive a class from the logger interface and have those messages displayed to the front end. --oren On Oct 13, 2004, at 3:36 AM, Emil Vladov wrote: > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX FAQ: > http://www.quickfixengine.org/wikifix/index.php?QuickFixFAQ > QuickFIX Support: http://www.quickfixengine.org/services.html > > Hi guys, > > I'm having little problem here - basically I want to create a > meaningful error message when one of the two parties disconnects > abnormaly (mostly because of mismatched sequence numbers). > > Basically I want to show the "MsgSeqNum too low, expecting ..." type > messages to the frontend. > > I tried taking the Text field of the Logout message in App::fromAdmin > and App::toAdmin. When I am disconnecting the other party, it's OK. > But when they logout me - it ain't. I traced it to Session::verify, > the logon state is not valid, so it throws an exception and does not > reach the fromCallback call. > > So I'm wondering is there some 'normal' way to get to those messages? > > Thanks, > Emil > > _________________________________________________________________ > Don't just search. Find. Check out the new MSN Search! > http://search.msn.com/ > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on > ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give > us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out > more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > |