Re: [Quickfix-developers] Reset Session
Brought to you by:
orenmnero
From: Shane T. <str...@co...> - 2008-04-04 14:00:21
|
Errors are logged in the event log as specified in the configuration file as "FileLogPath" You can also manually reconfigure sequence numbers by using the "HttpAcceptPort" in the configuration file. When this is set, QuickFIX will listen for web browser requests which you can use to set sequence numbers without having to take anything down. But why is it failing? Why would you need to reset for it to be successful? Is there an error message or exception in the QuickFIX event log (as specified above)? -- Shane Trotter Connamara Systems, LLC On Fri, Apr 4, 2008 at 1:29 AM, Parjeet Singh <par...@oa...> wrote: > QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > > Thanks for the previous helps you guys have provided. There is more to > learn in this QuickFIX and FIX environment. > > This is may be a horrible way of resetting the session but it is serving > my purpose. > > I have set of currency pairs AUD/USD, EUR/USD, AUD/SGD etc, I pass one > e.g. AUD/USD currency pair into my sendToTarget session and receive a > message which I manipulate in to xml file. > > All my currency pairs is in datatable > > Then it goes back to my fromApp procedure and now I have to send new > currency pair e.g. EUR/USD. To make this successful I have to reset the > session that is by sTest.reset: > > crack(Param, Param1) > Try > > Dim sTest As QuickFix.Session = > QuickFix.Session.lookupSession(Param1) > If (sTest.isLoggedOn = True) Then > If (sTest.receivedLogon = True) Then > Param.clear() > sTest.reset() > Exit Sub > End If > End If > > The reset takes me back to the OnLogon function and start with new set > of currency e.g. EUR/USD. > > Every time I see the message in console..."existing session was > forcefully closed by host". > > At the moment this is working fine but if you have better way of doing, > please do share with me. > > Another issue, I want to log errors in error log file. Is there a way to > do in QuickFix. > > Thanks for your help. > > PS > > > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > |