Commit graph

655 commits

Author SHA1 Message Date
Vaci Koblizek
ab44843b12 QueuedClient should stop queuing calls once it has resolved 2020-11-27 15:24:41 +00:00
Vaci Koblizek
789d2df6e4 replace PipelineOp[] with short[] 2020-11-27 13:30:35 +00:00
Vaci Koblizek
a53f7db25e remove extraneous ArrayList wrapper from ops key 2020-11-27 11:30:12 +00:00
Vaci Koblizek
250f14e2f4 simplify QueuedPipeline promise 2020-11-27 11:25:39 +00:00
Vaci Koblizek
6e5bcc62ae replace typeless requests with anonymous implementations 2020-11-27 10:19:06 +00:00
Vaci Koblizek
585a21259e remove unused AnyRequest.send() 2020-11-27 09:50:26 +00:00
Vaci Koblizek
b5c1c48c4f all channels are socket channels 2020-11-26 16:52:47 +00:00
Vaci Koblizek
a3837e6010 message loop exit logging level as FINE 2020-11-26 16:09:07 +00:00
Vaci Koblizek
a2a17ea3cb remove CapabilityServerSetBase, add test case 2020-11-26 16:03:13 +00:00
Vaci Koblizek
60690c1e70 fix construction of never-resolving pipeline 2020-11-26 15:21:02 +00:00
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