Dear Cap'n Proto users,

I have a server application that is controlled by one or more connected 
clients. In the past I used Protobuf for serialization, implementing my own 
very basic RPC mechanism on top of it. I would like to replace the RPC 
system with Capnproto. First tests invoking function calls on server site 
were successful. Since the communication needs to be bidirectional on the 
same connection, the server provides a function "registerClientInterface" 
which takes the client interface capability as argument. The capability is 
stored in an array so that the server can send the same function calls to 
every connected client. My question is if this is the right design at all? 
How would I handle disconnects deregistering the capability of the 
disconnected client? Is this possible with EzRpcServer and EzRpcClient?
Any suggestions?

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