[Quickfix-developers] Application Class Methods - Begginer
Brought to you by:
orenmnero
From: Joaquín G. <j.g...@ra...> - 2009-04-15 06:52:12
|
Hi, I've been reading several QF tutorials for begginers and there's one thing I don't understand (in fact there are a few more). Talking about Methods in Application Class: public void onCreate(SessionID); public void onLogon(SessionID); public void onLogout(SessionID); public void toAdmin(Message, SessionID); public void toApp(Message, SessionID); public void fromAdmin(Message, SessionID); public void fromApp(Message, SessionID); they say something like "these are called when a message is received, session is logged on, ..." and so on. From that I understand that these are methods that are executed responding to those events (message incoming, session logged on, etc), just like a method "OnOK()" is executed when I click an OK button (for example) What I find confusing is that I expected to find methods to perform actions like Logon, Send, Logoff, etc whenever I need it, instead of methods to respond to these as events Can anyone help? Thank you all. |