Ok, I am not sure if I am in right direction. Basically I want to make Snapshot request with the help of RFA C++. This request should be for multiple RICs. I tried the example for Batch View but that is Data Streaming request
Hi @brajesh.shuklafil
You can make a snapshot batch request by simply make a batch request without InterestAfterRefresh Flag.
For example, go to Batch View example and modified the sendBatchRequest function by remove the flag from reqMsg.setInteractionType() .
//This routine sends a single batch request for a list of items.//The batch request feature allows an application to specify interest in multiple items of the same Message Type.//This is done by specifying interest in multiple items passed in a single request message.Handle* StarterConsumer_BatchView::sendBatchRequest(const StringList* strList, const StringList* ViewFieldIdList, char reqType, const char* listValue){ Handle* batchReqHandle = 0; unsigned int count = strList->size(); if(count <= 0) return batchReqHandle; ReqMsg reqMsg; AttribInfo attribInfo; reqMsg.setMsgModelType(rfa::rdm::MMT_MARKET_PRICE); reqMsg.setInteractionType(rfa::message::ReqMsg::InitialImageFlag);
But please note that snapshot batch requests may require TREP premium featurelicenses. TREP infra (ADS) may not accept snapshot batch requests if you don't have the license.
Please contact your TR account manager in that case.
Hi,
Can you please expand on your requirement? What exactly do you wish to do?
Also, you have posted under the Elektron forum but tagged 'C++ RFA'. Please confirm which API you plan to use ETA C / EMA C++ or RFA C++?
Thanks.