Hi all, With some free time in my hands, I decided to have a go at writing the RPC protocol in Java, as least for two-party connections, using Java 8 CompletableFutures as a analogue of the KJ async event management layer.
I have got as far as being able to transfer capabilities between clients, and make calls to remote methods. There is still a fair amount to do in handling pipelining, disconnection and finish operations, but the implementation looks promising so far. The code sticks fairly closely to the C++ original, mostly to make my debugging efforts easier. I hope to start looking at extending the Java compiler stage for interfaces next, now that I have an idea of what the generated client and server code might look like. If anybody is interested,, the code is on Github: https://github.com/vaci/capnproto-java-rpc Cheers, Vaci -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/capnproto/63d14b08-e972-4239-ab27-258896872c19n%40googlegroups.com.
