[Quickfix-users] loggin using FIX::Session object
Brought to you by:
orenmnero
From: Emanuele R. <roc...@ho...> - 2008-10-23 13:03:03
|
Hi All I am trying to use quickfix using a Session.I did the following Can you tell me what is wrong? The SessionFactory::Creaet works because I can see the session created successfully but then I cannot see any loggin activity. Regards FIX::Session id ( xx prapred properly xx ); FIX::Dictionary dict; // prepare FIX::Dictionary FIX::NullApplication application; FIX::MemoryStoreFactory messageStore; FIX::ScreenLogFactory logFactory( true, true, true ); FIX::SessionFactory factory( application, messageStore, &logFactory ); // here I create a session FIX::Session* session = new factory.create( id, dictionary ) ); FIX::DataDictionary xmlFile; xmlFile.readFromURL( "MyFix42Dictionary.xml" ); session->setDataDictionary( xmlFile ); session->logon(); FIX::process_sleep(3.0); session->logout(); FIX::process_sleep(3.0); session->disconnect(); FIX::process_sleep(3.0); _________________________________________________________________ Stanco della solita finestra? Personalizza la tua Hotmail! http://www.messenger.it/personalizza.html#sfondi |