question

Upvotes
Accepted
1 0 0 0

websocekt的参数配置

你好,这是你们的工具类,我们已经生产环境里面获取到了username password clientId,这个host是什么,position是什么,能否给我们提示

public static String server;
public static String hostname = "127.0.0.1";
public static String port = "15000";
public static String user = "root";
public static String position = "";
public static String appId = "256";
public static WebSocket ws = null;

1712546321739.png


#technologywebsockets
1712546321739.png (413.5 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.

Hello @guoshuai

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?


If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.

Thanks,


AHS

@guoshuai

Hi,

Please be informed that a reply has been verified as correct in answering the question, and marked as such.

Thanks,

AHS

1 Answer

· Write an Answer
Upvotes
Accepted
79.3k 253 52 74

@guoshuai

Thank you for reaching out to us.

You have mentioned the username, password, and clientId. I assume that you are connecting to Refinitiv Real-Time Optimized (RTO).

To connect to RTO, please refer to the examples in the rdp folder on GitHub. You can run the MarketPriceRdpGwServiceDiscovery example.

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.