[Quickfix-developers] Starting and Stopping Individual Sessions
Brought to you by:
orenmnero
|
From: PaulVR <p.r...@gm...> - 2006-11-13 14:49:07
|
Our current implementation has one initiator per session (one initiator manages one session and there are as many initiators as there are sessions). According to QuickFIX documentation, one initiator can manage as many sessions as is required and I presume that having one initiator manage all sessions is the preferred approach; we seem to have problems on termination when sessions take too long to close, even though we call initiator's close() method with 'force' set to 'true': ...->close(true). I was considering changing this and using one initiator instead of many but there is one thing I am not too sure as to how to handle, and this is opening and closing of sessions. Naturally QuickFIX engine handles their working hours and it is even possible to specify their working days but it does not handle holidays and, since it lives in GMT, I am not too sure how it would handle sessions with sufficiently different time zones (hypothetically, what will happen if the time zone is 9 hours ahead of GMT and opening time is 8:00 GMT). Our current implementation starts/stops the initiator which will start/stop the session it manages but I could not find a mechanism that would allow me to micro-manage sessions in this way if they are all managed by the same initiator. Thank you. Paul -- View this message in context: http://www.nabble.com/Starting-and-Stopping-Individual-Sessions-tf2622748.html#a7318214 Sent from the QuickFIX - Dev mailing list archive at Nabble.com. |