[Quickfix-developers] Connections during offline period
Brought to you by:
orenmnero
|
From: Bill R. Hr. <bil...@ra...> - 2005-09-06 09:53:30
|
Hello during the offline period of a single FIX session (time not between StartTime and EndTime) I observe that the engine connects to the counterparty and disconnects the whole time. I'm using the ThreadedSocketInitiator and found in the function ThreadedSocketInitator::socketThread that the system will only leave the while(...) loop if the initiator received a OnStop call. The start- and endtime is not handled at all. The call to isSessionTime happens only in the doConnect function. Today's implementation works only if I would shutdown the whole server once a day. Is this assumption right? In my opinion during the offline-period not connect attempts should be made at all. Therefore a test in socketThread for isSessionTime is necessary, isn't it? Best regards Robert |