Re: [Quickfix-developers] Using custom defined dictionaries and classes
Brought to you by:
orenmnero
|
From: Oren M. <or...@qu...> - 2005-08-15 17:23:54
|
You need to implement an instance of the MessageFactory instead of using =
the DefaultMessageFactory. This factory is what the engine uses to =
create a message with the correct class type after reading it off the =
stream. If your type is not found in the factory, QuickFIX just creates =
a generic Message class, so your cast will fail when you try to crack =
it.
--oren
----- Original Message -----=20
From: Michael Lyszczek=20
To: qui...@li...=20
Sent: Thursday, August 11, 2005 7:58 AM
Subject: [Quickfix-developers] Using custom defined dictionaries and =
classes
Hi, i have a question about using custom defined classes with Session =
initiators. I am trying to host multiple connections on one process for =
order entry and If i generate classes from an XML spec file it will only =
seem to want to use that at the session level if that class package is =
named quickfix.fix42 or quickfix.fix43 but it i name it =
quickfix.fix42.custom and try to cast a logon to a custom.logon i will =
get a classs cast exception, is there any way to tell the session which =
package to use or does it just go by what the begin string is called?
On 8/10/05, qui...@li... < =
qui...@li...> wrote:
Send Quickfix-developers mailing list submissions to=20
qui...@li...
To subscribe or unsubscribe via the World Wide Web, visit =
https://lists.sourceforge.net/lists/listinfo/quickfix-developers
or, via email, send a message with subject or body 'help' to
qui...@li...=20
You can reach the person managing the list at
qui...@li...
When replying, please edit your Subject line so it is more specific=20
than "Re: Contents of Quickfix-developers digest..."
QuickFIX Documentation: =
http://www.quickfixengine.org/quickfix/doc/html/index.html=20
QuickFIX FAQ: =
http://www.quickfixengine.org/wikifix/index.php?QuickFixFAQ
QuickFIX Support: http://www.quickfixengine.org/services.html
Today's Topics:
1. Fill SessionSettings programmatically? (Andrei Goldchleger)
--__--__--
Message: 1
Date: Wed, 10 Aug 2005 18:07:48 -0300=20
From: Andrei Goldchleger <an...@gm...>
To: qui...@li...
Subject: [Quickfix-developers] Fill SessionSettings =
programmatically?=20
Hi all,
Is there any way to programmatically populate a SessionSettings
object? That is, I would like to configure my Initiator without
resorting to the configuration file. Can this be accomplished in any =
way?
Thanks,
Andrei Goldchleger
--__--__--
_______________________________________________
Quickfix-developers mailing list
. Qui...@li...
https://lists.sourceforge.net/lists/listinfo/quickfix-developers
End of Quickfix-developers Digest=20
--=20
Michael Lyszczek
1 North End Ave
Suite 1321
New York, NY, 10282
NEW EMAIL : ml...@fl... |