{{Quickfixn}} How to read the MsgSeqNum of a message?

Manuel Lopez lopez.post at gmail.com
Mon Dec 30 12:38:35 PST 2013


Looks like it should be:
msg.Header.GetInt(Tags.MsgSeqNum)


On Mon, Dec 30, 2013 at 3:35 PM, Manuel Lopez <lopez.post at gmail.com> wrote:
> Grant,
> Thanks but there is no "GetHeader()" method on the object type
> QuickFix.FIX44.ExecutionReport, and I can't find it in the object
> browser (if I used that right).  Should I cast it to something else?
> Manuel
>
> Message: 4
> Date: Mon, 30 Dec 2013 10:29:12 -0600
> From: Grant Birchmeier <gbirchmeier at connamara.com>
> To: "Mailing list for QuickFIX/n" <quickfixn at lists.quickfixn.com>
> Subject: Re: {{Quickfixn}} How to read the MsgSeqNum of a message?
> Message-ID:
>         <CAMq4opNby0W-vaX3dtoQ56=MsBibUifiUHt4LLPdF7-m1aUDxw at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> You're close -- use msg.*GetHeader().*GetInt(Tags.MsgSeqNum)
>
> On Sun, Dec 29, 2013 at 8:58 PM, Manuel Lopez <lopez.post at gmail.com> wrote:
>> What is the best way to read such fields as MsgSeqNum and SenderCompID
>> from a message?
>> Do I use this:
>> msg.GetInt(Tags.MsgSeqNum)?
>> Thanks.



More information about the Quickfixn mailing list