Message types in SDK

sample message.txt

The client wants to know the meaning of below methods? and How to use them? For example, if they receive "StatusMsg ", Is there any action required as per the status?

Exchange: Nasdaq, NYSE, AMX

* @see OmmConsumer
* @see Msg
* @see AckMsg
* @see GenericMsg
* @see PostMsg
* @see RefreshMsg
* @see StatusMsg
* @see UpdateMsg


Message types in SDK

Best Answer

  • @Xia.Liu

    The information provided in each message type also depends on the Domain Message Model of the request message. Suppose you are using a general consumer app that requests a RIC for the Market Price domain model. The Refresh message usually contains the latest update data for the RIC with all fields available for their template. The update contains only the fields which have an update. The status usually indicates changes to the stream or data properties. A provider uses StatusMsg to close streams and to indicate the successful establishment of a stream when there is no data to convey. If the stream state is Closed, it means that the application will not receive an update for the RIC. The provider usually sets the reason it closes the stream in the status text.


    The status could be Open/Suspect, it's a stale condition, and there could be some problem on the provider side and you have to report the status text and status info to the application. This could be a recoverable condition. Once the service on the provider side has restored, the application can receive data as usual.


    I don't think we have a document which explains all action for a specific message from the server. Any way you can find additional details about the messages spec for each Domain Model from the RDM Usage Guide document, which provided under the folder "<RTSDK Install folder>\Cpp-C\Ema\Docs"

    and looking for a file named EMACPP_RDMUsageGuide.pdf. Also, there is some explanation about the Message in API Concept Guide.