[Quickfix-users] How to use NullStoreFactory
Brought to you by:
orenmnero
From: dev13 <jo...@gm...> - 2011-07-29 11:14:53
|
Hi, I was trying to use NullStoreFactory in initiator settings. But, it is giving me compile error. FIX::SessionSettings settings( file ); Application* appl = Application::getInstance(settings); FIX::FileStoreFactory storeFactory( settings ); FIX::SocketInitiator initiator( *appl, FIX::NullStoreFactory(), settings ); 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&) Please advise. Regards, Dev -- View this message in context: http://old.nabble.com/How-to-use-NullStoreFactory-tp32160445p32160445.html Sent from the QuickFIX - User mailing list archive at Nabble.com. |