<div dir="ltr"><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">Ah, simple! It's not an override. Just take that keyword out.</div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">
<br></div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">QF/n uses reflection to dispatch messages to the OnMessage calls.</div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)"><br>
</div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">Also, capitalize the initial "O". (This is C#, not Java!)</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Mar 19, 2014 at 11:16 AM, xmoon 2000 <span dir="ltr"><<a href="mailto:xmoon2000@googlemail.com" target="_blank">xmoon2000@googlemail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I am able to connect, logon and am receive messages from the server.<div><br></div><div>However I am now trying to Crack these messages but cannot declare on onMessage:<br>
<div><br></div><div><div>using System;</div>
<div>using System.Collections.Generic;</div><div>using System.Linq;</div><div>using System.Text;</div><div>using QuickFix;</div><div>using QuickFix.Fields;</div></div><div><br></div><div>But it cannot find a "suitable" override for onMessage - how should I declare it?</div>
<div><br></div><div><div> public class MyQuickFixApp : QuickFix.MessageCracker,QuickFix.Application</div><div> {</div></div><div><div> public override void onMessage(QuickFix.FIX42.MarketDataIncrementalRefresh message, SessionID sessionID)</div>
<div> {</div><div><br></div><div> var tags = message.GetGroupTags();</div><div><br></div><div> foreach (var tag in tags)</div><div> {</div><div> Console.WriteLine("onMessage Tags: " +tag);</div>
<div> }</div><div><br></div><div> }</div></div></div><div>}</div></div>
<br>_______________________________________________<br>
Quickfixn mailing list<br>
<a href="mailto:Quickfixn@lists.quickfixn.com">Quickfixn@lists.quickfixn.com</a><br>
<a href="http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com" target="_blank">http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><font><span style="background-color:#000000"><span style="background-color:#ffffff">Grant Birchmeier</span></span></font><font><font color="#3333ff"><br>
</font></font></div><div><font><b><font color="#3333ff"><span style="background-color:#ffcc33"><span style="background-color:#ffcc66"><span style="background-color:#ffcc99"><span style="background-color:#ffffff"><span style="background-color:#ffcc00">Connamara Systems, LLC</span></span></span></span></span></font></b></font><br>
</div><div><font><b>Made-To-Measure Trading Solutions.</b></font></div><div><font>Exactly what you need. No more. No less.</font><font><b><font color="#3333ff"><br></font></b></font></div><div><font><a href="http://connamara.com" target="_blank">http://connamara.com</a><br>
</font></div>
</div>