question

Upvotes
Accepted
219 7 20 35

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

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

#technologyrfa-apic++
1727091066583.png (37.6 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
Upvotes
Accepted
24.8k 64 15 21

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)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.