beremiz
Clone
Summary
Browse
Changes
Graph
LPCobject writes PLC info string to stdout, for LPC composer to update
2009-12-16, Edouard TISSERANT
e43bc748d1fe
LPCobject writes PLC info string to stdout, for LPC composer to update
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