Arthur Britto
14bf7d0ec2
Regularize irregular results for websocket interface too.
2012-12-02 18:25:12 -08:00
Arthur Britto
c6db85fb39
Refactor RPC commands with no arguments.
2012-12-02 18:16:54 -08:00
Arthur Britto
fed1250218
Regularize RPC handling.
2012-12-02 16:05:45 -08:00
JoelKatz
fd1468b71f
Remove broken lock.
2012-11-21 14:13:37 -08:00
JoelKatz
8e520e8816
Locking fixes.
2012-11-20 15:20:43 -08:00
Stefan Thomas
f5a6fdbab9
Instantiate an RPCHandler per request.
...
RPCHandlers are pretty light objects and this allows us to pass in
parameters like the InfoSub object without locking or adding more
parameters to the RPC methods.
2012-11-10 15:51:45 -08:00
Stefan Thomas
00bb9d99a7
Refactored WSConnection and RPCHandler to have one layer of commands.
...
Evented RPC commands are now on the same level as all other RPC
commands and are handled by the RPCHandler class.
2012-11-10 15:17:28 -08:00
Stefan Thomas
fa3fab5816
Moved cpp code to src/cpp and js code to src/js.
2012-11-07 12:49:50 -08:00