[capnproto] Passing and calling capabilities with pycapnp

2018-02-14 Thread cody . m . griffin
I have a use-case which is similar to streaming RPC to a server written in C++ - here is a simplified example: # Setup a client and connect it to our task server client = capnp.TwoPartyClient('localhost:8000') task_mgr = client.bootstrap().cast_as(schema.Task) class Notifier(schema.Notifier.Serv

Re: [capnproto] Passing and calling capabilities with pycapnp

2018-03-28 Thread cody . m . griffin
Hi Kenton, Sorry for the delay, but I believe this was an issue with how I was using pycapnp. It turns out that pycapnp's binding is very sensitive to the naming of arguments. In the example above, class Notifier(schema.Notifier.Server): def notify(self, params, **kwargs): print "