To serve market data across my company network we start EMA Interactive OmmProvider with OperationalModel set to UserDispatchEnum. When OmmProvider::dispatch() is called with its default timeOut = NoWaitEnum, clients cannot login to the server.
Specification for OmmProvider::dispatch:
https://docs-developers.refinitiv.com/1564020531520/4725/Docs/refman/ema/a00059.html#aacc00f0651fc18fe95e5c90bfbe1e31d
How to reproduce the bug:
1. Use 130_MarketPrice_UserDispatch example as a server
https://github.com/Refinitiv/Elektron-SDK/blob/master/Cpp-C/Ema/Examples/Training/IProvider/100_Series/130__MarketPrice__UserDispatch/IProvider.cpp
2. Remove timeouts from dispatch() calls, i.e:
75
76 while ( itemHandle == 0 ) provider.dispatch( 1000 ); // change to provider.dispatch()
77
3. Use 130_MarketPrice_UserDisp example as a client:
https://github.com/Refinitiv/Elektron-SDK/tree/master/Cpp-C/Ema/Examples/Training/Consumer/100_Series/130__MarketPrice__UserDisp
Impact:
Delay of almost 1 millisecond between the time market data received by Ark I.G. and the time data are processed by Ark I.G. algorhitms.
Questions: Why provider dispatch is not working and how to fix it?