{{Quickfixn}} onMessage issues

xmoon 2000 xmoon2000 at googlemail.com
Wed Mar 19 09:28:51 PDT 2014


Yaaay!

That worked!

Thank you Grant.


On 19 March 2014 16:22, Grant Birchmeier <gbirchmeier at connamara.com> wrote:

> Ah, simple!  It's not an override.  Just take that keyword out.
>
> QF/n uses reflection to dispatch messages to the OnMessage calls.
>
> Also, capitalize the initial "O".  (This is C#, not Java!)
>
>
> On Wed, Mar 19, 2014 at 11:16 AM, xmoon 2000 <xmoon2000 at googlemail.com>wrote:
>
>> I am able to connect, logon and am receive messages from the server.
>>
>> However I am now trying to Crack these messages but cannot declare on
>> onMessage:
>>
>> using System;
>> using System.Collections.Generic;
>> using System.Linq;
>> using System.Text;
>> using QuickFix;
>> using QuickFix.Fields;
>>
>> But it cannot find a "suitable" override for onMessage - how should I
>> declare it?
>>
>>    public class MyQuickFixApp :
>> QuickFix.MessageCracker,QuickFix.Application
>>     {
>>        public override void
>> onMessage(QuickFix.FIX42.MarketDataIncrementalRefresh message, SessionID
>> sessionID)
>>         {
>>
>>             var tags = message.GetGroupTags();
>>
>>             foreach (var tag in tags)
>>             {
>>                Console.WriteLine("onMessage Tags: " +tag);
>>             }
>>
>>         }
>> }
>>
>> _______________________________________________
>> Quickfixn mailing list
>> Quickfixn at lists.quickfixn.com
>> http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
>>
>>
>
>
> --
> Grant Birchmeier
> *Connamara Systems, LLC*
> *Made-To-Measure Trading Solutions.*
> Exactly what you need. No more. No less.
> http://connamara.com
>
> _______________________________________________
> Quickfixn mailing list
> Quickfixn at lists.quickfixn.com
> http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20140319/cc6fe52f/attachment-0002.htm>


More information about the Quickfixn mailing list