[Quickfix-developers] RE: fromAdmin/fromApp not getting called on Logout from rejected logon
Brought to you by:
orenmnero
From: Jason F. <jf...@ty...> - 2005-01-07 09:36:57
|
After some investigation it appears that a logic_error of "Logon state is not valid for message" is being thrown in response to the Logout message being sent from CME, thus resulting in the fromAdmin callback not being called. Is this expected behavior or a possible bug? Jason _____ From: qui...@li... [mailto:qui...@li...] On Behalf Of Jason Fagan Sent: 06 January 2005 15:47 To: qui...@li... Subject: [Quickfix-developers] fromAdmin/fromApp not getting called on Logout from rejected logon Can someone please help me before the men in white coats come to take me away. I am currently developing an application that connects to CME's iLink and I am trying to run a test where the initial Login is rejected due to a deliberate incorrect password. CME responds back with a Logout message with the reason set, but mysteriously the onLogout callback is called but not the fromAdmin callback, this means that I can not set the next expect sequence number to the one sent by CME. Is this expected behaviour, am I missing something? Also what is the best way to perform a manual Logon/Logoff, the SocketInitiator/Session are doing this automatically at the moment and I would like to perform these myself. Thank you in advance. Jason Fagan |