I'm using Elektron ETA API in Unix.
I
would like to keep a map of EMS service names to serviceId retrieved from source
directory response (sourceDirectoryResponseInfo_[i].ServiceId) to be used in
making request. This will be done every time the client connects/reconnects to
the server. Is that a correct approach ?
I
see the serviceId available from the following fields:
msg.msgBase.msgKey.serviceId
msg.refreshMsg.msgBase.msgKey.serviceId
msg.updateMsg.msgBase.msgKey.serviceId
Based
on the value of msg.msgBase.msgClass (RSSL_MC_REFRESH and RSSL_MC_UPDATE), do I
need to use the serviceId from msg.refreshMsg.msgBase.msgKey.serviceId or msg.updateMsg.msgBase.msgKey.serviceId
? Can I use the service Id from msg.msgBase.msgKey.serviceId in the response
for both RSSL_MC_REFRESH and RSSL_MC_UPDATE messages ?