Commit graph

630 commits

Author SHA1 Message Date
Vaci Koblizek
8ccfdc1bf6 remove redundent final modifier 2020-10-22 15:55:11 +01:00
Vaci Koblizek
9315c8aaba null cap test 2020-10-22 15:55:11 +01:00
Vaci Koblizek
011137b23f remove unused TwoPartyClient.runOnce 2020-10-22 15:55:11 +01:00
Vaci Koblizek
3161e246ae tidy up TwoPartyVatNetwork 2020-10-22 15:55:11 +01:00
Vaci Koblizek
e21ba577b5 accept default outgoing message size 2020-10-22 15:55:11 +01:00
Vaci Koblizek
633d3ff8cc remove redundent AnyPointer.getAsCap 2020-10-22 15:55:11 +01:00
Vaci Koblizek
f28b7de494 more message building size hints 2020-10-22 15:55:11 +01:00
Vaci Koblizek
83a4d4dc9e only tap incoming 2020-10-22 15:55:11 +01:00
Vaci Koblizek
05dc84b675 move more CompFutures to void 2020-10-22 15:55:11 +01:00
Vaci Koblizek
6d082a71b5 use getHook() accessor 2020-10-22 15:55:11 +01:00
Vaci Koblizek
c01228c31c add tap for dumping rpc messages 2020-10-22 15:55:11 +01:00
Vaci Koblizek
7b939d7c0b add moar size hints 2020-10-22 15:55:11 +01:00
Vaci Koblizek
215f485883 add network accessor 2020-10-22 15:55:11 +01:00
Vaci Koblizek
85a3565dc3 add fds accessor 2020-10-22 15:55:11 +01:00
Vaci Koblizek
730ca1abf5 question cleanup 2020-10-22 15:55:11 +01:00
Vaci Koblizek
7134461e7d use weak refs to cleanup import table 2020-10-22 15:55:11 +01:00
Vaci Koblizek
caec63d68c fix rpcsystem generic params, and hide various fields 2020-10-22 15:55:11 +01:00
Vaci Koblizek
c49221c2e9 add cleanup to questions and imports 2020-10-22 15:55:11 +01:00
Vaci Koblizek
89451874c3 simplify server runOnce 2020-10-22 15:55:11 +01:00
Vaci Koblizek
61c98ac266 avoid duplicating conditions in asserts 2020-10-22 15:55:11 +01:00
Vaci Koblizek
dea4d2d3c0 implement bulk of pipelining logic 2020-10-22 15:55:11 +01:00
Vaci Koblizek
c2f64ba317 Add local cap table to message builder. 2020-10-22 15:55:11 +01:00
Vaci Koblizek
606dd26d48 generate pipelines, add AnyPointer.Pipeline 2020-10-22 15:55:11 +01:00
Vaci Koblizek
1abc975b8b defer disembargo 2020-10-22 15:55:11 +01:00
Vaci Koblizek
2ffdecbe41 Make Response typed 2020-10-22 15:55:11 +01:00
Vaci Koblizek
59977b53fe generate client methods and add streaming 2020-10-22 15:55:11 +01:00
Vaci Koblizek
218529deae add client factory for AnyPointer accessor 2020-10-22 15:55:11 +01:00
Vaci Koblizek
3b0e3f37a0 generate (non-generic) interfaces and capability accessors 2020-10-22 15:55:11 +01:00
Vaci Koblizek
b94f2d6c8c prep for generated code 2020-10-22 15:55:11 +01:00
Vaci Koblizek
be64ced181 demo schema with interfaces 2020-10-22 15:55:11 +01:00
Vaci Koblizek
81b151deb5 oops, correct FromPointerBuilder default call 2020-10-22 15:55:11 +01:00
Vaci Koblizek
07dbf228f0 avoid repetition of getResultsBuilder call 2020-10-22 15:55:11 +01:00
Vaci Koblizek
734af71659 handleFinish 2020-10-22 15:55:11 +01:00
Vaci Koblizek
6bd1411c26 handleDisembargo. NB future evaluation order needs work 2020-10-22 15:55:11 +01:00
Vaci Koblizek
c938938808 CapTables everywhere!
Imbue readers and writers with capTables.
Ensure caps are removed when pointers are zeroed out.
2020-10-22 15:55:11 +01:00
Vaci Koblizek
1913b6d5ea minor scope changes to cap client and server 2020-10-22 15:55:11 +01:00
Vaci Koblizek
7ae49a8f6a RpcState bug fixes
correctly brand RpcClient
don't run message loop inside promise
imbue payload
2020-10-22 15:55:11 +01:00
Vaci Koblizek
194c0ada2a correct setter of capability pointer 2020-10-22 15:55:11 +01:00
Vaci Koblizek
7d3e79091b add runOnce to Client 2020-10-22 15:55:11 +01:00
Vaci Koblizek
9c5e080f90 regenerated rpc schemas 2020-10-22 15:55:11 +01:00
Vaci Koblizek
4dada05373 make CallContext constructor public 2020-10-22 15:55:11 +01:00
Vaci Koblizek
a505c03574 extend fromPointerReader to accept capTable 2020-10-22 15:55:11 +01:00
Vaci Koblizek
3959732765 handle resolve 2020-10-22 15:55:11 +01:00
Vaci Koblizek
4a77f67819 twoparty rpc 2020-10-22 15:55:10 +01:00
Vaci Koblizek
f5e4630aef implement capability client and server 2020-10-22 15:55:10 +01:00
Vaci Koblizek
37c93cc5d2 implement request send 2020-10-22 15:55:10 +01:00
Vaci Koblizek
15b83a9c05 implement local, queued and promised hooks 2020-10-22 15:55:10 +01:00
Vaci Koblizek
37fe39bcde implement unimplemented 2020-10-22 15:55:10 +01:00
Vaci Koblizek
b3c5b030c5 handle bootstrapping request 2020-10-22 15:55:10 +01:00
Vaci Koblizek
66ae27e805 mock rpc connection 2020-10-22 15:55:10 +01:00