MCPcopy Create free account
hub / github.com/EmbeddedRPC/erpc / handle_invocation

Method handle_invocation

erpc_python/erpc/server.py:22–27  ·  view source on GitHub ↗
(self, methodId, sequence, codec)

Source from the content-addressed store, hash-verified

20 return self._id
21
22 def handle_invocation(self, methodId, sequence, codec):
23 try:
24 self._methods[methodId](sequence, codec)
25 except Exception as e:
26 raise RequestError(
27 "invalid method ID (%d) or method implementation: %s" % (methodId, str(e)))
28
29
30class Server(object):

Callers 1

_process_requestMethod · 0.80

Calls 1

RequestErrorClass · 0.90

Tested by

no test coverage detected