How to check if event stream is closed in Refresh Message with status

mktdata
mktdata Contributor

We are using RFA 8.2 C++ api. As shown below from dev guide, it is suggesting us to check for event stream closed in Refresh message with status. Can you tell us how isEvenStreamClosed() can be invoked on "RespMsg" or "respStatus"? I don't see any api to do so.

1727091066583.png

Best Answer

  • Gurpreet
    Gurpreet admin
    Answer ✓

    Hello @mktdata,

    For any new development or updating the code in existing application, it is highly recommended that you use the strategic APIs like EMA - which is easier to use and will be supported well into the future.

    The isEventStreamClosed() function is a member of Event class - which will be delivered to the application in the processEvent callback.

    void processEvent(Event evt)