How to decode complete message at once other than one field at a time

58 views
Skip to first unread message

Ramesh Nani

unread,
Oct 25, 2017, 7:18:52 AM10/25/17
to objectcomputing_financial
Hi All,

      is there a chance to decode complete message at a time, we will receive the market data in the form of tags, so i would like to see entire message once in the proper format. is there a chance ?

Dale Wilson

unread,
Oct 25, 2017, 10:42:43 AM10/25/17
to quickfa...@googlegroups.com
The decoder decodes on field at a time and passes it to a class derived ValueMessageBuilder.  The builder can process each field as it receives it or it can construct another data structure containing the message.  There is a example of a value message builder that puts the entire message into a single (complex) structure named Message before passing it on to the next level for processing.  You can use this, or if Message is not the in the format you would like to handle, you can create a new ValueMessageBuilder.

Dale

On Wed, Oct 25, 2017 at 6:18 AM, Ramesh Nani <ramesh...@gmail.com> wrote:
Hi All,

      is there a chance to decode complete message at a time, we will receive the market data in the form of tags, so i would like to see entire message once in the proper format. is there a chance ?

--
You received this message because you are subscribed to the Google Groups "objectcomputing_financial" group.
To unsubscribe from this group and stop receiving emails from it, send an email to quickfast_users+unsubscribe@googlegroups.com.
To post to this group, send email to quickfast_users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/quickfast_users/d1c12aac-122e-49b6-82fe-4985c89d9995%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors.

Ramesh Nani

unread,
Oct 27, 2017, 5:04:55 AM10/27/17
to objectcomputing_financial
In The Decoder.cpp, decodemessage function, after calling decodeSegmentBody(source, pmap, templatePtr, bodyBuilder); this , we are calling messageBuilder.endMessage(bodyBuilder); but the endmessage function not implemented in Messages::ValueMessageBuilder.h file.

I need the out put messages in the form of tags and values, could you please help me with sample code. I am using InterpretApplication.
Reply all
Reply to author
Forward
0 new messages