Re: [Quickfix-developers] how to access default configuration settings?
Brought to you by:
orenmnero
|
From: Oren M. <or...@qu...> - 2005-08-15 17:20:53
|
It's probably just not exposed. We'll be sure to add in support for =
this access. I would imagine that QuickFIX/J already exposes access to =
default settings out of necessity.
--oren
----- Original Message -----=20
From: Sol=20
To: qui...@li...=20
Sent: Wednesday, August 10, 2005 2:04 PM
Subject: Re: [Quickfix-developers] how to access default configuration =
settings?
Sorry, I should have mentioned that I am using the Java/JNI version of =
QuickFix. This version of SessionSettings does not have a get() method.=20
Instead, it has the following getters:
public native String getString( SessionID sessionID, String key ) =
throws ConfigError, FieldConvertError;
public native long getLong( SessionID sessionID, String key ) =
throws ConfigError, FieldConvertError;
public native double getDouble( SessionID sessionID, String key ) =
throws ConfigError, FieldConvertError;
public native boolean getBool( SessionID sessionID, String key ) =
throws ConfigError, FieldConvertError;
-sol
----- Original Message -----=20
From: Dale Wilson=20
To: Sol=20
Cc: qui...@li...=20
Sent: Wednesday, August 10, 2005 11:46 AM
Subject: Re: [Quickfix-developers] how to access default =
configuration settings?
Hi Sol,
Sol wrote:=20
SessionSettings allows access to settings, using the sessionId and =
setting key. How are default properties accessed when no sessionId is =
available?
For example, while initializing the application I would like to =
read the default property "ConnectionType" in order to determine whether =
to create a SocketAcceptor or a SocketInitiator.
As part of initializing Quickfix you created a FIX::SessionSettings
The get() method on that object gives you a reference to a =
dictionary of the default settings.
Dale
-sol
--=20
-----------------------------------------------------
Dale Wilson, Senior Software Engineer =20
Object Computing, Inc. (OCI)
http://www.ociweb.com/ http://www.theaceorb.com/
---------------------------------------------------- |