[Quickfix-developers] QF onCreate timing
Brought to you by:
orenmnero
From: Lloyd, R. <Rob...@st...> - 2008-10-13 11:15:46
|
Hi All, I am relatively new to Quckfix and have just started modifying a C# Quckfix application that is connecting to a counterparty and receiving trade messages. The counterparty side went down on Friday and so I was not receiving any messages and just sending heartbeats for a day. Today I restarted the program and the toAdmin method in my application class got called before onCreate. Is this normal behaviour in any circumstances? As the program currently sets up database connections in onCreate and then inserts whenever a message is sent or received. I changed this to be in the constructor of the application class and everything seems to be working normally both with receiving and sending messages but would like to know what could have happened here. Any help appreciated Thanks Rob ***************************************************************************** This communication is sent by the Standard Bank Plc or one of its affiliates The registered details of Standard Bank Plc are: Registered in England No. 2130447, Registered Office 25 Dowgate Hill London EC4R 2SB Authorised and Regulated by the Financial Services Authority. More information on Standard Bank is available at www.standardbank.com Everything in this email and any attachments relating to the official business of Standard Bank Group Limited and any or all subsidiaries, the Company, is proprietary to the Company. It is confidential, legally privileged and protected by relevant laws. The Company does not own and endorse any other content. Views and opinions are those of the sender unless clearly stated as being that of the Company. The person or persons addressed in this email are the sole authorised recipient. Please notify the sender immediately if it has unintentionally, or inadvertently reached you and do not read, disclose or use the content in any way and delete this e-mail from your system. The Company cannot ensure that the integrity of this email has beenmaintained nor that it is free of errors, virus, interception or interference. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. ***************************************************************************** |