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 ?

Best Answer

  • Jirapongse
    Answer ✓

    @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.