Commit graph

645 commits

Author SHA1 Message Date
Vaci Koblizek
6326f965ab new style resolve switch 2020-11-26 15:18:37 +00:00
Vaci Koblizek
772108ff12 add testEmbargoNull test
throw RpcExceptions rather than RuntimeExceptions
2020-11-26 15:06:20 +00:00
Vaci Koblizek
3ba96956a8 disembargo promise is always non-null 2020-11-26 14:44:38 +00:00
Vaci Koblizek
359dae8b1c lower logging level to FINE 2020-11-26 14:39:53 +00:00
Vaci Koblizek
e3d52a0bbd use gather writes for AsynchronousSocketChannels 2020-11-26 14:22:13 +00:00
Vaci Koblizek
de85613570 consistent naming of factories 2020-11-26 13:07:28 +00:00
Vaci Koblizek
07f8f22acd implement call blocking stack 2020-11-25 19:43:18 +00:00
Vaci Koblizek
941a254e41 by default, streaming calls fal back to regular calls 2020-11-25 15:53:25 +00:00
Vaci Koblizek
2d072a6b12 implement streaming requests 2020-11-25 15:47:02 +00:00
Vaci Koblizek
fb5f1bf2ba cleanup import lifecycle 2020-11-24 22:16:01 +00:00
Vaci Koblizek
594e5e3a28 reduce visibility of cap contexts 2020-11-24 17:48:08 +00:00
Vaci Koblizek
5a27b4b860 tidy up Builder refs in AnyPointer.Pipeline 2020-11-24 15:38:07 +00:00
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