Re: [Quickfix-developers] How to use MessageCracker to modify messages
Brought to you by:
orenmnero
From: Diego F. <die...@gm...> - 2011-06-01 20:05:19
|
Use a const_cast and add the fields you need. Diego Frata die...@gm... On Wed, Jun 1, 2011 at 2:31 PM, Max Dmitrichenko <dmi...@gm...> wrote: > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > Hi! > > This is my first post and first experience with QuickFIX. First of all > I'd like to thank you for doing a great job. > > I'm using C++ to write initiator side application. To successfully log > on to the exchange I need to provide Username and Password, but > QuickFIX doesn't do it, so I intercept this message in the > Applocation::toAdmin(). But when I call MessageCracker the > const-version of appropriate onMessage(...) is called, and AFAIK there > is no way to make C++ to call non-const version. Did I miss something? > How then it is supposed to modify messages? > > -- > Max > > > ------------------------------------------------------------------------------ > Simplify data backup and recovery for your virtual environment with > vRanger. > Installation's a snap, and flexible recovery options mean your data is > safe, > secure and there when you need it. Data protection magic? > Nope - It's vRanger. Get your free trial download today. > http://p.sf.net/sfu/quest-sfdev2dev > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > |