[Quickfix-users] Multithread in handling FIX messages
Brought to you by:
orenmnero
From: Oksana C. <ch...@to...> - 2007-10-10 13:38:02
|
Hi, I'm Oksana Chucha from Tocarema company. I'm starting to use QuickFix library and I have some questions about its = possibility: 1) There is the queue in Session, function nextQueued allows to get = messages from it. But I see QuickFix put there messages only at = ResendReply(in Session::doTargetTooHigh). What is the exact purpose of = this queue?=20 SessionState:: typedef std::map < int, Message > Messages; SessionState::Messages m_queue; Can we use it to keep all messages, not only which we get on Resend? If = so, how these messages can be put into this queue (out of QuickFix = code), because Session::m_state is not public member and there is not = public function which can return it. 2) I tried to use object from Queue.h : I see template class Queue has = function Queue::wait(), which executes function Event::wait(). But there = should be parameter wait(double s): we don't have Event::wait(VOID). Oksana Tocarema Technology |