Re: [Quickfix-developers] Just Starting...
Brought to you by:
orenmnero
From: azmat <mr...@gm...> - 2008-01-17 20:34:10
|
Patrick, Thanks! This is perfect. I have something very similar now. I understand that I should call the crack method in the fromApp method so that the MessageCracker can identify exactly what type of message it is. That is really neat. But, what I do not get is how or when is the onMessage method is called (the one that takes the ExecutionReport parameter)? Is this something that automagically happens with the crack method if it determines the message is of type ExecutionReport? Also on the flipside of it. If I call sendToTarget from my business layer will it automatically go to the Application.toApp method OR do I need to somehow call toApp and then call sendToTarget from there? Any help would be much, much appreciated! thanks! Azmat Patrick Wright-3 wrote: > > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > You need to call the crack method. > In this example I create an AdapterTradeResult class which encapsulates > the response in a way which is sensible for my systems (sorry about > formatting). > My Application-Derived class (not included here) calls this adapter > whenever it receives a message. > -- View this message in context: http://www.nabble.com/Just-Starting...-tp14811784p14932270.html Sent from the QuickFIX - Dev mailing list archive at Nabble.com. |