Re: [Quickfix-users] settings
Brought to you by:
orenmnero
From: Mike G. <mg...@co...> - 2008-05-29 17:00:52
|
> In adition to [DEFAULT] and [SESSION] tags, is there any other? No. > Can I load generics messeges tags from a file without parsing them by my own? Yes. > Ther is not a function "session.getField("my_field")"? It won't be correct to specify > all the tags particular info in the code and develop a parcer to do this > wont be easy. You can call get() on a SessionSettings instance to get a Dictionary instance containing the [DEFAULT] settings. If you pass a SessionID argument to get(), you will get a Dictionary instance containing settings for a particular [SESSION]. On the Dictionary instance, you can then call getString("my_field") or getLong("my_field") or getBool("my_field"), etc... to get the value of your field depending on its type. -- Mike Gatny Connamara Systems, LLC http://www.connamara.com/ |