Re: [Quickfix-developers] (no subject)
Brought to you by:
orenmnero
From: Oren M. <ore...@ya...> - 2004-02-12 14:12:58
|
The easiest thing would probably be to just keep track with a boolean, for example: onLogon( SessionID ) { loggedOn = true; } onLogout( SessionID ) { loggedOn = false; } onClose() { sendLogout while( loggedOn ) sleep 100 milliseconds } Sequence number should be resynched themselves. If they are not doing so automatically, then there may be a problem with how the engines are interacting. If you want to force a change in sequence number, you can change the .seqnums file (if you are using the filestore). The file format is SenderMsgSeqNum : TargetMsgSeqNum Sutee Gettupan <su...@si...> wrote: Dear all, I have some problem. I use QuickFix 1.6 to develop Fix Engine and use VC# to develop Fix Engine. Now my progress is session level testing with other client. I have some question to ask. 1. I have problem when I try to logout or close my program because I think QuickFix for .NET that I use not send logout message to client. So I change some code in program in onClose Event to send logout to client before close. But It's not waiting for logout message from client side so this is a problem in sequence number when I try to connect to client again. Client side try to resend request and my program try to resend request message and reset sequence message to client. The question is QuickFix for .NET is implement all function or method that has in C++ platfrom ?, Or How to coding or send logout message and waiting for ack from client before close. 2. How to QuickFix for .NET handle session if sequence number is missing. Can I fix it by myself ?, Best Regards, Sutee Gettupan ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Quickfix-developers mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-developers --------------------------------- Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online |