Add bootstrap RPC methods

This is the new way for initializing RPC connections. It replaces the
deprecated restore functionality
This commit is contained in:
Jason Paryani
2015-02-24 11:22:43 -08:00
parent 6c5e363406
commit 6e94182a3e
6 changed files with 46 additions and 7 deletions

View File

@@ -345,6 +345,7 @@ cdef extern from "capnp/rpc-twoparty.h" namespace " ::capnp":
VoidPromise onDisconnect()
VoidPromise onDrained()
RpcSystem makeRpcServer(TwoPartyVatNetwork&, PyRestorer&)
RpcSystem makeRpcServerBootstrap"makeRpcServer"(TwoPartyVatNetwork&, Capability.Client)
RpcSystem makeRpcClient(TwoPartyVatNetwork&)
cdef extern from "capnp/dynamic.h" namespace " ::capnp":