Dear Cap'n Proto users,

I have a server application that is controlled by one or more connected 
clients. The RPC messages are bidirectional. In the past I used Protobuf 
for serialization implementing my own very basic RPC mechanism on top of 
it. I now would like to replace Protobuf with Cap'n Proto.
I started with the EzRpcServer class on server site having no problems 
invoking function calls. In order to enable the server to invoke functions 
on clients site there's a function "registerClientInterface" which takes 
the client capability as argument that the server stores in an array. The 
array is used because it should be possible that more than one client is 
connected so that every client gets the same call from the server. Is this 
the right way to implement such a use case? How is it possible to detect if 
a client has disconnected and how could this be mapped to a previously 
stored capability?  Is this possible with EzRpcServer at all?

Best regards and thanks in advance,
Jupp

-- 
You received this message because you are subscribed to the Google Groups 
"Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/capnproto.

Reply via email to