beremiz
Clone
Summary
Browse
Changes
Graph
reverted PLCObject.py. ctypes.POINTER(ctypes.c_uint8) != string
2013-03-11, Edouard Tisserant
c4550f76ae05
reverted PLCObject.py. ctypes.POINTER(ctypes.c_uint8) != string
from pyjs.jsonrpc import JSONRPCServiceBase
class JSONRPCService(JSONRPCServiceBase):
def serve(self):
return self.process(request.body.read())
def __call__(self,func):
self.methods[func.__name__]=func
return func