[Quickfix-users] How to use NullStoreFactory
Brought to you by:
orenmnero
From: dev13 <jo...@gm...> - 2011-07-29 11:13:12
|
Hi, I was trying to use NullStoreFactory in initiator settings. But, it is giving me compile error. <code> FIX::SessionSettings settings( file ); Application* appl = Application::getInstance(settings); FIX::FileStoreFactory storeFactory( settings ); FIX::SocketInitiator initiator( *appl, FIX::NullStoreFactory(), settings ); </code> <output> tradeclient.cpp: In function ‘int main(int, char**)’: tradeclient.cpp:23: error: no matching function for call to ‘FIX::SocketInitiator::SocketInitiator(Application&, FIX::NullStoreFactory, FIX::SessionSettings&)’ /usr/local/include/quickfix/SocketInitiator.h:42: note: candidates are: FIX::SocketInitiator::SocketInitiator(FIX::Application&, FIX::MessageStoreFactory&, const FIX::SessionSettings&, FIX::LogFactory&) /usr/local/include/quickfix/SocketInitiator.h:40: note: FIX::SocketInitiator::SocketInitiator(FIX::Application&, FIX::MessageStoreFactory&, const FIX::SessionSettings&) /usr/local/include/quickfix/SocketInitiator.h:37: note: FIX::SocketInitiator::SocketInitiator(const FIX::SocketInitiator&) </output> Please advise. Regards, Dev -- View this message in context: http://old.nabble.com/How-to-use-NullStoreFactory-tp32160442p32160442.html Sent from the QuickFIX - User mailing list archive at Nabble.com. |