Re: [Quickfix-users] .Net SessionFactory
Brought to you by:
orenmnero
From: Alain T. <a....@ne...> - 2009-03-04 17:33:11
|
Hi, instead of using a config file, you can set the properties by code: sessionSettings = new SessionSettings(); QuickFix.Dictionary DefaultDic = sessionSettings.get(); // Global settings DefaultDic.setString("OdbcDataBase", db); // ... // Settings for another session QuickFix.Dictionary dic = new Dictionary(); dic.setString("SocketConnectHost", source.ConnectHost); // ... SessionID sid = new SessionID( new BeginString(beginString), new SenderCompID(source.SenderCompID), new TargetCompID(source.TargetCompID), qualifier); sessionSettings.set(sid, dic); -----Message d'origine----- De : EclipseCap [mailto:tob...@ec...] Envoyé : mercredi 4 mars 2009 18:01 À : qui...@li... Objet : [Quickfix-users] .Net SessionFactory QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html QuickFIX Support: http://www.quickfixengine.org/services.html As a pure exercise I am trying to build a new session without the use of the config file ala "settings = new SessionSettings("myconfig1.cfg");". From the reading I have done on this site it appears that SessionFactory is the way to do this. However, I don't see session factory as a usable class. Am I missing it somewhere? Can a new session object be created in some other fashion? Has it not been written yet? A point in the right direction would be of great assitance. Thanks, -- View this message in context: http://www.nabble.com/.Net-SessionFactory-tp22334417p22334417.html Sent from the QuickFIX - User mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Quickfix-users mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-users |