That turned out to be an easy fix, so I've created a pull request...

https://github.com/capnproto/capnproto-java/pull/91

Vaci

On Wednesday, 4 November 2020 at 17:46:36 UTC Vaci wrote:

> Hi,
>
> is it at all possible to copy AnyPointers between messages in the Java 
> implementation of Capnproto?
>
> The following code doesn't work, because AnyPointer.Factory does not 
> implement SetPointerBuilder...
>
>   AnyPointer.Reader foo;
>   AnyPointer.Builder bar;
>   bar.setAs(AnyPointer.factory, foo);
>
> The reason I think I need this facility is to implement tail calls in the 
> RPC framework - I'm stuck on trying to copy the results sent by the tail 
> callee into the response of the caller.
>
> 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/899e798e-3212-41ab-a753-df5a72d244edn%40googlegroups.com.

Reply via email to