Commit graph

26 commits

Author SHA1 Message Date
Jason Paryani
a4990f0868 Handle AnyPointers better as arguments to RPC functions 2015-06-08 14:59:21 -07:00
Jason Paryani
6f1ce8bcc5 Add support for using keyword arguments with a named struct in an RPC 2015-06-08 13:39:10 -07:00
Jason Paryani
8f78a7c80b Add null capability test 2015-06-03 14:35:54 -07:00
Jason Paryani
b9c9c6bc5c Fix for upstream changes in kj::Exception
* Change from using Nature/Durability to Type
* Prefer to raise KjException directly instead of Value/RuntimError.
* Will still raise AttributeError appropriately.
2014-11-30 14:27:10 -08:00
Jason Paryani
03faa0e18b Get inheritance working for simple version capabilities 2014-04-18 18:18:54 -07:00
Jason Paryani
56d68325ff Add check that method exists in Capability.__getattr__.
This makes it play nice with hasattr
2014-04-17 20:53:52 -07:00
Jason Paryani
430890f8d6 Add args checking to Void and RemotePromises then and check for double
send in Requests.
2014-04-13 18:35:53 -07:00
Jason Paryani
cfb60cddf0 Add arguments checking to then callback 2014-04-13 18:26:01 -07:00
Jason Paryani
c2b9d14268 Fix up cancel and timer a bit 2014-04-13 18:15:36 -07:00
Jason Paryani
f58f5d4846 Add timer functionality 2014-04-10 19:08:24 -07:00
Jason Paryani
f89af26fc3 Fix tests for change in exception type 2014-01-14 09:44:21 -08:00
Jason Paryani
5811213321 Add test for returning tuple in server 2013-12-11 01:17:23 -08:00
Jason Paryani
3f7c3ae023 Change server instantion to be inherited 2013-12-09 17:13:43 -08:00
Jason Paryani
90bf090db1 Update for API changes and add tail_call functionality 2013-12-05 00:07:51 -08:00
Jason Paryani
888b906781 Remove all public references to EventLoop to match changes to async API 2013-12-02 17:38:32 -08:00
Jason Paryani
8e1895dd8f Simplify server interface 2013-11-14 23:06:14 -08:00
Jason Paryani
2e4efd040b Allow client requests to use positional args 2013-11-14 20:59:21 -08:00
Jason Paryani
c1952a62ae Fix exception propogation in Promises 2013-11-13 20:54:57 -08:00
Jason Paryani
5251cb5575 Add upcast/cast_as to DynamicCapability. Also changed EventLoop.
wait_remote -> wait
2013-11-12 20:28:23 -08:00
Jason Paryani
d7abfae1ed Cleanup exception handling 2013-10-20 18:46:41 -07:00
Jason Paryani
5e00534842 Fixup exception handling for capabilities 2013-10-20 17:24:59 -07:00
Jason Paryani
a9ad0e6b85 Make test simpler 2013-10-19 22:40:55 -07:00
Jason Paryani
c3354e9069 Add ability to pipeline rpc requests 2013-10-19 22:38:10 -07:00
Jason Paryani
96bfc495d8 Pipelining almost completely wrapped
Waiting on some upstream changes in C++ libcapnp before I can finish
2013-10-17 22:42:14 -07:00
Jason Paryani
7f7b28f328 Fix memleak and simplify dynamic client api 2013-10-17 19:15:40 -07:00
Jason Paryani
a5d0abb49f First working version of capability interfaces 2013-10-15 22:36:14 -07:00