Commit graph

71 commits

Author SHA1 Message Date
Vaci Koblizek
e3d52a0bbd use gather writes for AsynchronousSocketChannels 2020-11-26 14:22:13 +00:00
Vaci Koblizek
9e6d495d56 add runtime-rpc module and refactor project 2020-11-08 17:24:42 +00:00
Vaci Koblizek
66fc361386 stub out two-party test suite for now 2020-11-07 15:58:39 +00:00
Vaci Koblizek
0ce52fe135 add resolve test and fix handleResolve bugs 2020-11-06 15:32:20 +00:00
Vaci Koblizek
7d2e541603 fix getNetwork bug, remove unnecessary TwoPartVatNetwork specialisation 2020-11-06 13:58:36 +00:00
Vaci Koblizek
1f004779d4 rpc tests 2020-11-05 21:38:43 +00:00
Vaci Koblizek
054213a0ac add rpc bootstrap factory 2020-11-05 21:38:43 +00:00
Vaci Koblizek
9d023f0449 fix generic pipeline params. add (non-generic, for now) capability list 2020-11-05 21:38:43 +00:00
Vaci Koblizek
02789acf29 add TestInterface.baz. Stub out broken TestGenerics 2020-11-05 17:59:05 +00:00
Vaci Koblizek
630d71d4e5 implement more capability tests 2020-11-05 17:59:05 +00:00
Vaci Koblizek
8565c40c14 capability test suite 2020-11-05 17:59:05 +00:00
Vaci Koblizek
a10e48d140 test schemas 2020-11-05 17:59:05 +00:00
Vaci Koblizek
2d8fe31a59 generic interface generation (WIP 2020-11-05 17:59:05 +00:00
Vaci Koblizek
d6a163990e fix RpcState tests 2020-11-05 17:59:05 +00:00
Vaci Koblizek
9315c8aaba null cap test 2020-10-22 15:55:11 +01:00
Vaci Koblizek
83a4d4dc9e only tap incoming 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
730ca1abf5 question cleanup 2020-10-22 15:55:11 +01:00
Vaci Koblizek
89451874c3 simplify server runOnce 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
606dd26d48 generate pipelines, add AnyPointer.Pipeline 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
be64ced181 demo schema with interfaces 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
4a77f67819 twoparty rpc 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
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
Vaci Koblizek
7ee0a60b5e stub handlers and test cases for incoming rpc messages 2020-10-22 15:55:10 +01:00
Vaci Koblizek
86dfbd123d Serialization to and from AsynchronousByteChannel 2020-10-22 15:55:10 +01:00
David Renshaw
79ffb37b4c sbt -> maven, scalatest -> junit 2020-05-12 20:17:47 -04:00
David Renshaw
6dcfa30e10 ArrayInputStream: return -1 on end-of-stream 2018-06-10 13:25:40 -04:00
David Renshaw
edcbf1f61c fix bug in ArrayInputStream.read() 2018-06-10 09:32:38 -04:00
David Renshaw
98500483c9 bugfix: packed input reading was broken for runs longer than 128 words. 2015-09-19 16:11:16 -04:00
Ben Challenor
d2634a21d0 Support reading all segments from a single ByteBuffer, with tests
Sometimes it is desirable to read all segments from a single ByteBuffer,
e.g. if reading messages from a memory-mapped file.

Here we add such support, and add a test to check that the ByteBuffer
read behaves the same as the ReadableByteChannel read.
2015-05-03 19:04:07 +01:00
Ben Challenor
28fac634bc Idiomatic scala - remove explicit return 2015-05-03 15:43:09 +01:00
Ben Challenor
c601c6805f Idiomatic scala - override method with val 2015-05-03 15:42:26 +01:00
Ben Challenor
50f4fe9d51 Idiomatic Scala - remove semicolons
Note this means that a few newlines have to be added to eliminate
ambiguity.
2015-05-03 15:35:07 +01:00
Ben Challenor
2ec3b6b125 Rename Scala files to match class names 2015-05-03 15:05:41 +01:00
David Renshaw
29a51b067a get rid of bit0Offset 2014-10-26 10:13:12 -04:00
David Renshaw
9c5b64b98b get rid of struct list packing optimization 2014-10-26 09:31:09 -04:00
David Renshaw
c941f5960f FieldSize -> ElementSize 2014-10-11 09:25:31 -04:00
David Renshaw
03774fff34 add license comment to source files 2014-10-08 16:20:15 -04:00
David Renshaw
1a039892af read limiting 2014-10-08 15:16:17 -04:00
David Renshaw
6e9a325ca5 eradicate PointerBuilder 2014-10-08 12:22:58 -04:00
David Renshaw
b876c52ecd get rid of PointerReader 2014-10-08 11:12:52 -04:00
David Renshaw
4d842f0ef7 abstracting 2014-10-07 22:35:08 -04:00
David Renshaw
b4f34cb393 FromStructReader -> StructReader.Factory 2014-10-07 17:47:42 -04:00
David Renshaw
6495ab1da8 get the tests passing once again 2014-10-07 12:19:30 -04:00