Development list for inter process communication (IPC) related topics
View all threadsHello Devrukhkar,
Proxy provides status event, so you can subscribe that event and receive
connection status of proxy to service
You may subscribe event as follows:
CommonAPI::Event<CommonAPI::AvailabilityStatus>::Listener func =
std::bind(&{ClassName}::onConnectionStatusChanged, this,
std::placeholders::_1);
{Proxy}->getProxyStatusEvent()subscribe( func );
Best Regards,
SeungHyun(Sam) Yun
------------Original Message------------
Subject : [Genivi-ipc] Common Api Server status notification
Date : 2017-07-17 23:04:40
From : "Devrukhkar, Hrishikesh (H)" <hdevrukh@visteoncom>
To : "genivi-ipc@listsgeniviorg" <genivi-ipc@listsgeniviorg>
Cc :
Hello,
In CommonAPI, on client side, after building the proxy we check for the
it's availability once and then start using this proxy
However if the server crashes due to some reasons after successfully
checking it's availability on client side, the method calls related to
that server will fail
So is there any mechanism in CommonAPI, using which we can subscribe to the
status of the service ? And in turn will take proper actions until the
service restarts
Any suggestions to solve this are appreciated
Regards,
Hrishikesh Devrukhkar
genivi-ipc mailing list
genivi-ipc@listsgeniviorg
https://listsgeniviorg/mailman/listinfo/genivi-ipc