question

Upvotes
Accepted
185 6 12 26

DACS behavior about 2 similar users .

Hello, we are using RFA 8.1 C++ api to consume L1 and L2 market data. We want to understand If two object of rfa::common::client are created with same userid, and One object send Logout request to DACS then other object will also receive ComplEventEnum ?

Let's we have 2 object with same userid 'MST' , If we send logout from first MST object will second object receive ComplEventEnum along with first ?

trep#technologyrfarfa-apiopen-dacs
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
Upvote
Accepted
79.2k 251 52 74

@mktdata

Thank you for reaching out to us.

I assume that this question is about the Open DACS API (AuthorizationAgent::login() and AuthorizaionAgent::logout()).

10:44:36authorizationAgent::login() succeeded
10:44:36Received DACS Authorization Event...
User: jirapongse Position: 10.0.0.1/net
Status:Loggin
Status Code:NoStatusCode
Status Text: LoginResultPass:handle[4]
10:44:42authorizationAgent::login() succeeded
10:44:42Received DACS Authorization Event...
User: jirapongse Position: 10.0.0.1/net
Status:Loggin
Status Code:NoStatusCode
Status Text: LoginResultPass:handle[5]
10:50:27AuthorizationAgent::logout() dialog is opened.

//Logout the first event stream (handle[4])
10:50:29authorizaionAgent::logout() succeeded
10:50:29Received Completion Event...
User: jirapongse Position: 10.0.0.1/net
Event Stream Closed: True

//Logout the second event stream (handle[5])
10:55:37authorizaionAgent::logout() succeeded
10:55:37Received Completion Event...
User: jirapongse Position: 10.0.0.1/net
Event Stream Closed: True

If the application calls the authorizationAgent::login() method twice with the same username, it will create two event streams. The logout() of the first event stream will not impact the second event stream.


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.