New posts are disabled while we improve the user experience.

You can browse the site, or for urgent issues, raise a query at MyAccount.

question

Upvotes
Accepted
1 1 0 2

How can I connect to an RMDS server using the new Elektron API

refinitiv-realtimeelektronelektron-sdktrepc++
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
87.8k 294 53 79

For subscription, you need to create an instance of OmmConsumer class.

The OmmConsumer class is the main consumer application interface to the EMA. This class encapsulates watchlist functionality and transport level connectivity. It provides all the interfaces a consumer-type application needs to open, close, and modify items, as well as submit messages to the connected server.

You can specify the TREP/RMDS host name, TCP port, and user name while creating OmmConsumer.

  OmmConsumer consumer( 
    OmmConsumerConfig()
      .host( "ADS:14002" )
      .username( "user1" ) 
  );

Otherwise, you can use EMA Consumer and Channel configurations in the EmaConfig.xml.

For more information, please refer to:

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.