From: Steve B. <sb...@sm...> - 2006-03-01 21:35:36
|
Hi Matt, First, I'm assuming the startDay and endDay are -1 (the default if no day is set) and not 0. Is that right? I've committed John's patches for SessionSchedule into the CVS=20 HEAD. I also found another bug in the schedule which may have=20 been causing your problem. There were unit tests for that code but, alas, the unit tests were wrong. ;-) I've corrected both in the HEAD. Hopefully, these changes will solve your problem. Regards, Steve > -----Original Message----- > From: qui...@li...=20 > [mailto:qui...@li...] On Behalf=20 > Of Matthew Stone > Sent: Wednesday, March 01, 2006 9:07 PM > To: qui...@li... > Subject: [Quickfix-users] Re: Are sequences automatically reset >=20 > QuickFIX Documentation:=20 > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html >=20 > Looking at the code it appears the sequences should be reset, however=20 > mine are not. Here's the problem senerio: My app shuts down before=20 > FixEndTime then starts up the next day after FixStartTime. When the=20 > quickfix.SessionSchedule checks to see if isSameSession it=20 > returns true=20 > because only the time fields are compared and not the date=20 > fields. It=20 > doesn't check the date fields because the following condition=20 > is false: >=20 > startDay < 0 && endDay < 0 >=20 > startDay and endDay are 0 for me since I'm using daily=20 > sessions and not=20 > weekly.=20 >=20 > If I left my app running outside the session time boundary everything=20 > seems to be ok. So, my option as a workaround seems to be reseting=20 > manually once a day. >=20 > Matthew >=20 > Matthew Stone wrote: > > Does quickfix automatically reset sequences when a session=20 > changes? =20 > > Yesterday I started up a session from FixStartTime=3D07:00:00 to=20 > > FixEndTime=3D19:00:00 and my app finished the day with=20 > MsgSeqNum=3D190. =20 > > Today, my app tried to log on with MsgSeqNum=3D191. I was = expecting=20 > > quickfix to start with a new seq. > > > > Thanks, > > Matthew > > > > qfj beta 3 > > >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking=20 > scripting language > that extends applications into web and mobile media. Attend=20 > the live webcast > and join the prime developer group breaking into this new=20 > coding territory! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720& > dat=3D121642 > _______________________________________________ > Quickfix-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-users >=20 |