Re: [Quickfix-users] How to change the value of fields in Logon(A) message?
Brought to you by:
orenmnero
From: Djalma R. d. S. F. <drs...@gm...> - 2007-03-02 17:01:15
|
Hi, In the cfg file, put ResetOnLogon=Y, with newest version it works. Anyway, If you want to manually set a logon field or a field of any other session level message that QF generates automatically, use the Application::toApp() function, as far as I know this is the only place to do it. Djalma On 3/2/07, Bin Fang <bfa...@gm...> wrote: > > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > > hi everyone, > > I got a very quick, maybe very silly question to ask you. > > How can I change the value of fields in Logon(A) message in quickfix, i.e. > I want to set ResetSeqNumFlag<http://www.b2bits.com/fixopaedia/fixdic42/fd0e-141-3134.html>[141] > manually for logging in? > > I tried to put a sentence of ResetSeqNumFlag<http://www.b2bits.com/fixopaedia/fixdic42/fd0e-141-3134.html>=Y > in the cfg file, however it doesn't work. Moreover, I tried to put it in > Application::onLogon(...) function, but it turned out that is not the > correct place to put. For other messages, no matter if it is session level > or application level, I could always use Session::SendtoTarget(...) after > the connection estabished between the counterparties. However, I don't think > I can use this function to send the initial Logon(A) message. am I right? > > Can anyone let me know how to do that? > > thank you very much. > > Bin > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Quickfix-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-users > > |