I have middleware service built on token mechanism for client server communication. Now we are porting from DBus to Common API. And we want to retain framework built on token mechanism. But in the Common API, for all async calls we wont get token back in the callback.
I want to call a function like CommonAPI::CallStatus getAudio(int arg1, int arg 2, Callback,const CommonAPI::CallInfo)
Callback is of type - void Callback(const CommonAPI::CallStatus& status, int & id, int error& errorVal);
My Question: In the callback there is no CallInfo param which i had sent while calling getAudio function. Could someone help me on how to get callInfo from callback ?
Aucun commentaire:
Enregistrer un commentaire