[Quickfix-developers] Suppressing the QuickFix automatic logout response
Brought to you by:
orenmnero
|
From: mvictoryAtgmail <mvi...@gm...> - 2007-11-07 20:52:24
|
When my client sends a message with a sequence number lower than the server is expecting, I get a logout message from the server with the error: MsgSeqNum too high, expecting 136 but received 1 I catch this message in my fromAdmin function within my application, and parse it to figure out what number I need to reset my sequence number to. (I can't find anywhere but my fromAdmin function that can see this message.) Unfortunately, QuickFix insists on sending a logout response to the logout message I received. My server does not expect a logout response, and it causes some sync issues before I can get reconnected. My question is: How can I suppress that logout response from QuickFix? I receive a message of type 5 from the server, but in the case of this particular error, I want to handle it myself. In my toAdmin function, I can see the logout message that I'm trying to suppress, but I can't figure out a way to get rid of it. I tried using Dispose() but that causes a crash. I also tried changing it to a heartbeat but it didn't stop quickFix from sending the logout message. Thanks! -- View this message in context: http://www.nabble.com/Suppressing-the-QuickFix-automatic-logout-response-tf4767298.html#a13635834 Sent from the QuickFIX - Dev mailing list archive at Nabble.com. |