[Quickfix-developers] Session reset in quickfix java version
Brought to you by:
orenmnero
From: Timothy Y. <ty...@pa...> - 2004-04-06 14:00:45
|
Session resets do not work correctly in the java version of quickfix; you typically have to restart the application before a session can be re-established. The problem is due to an optimization in FileStore.java and MemoryStore.java; getCreationDate returns a private copy of the creation date rather than going to the underlying C++ object. The solution is to modify the reset() methods of FileStore.java and MemoryStore.java so they reassign the private creationTime : public void reset() throws IOException { reset0(); creationTime = getCreationTime0(); } Tim Yates Lead Developer Patsystems (US) LLC 141 West Jackson Boulevard Chicago 60604, USA Tel +1 (312) 542-1336 www.patsystems.com DISCLAIMER: This e-mail is confidential and may also be legally privileged. If you are not the intended recipient, use of the information contained in this e-mail (including disclosure, copying or distribution) is prohibited and may be unlawful. Please inform the sender and delete the message immediately from your system. This e-mail is attributed to the sender and may not necessarily reflect the views of the Patsystems Group and no member of the Patsystems Group accepts any liability for any action taken in reliance on the contents of this e-mail (other than where it has a legal or regulatory obligation to do so) or for the consequences of any computer viruses which may have been transmitted by this e-mail. The Patsystems Group comprises Patsystems plc and its subsidiary group of companies. |