Commit graph

38 commits

Author SHA1 Message Date
Vaci Koblizek
0c4e98848e ensure whenMoreResolved resolves to eventual client in PromiseClient 2020-11-19 16:19:34 +00:00
Vaci Koblizek
af229ccb99 cleanup minor code quality issues in RpcState
simplify handleResolve

use enhanced switch in getMessageTarget
2020-11-19 16:02:06 +00:00
Vaci Koblizek
f0fbaacae1 avoid null bootstrap interface 2020-11-19 15:32:32 +00:00
Vaci Koblizek
68edac583b remove unused getVatIdFactory() 2020-11-19 15:26:21 +00:00
Vaci Koblizek
5e797d36a3 remove baseAccept and tidy TowPartyVatNetwork 2020-11-19 15:17:50 +00:00
Vaci Koblizek
709751a885 add logging for inbound messages 2020-11-17 17:15:47 +00:00
Vaci Koblizek
d6112f0be7 allow for testEmbargoUnwrapped ordering 2020-11-17 16:19:25 +00:00
Vaci Koblizek
13dec22063 implement evalLast queue 2020-11-17 16:18:23 +00:00
Vaci Koblizek
054e4efdb1 Revert "resolve PromiseClient requests in order"
This reverts commit d526eca4b9.
2020-11-17 14:32:37 +00:00
Vaci Koblizek
3513db0588 setup/teardown rpc tests 2020-11-17 14:20:34 +00:00
Vaci Koblizek
224bc3a3ad oops, ensure bootstrap uses the questionRef promise 2020-11-17 14:20:34 +00:00
Vaci Koblizek
9f13f29bf6 implement missing overrides for PromiseClient 2020-11-17 14:20:34 +00:00
Vaci Koblizek
330eb50cf0 disconnect test networks on close 2020-11-17 14:20:34 +00:00
Vaci Koblizek
6e066d43c2 send abort to close test connection 2020-11-17 14:20:34 +00:00
Vaci Koblizek
f0d4d9d75a add embargoUnwrap test 2020-11-17 14:20:29 +00:00
Vaci Koblizek
c2423d453e improve question lifecycle handling
A specialised export table was a bad idea.
Stick more closely to C++ implentation of QuestionRef.
2020-11-16 20:01:44 +00:00
Vaci Koblizek
ad17a4c148 refactor connection and disconnection 2020-11-13 17:57:49 +00:00
Vaci Koblizek
37aa04b262 allow network to use bytechannels 2020-11-13 08:36:23 +00:00
Vaci Koblizek
69a045deec make requests autoclosable and cleanup disconnection 2020-11-12 22:15:07 +00:00
Vaci Koblizek
4e9e7f4068 cancellation 2020-11-12 21:27:44 +00:00
Vaci Koblizek
2ddc8e1d79 run the message loop asynchronously 2020-11-12 21:23:08 +00:00
Vaci Koblizek
af47f1a825 simplify iteration of (weak) question table 2020-11-12 20:40:18 +00:00
Vaci Koblizek
c8c8c8a085 just catch Exception when failing to send abort 2020-11-12 20:36:53 +00:00
Vaci Koblizek
ce9e1689cb dont aggressively clean up answer pipelines 2020-11-12 20:34:48 +00:00
Vaci Koblizek
d526eca4b9 resolve PromiseClient requests in order 2020-11-12 20:12:10 +00:00
Vaci Koblizek
cd8e096f3f small tidy of RpcState 2020-11-10 12:07:37 +00:00
Vaci Koblizek
f3bb329e96 generalise AnyPointer setAs AnyPointer 2020-11-10 11:42:23 +00:00
Vaci Koblizek
dcd9eb37c7 add override to set clients from completablefutures 2020-11-09 21:43:32 +00:00
Vaci Koblizek
c30dba3e9f add callBrokenPromise test 2020-11-09 21:28:43 +00:00
Vaci Koblizek
f05c994c06 correct module description 2020-11-09 21:28:03 +00:00
Vaci Koblizek
0ff819702d avoid test package name clash 2020-11-09 20:39:32 +00:00
Vaci Koblizek
e04adc90b6 embargo test and tribble 2020-11-09 18:08:07 +00:00
Vaci Koblizek
f2df5c2191 implement rpc tail calls 2020-11-09 18:08:07 +00:00
Vaci Koblizek
cee3aa79ae set AnyPointer from AnyPointer 2020-11-09 18:08:00 +00:00
Vaci Koblizek
7b79ab8ab2 avoid TestUtil name clash 2020-11-09 16:18:17 +00:00
Vaci Koblizek
8457c38623 fix null exportId bug 2020-11-09 14:36:19 +00:00
Vaci Koblizek
59c8f648ec Merge branch 'capnpc-java-lite' 2020-11-08 17:29:59 +00:00
Vaci Koblizek
9e6d495d56 add runtime-rpc module and refactor project 2020-11-08 17:24:42 +00:00