{{Quickfixn}} Access SessionsSettings from within callbacks

Mike Gatny mgatny at connamara.com
Tue Jul 17 07:46:45 PDT 2012


Tom,

Take a look at this unit test for examples:
https://github.com/connamara/quickfixn/blob/master/UnitTests/SessionSettingsTest.cs

Basically, if you put your custom config option in a [SESSION] section, you
do:
settings.Get(yourSessionId).GetString("Password")

If you put it in the [DEFAULT] section, you would do:
settings.Get().GetString("Password")


-- 
Mike Gatny
Connamara Systems, LLC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20120717/2317f04d/attachment-0001.htm>


More information about the Quickfixn mailing list