Commit graph

683 commits

Author SHA1 Message Date
Vaci Koblizek
9465ffde5b add default getBrand to RequestHook 2020-11-24 15:37:28 +00:00
Vaci Koblizek
3b642d0355 add a delay to testTailCall 2020-11-23 21:04:09 +00:00
Vaci Koblizek
beec84a1bc calling thread drives client side loop 2020-11-23 20:50:11 +00:00
Vaci Koblizek
cdb719eed0 oops, invert senderLoopback assertion 2020-11-23 20:06:52 +00:00
Vaci Koblizek
119a682d4d memoise queuespipeline caps. use queues to order queuedclient resolution 2020-11-23 19:56:54 +00:00
Vaci Koblizek
52892478ef serialise write and correct chaining 2020-11-20 20:22:36 +00:00
Vaci Koblizek
1cadca604e add releaseCall to delay call execution 2020-11-20 17:07:45 +00:00
Vaci Koblizek
e314d26ab3 use sendInternal rather than calling hook directly 2020-11-20 16:35:38 +00:00
Vaci Koblizek
d3e639eaee add capability tail call test 2020-11-20 16:32:42 +00:00
Vaci Koblizek
1366e28fd5 simplify conversion to CompletableFuture<Void> 2020-11-19 17:36:48 +00:00
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
bac65dbf86 Merge remote-tracking branch 'sandstorm/master' 2020-11-16 20:26:21 +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
c0a57d304f merge resolveTask into constructor 2020-11-13 08:10:59 +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
David Renshaw
449bf8b2b2
Merge pull request #91 from vaci/copy-any-pointer
set AnyPointer from AnyPointer
2020-11-10 07:33:20 -05: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
91a93734e1 generalise AnyPointer setAs AnyPointer 2020-11-10 11:34:26 +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
b1be88d3c9 bump capnproto C++ runtime to version 0,8.0 in travis CI 2020-11-09 21:25:19 +00:00
Vaci Koblizek
0ff819702d avoid test package name clash 2020-11-09 20:39:32 +00:00
Vaci Koblizek
40aebeecee Move compiler test package to correct directory 2020-11-09 20:30:23 +00:00
Vaci Koblizek
1e7b03d3f1 point readme to our travis badge 2020-11-09 19:41:05 +00:00
Vaci Koblizek
ce8ecc5349 bump travis to jdk14 2020-11-09 19:36:52 +00:00
Vaci Koblizek
cefd8eaaa2 add AnyStruct 2020-11-09 18:08:56 +00:00