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

@@ -30,6 +30,7 @@ cdef extern from "capnp/helpers/rpcHelper.h":
Capability.Client restoreHelper(RpcSystem&, MessageReader&)
Capability.Client restoreHelper(RpcSystem&, AnyPointer.Reader&)
Capability.Client restoreHelper(RpcSystem&, AnyPointer.Builder&)
Capability.Client bootstrapHelper(RpcSystem&)
RpcSystem makeRpcClientWithRestorer(TwoPartyVatNetwork&, PyRestorer&)
PyPromise connectServer(TaskSet &, PyRestorer &, AsyncIoContext *, StringPtr)