changeset 1851 | 1b8b5324506c |
parent 1850 | 614396cbffbf |
child 1866 | 9d1e68d557bf |
1850:614396cbffbf | 1851:1b8b5324506c |
---|---|
1 import sys |
1 import sys |
2 import gluon.contrib.simplejson as simplejson |
2 import gluon.contrib.simplejson as simplejson |
3 |
3 |
4 |
4 |
5 class JSONRPCServiceBase: |
5 class JSONRPCServiceBase(object): |
6 |
6 |
7 def __init__(self): |
7 def __init__(self): |
8 self.methods = {} |
8 self.methods = {} |
9 |
9 |
10 def response(self, id, result): |
10 def response(self, id, result): |