Hey Ariel, yes, you can store the session settings in a database as text.
If we look closer the FIX::SessionSettings class has two constructors:
// one to receive a file name
SessionSettings( const std::string& file ) throw( ConfigError );
// and other to receive a stream
SessionSettings( std::istream& stream ) throw( ConfigError );
You can use the second one to restore the session settings text from your database in a stream, like as for example std::stringstream. Assuming you are using C++ version of quickfix.
Regards,
Clebson Derivan
-----Mensagem original-----
De: Ariel Piñeiro [mailto:ari...@gm...]
Enviada em: sexta-feira, 28 de novembro de 2008 11:08
Para: qui...@li...
Assunto: [Quickfix-developers] Custom session from extern from Data Base
QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html
QuickFIX Support: http://www.quickfixengine.org/services.html
|