Re: [Quickfix-developers] unexpected seqnum reset (VC6)
Brought to you by:
orenmnero
From: Oren M. <or...@qu...> - 2005-03-03 21:19:00
|
Sure, the sequence numbers will be reset if you are no longer in the=20 session. Those sequence numbers aren't relevant anymore because they=20 pertain to a session that no longer exists. What would you expect to=20 happen? --oren On Mar 3, 2005, at 2:55 PM, Alexey Zubko wrote: > QuickFIX Documentation:=20 > http://www.quickfixengine.org/quickfix/doc/html/index.html QuickFIX=20 > FAQ: http://www.quickfixengine.org/wikifix/index.php?QuickFixFAQ=20 > QuickFIX Support: http://www.quickfixengine.org/services.html Hi=20 > All, > > I've got the following problem. > > My client application started a new session in the morning with a=20 > reset seqnum. > That was absolutely unexpected because seqnum in the file wasn't 1. > > I found how to reproduce that: > > 1. I have only start and end times in your configuration file > StartTime=3D00:00:00 > EndTime=3D00:00:00 > > 2. Change in the *.session file the day (minus one - session from the=20= > previous day) > > I found out that in the Session class constructor there is a call of=20= > reset() if the creation time (yesterday) is not the current time=20 > (today) :)). > > =A0 if( !checkSessionTime( UtcTimeStamp() ) ) > =A0=A0=A0 reset(); > ............... > > > --=20 > > Regards, > Alexey Zubko > > > ------------------------------------------------------- SF email is=20= > sponsored by - The IT Product Guide Read honest & candid reviews on=20 > hundreds of IT Products from real users. Discover which products truly=20= > live up to the hype. Start reading now.=20 > http://ads.osdn.com/?ad_id=3D6595&alloc_id=3D14396&op=3Dclick=20 > _______________________________________________ Quickfix-developers=20 > mailing list Qui...@li...=20 > https://lists.sourceforge.net/lists/listinfo/quickfix-developers= |