Re: [Quickfix-developers] FIX 4.3 logon message
Brought to you by:
orenmnero
From: Grant B. <gbi...@co...> - 2010-08-04 13:25:55
|
It is automatically sent when you start the initiator (or in the case of an acceptor, it's automatically sent as a response). Regarding username/password, this question comes up frequently. You can add the user/pass in the body of the toAdmin() callback, which is called on any admin message right before it is sent. It woud look something like this: toApp(FIX::Message &msg, const FIX::SessionID &ses) { MsgType type; msg.getHeader().getField(type); if(type.getValue() == "A"){ //Make Changes (Add UserName/Password/Etc.) } } This question comes up so frequently that maybe it should be added to the official FAQ. -Grant On Wed, Aug 4, 2010 at 7:49 AM, Shai Zohar <sh...@tr...> wrote: > QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > Hi Everyone, > > Can someone please advise on how to send a logon message to a FIX 4.3 server? Is the logon message sent automatically by the FIX engine and I just need to append the user name and password? If so can I append these values from the config store somehow? > > Thanks, > Shai > > > ------------------------------------------------------------------------------ > The Palm PDK Hot Apps Program offers developers who use the > Plug-In Development Kit to bring their C/C++ apps to Palm for a share > of $1 Million in cash or HP Products. Visit us here for more details: > http://p.sf.net/sfu/dev2dev-palm > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > |