Re: [Quickfix-developers] Proper way for resend request?
Brought to you by:
orenmnero
From: Fabio.Andrade <fan...@gm...> - 2009-06-08 16:49:24
|
Hello Men, To receive all todays messages, you only need set to 0 the incoming fix sequence before the logon has been stablished. On your implementation of the QuickFIX Application interface, go to the function onCreate and type the following code: public void onCreate(QuickFix.SessionID session) { //settting the incoming fix sequence to 0. QuickFix.Session.lookupSession(session).setNextTargetMsgSeqNum(0); } Best regards. jplavalle wrote: > > When the user logs back in I want to display all of todays messages, so I > am trying to do a resend request but I dont seem to get any messages. What > is the proper way to get the messages for the day? > > my code is called after successful logon > > public void send_resend_request() > { > QuickFix42.ResendRequest resendrequest = new QuickFix42.ResendRequest(new > QuickFix.BeginSeqNo(1), new QuickFix.EndSeqNo(1000000)); > > Session.sendToTarget(resendrequest, _session); > } > -- View this message in context: http://www.nabble.com/Proper-way-for-resend-request--tp23873431p23927895.html Sent from the QuickFIX - Dev mailing list archive at Nabble.com. |