beremiz
Clone
Summary
Browse
Changes
Graph
Use '-p' command line option when running matiec (iec2c)
2014-12-06, mjsousa
e01b52d948c3
Use '-p' command line option when running matiec (iec2c)
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