Re: [Quickfix-developers] Application Class Methods - Begginer
Brought to you by:
orenmnero
From: Dale W. <wi...@oc...> - 2009-04-15 13:57:11
|
Hi Joaquin, It is important to understand that FIX is a bidirectional asynchronous protocol. Messages are flowing in both directions. An incoming message can arrive at any time. The methods you talk about [with the exception of onCreate] are the ones that QuickFIX uses to report to the application that some action has taken place based on an incoming. message. For methods going the other direction, you want to call methods on the Session object. I think you'll find what you are looking for (logon, logout, send, etc) there. Dale Joaquín Gracia wrote: > QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > > > ------------------------------------------------------------------------ > > 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. > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > ------------------------------------------------------------------------ > > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers |