question

Upvotes
Accepted
219 7 20 35

Response to registerClient request

Hello, we are using RFA 8.2 C++api.

We have a consumer application that registers for completion event. When application subscribes to a symbol, does RFA api guarantees that it will either give market data [Refresh Message] or Status Message indicating stream state is closed?


#technologyrfa-apic++
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.

Upvotes
Accepted
87k 294 53 79

@mktdata

It was stated in the RFA developer guide that:

An application should call isEventStreamClosed() function on incoming messages to determine whether an event stream is closed:

  • Status messages that close the stream
  • Refresh messages with a status that closes the stream
  • Application-registered completion events during the creation of an event source.

The completion event enumeration is ComplEventEnum. The application needs to use the isEventStreamClosed() function or also needs to verify the ComplEventEnum.

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.

Upvotes
24.8k 64 15 21

Hi @mktdata,

Yes, the application will always receive a response to subscription request.

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.