Hello,
I try to understand the mojo disconnection handling logic and run into the following issue
I have two process A and B. A is a mojo service provider , B is the mojo client. I also have mojo_service_manager process up and running.
When I run all 3 processes, A and B can connect to mojo_service_manager, A can register its service, B can request A service. A and B can talk to each other.
When I kill mojo_service_manager, A and B both can detect the disconnection. In the OnServiceManagerDisconnect() callback, I reset service_manager remote and mojo service remote, before I try to re-connect to the mojo service manager and re-initialize the mojo service provider and remote.
With above implementation, after I restart mojo_service_manager, both A and B can re-connect to mojo_service_manager without any problem.
However, A and B cannot do IPC any more.
My questions: in case of mojo_service_manager crash and restart, is it possible for the mojo service provider and mojo client processes to recover the entire IPC again?
thanks,
Tao