beremiz
Clone
Summary
Browse
Changes
Graph
Fixed race condition preventing to stop PLC through WAMP
2015-02-09, Edouard Tisserant
ad9a7853dea2
Fixed race condition preventing to stop PLC through WAMP
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