MCPcopy Create free account
hub / github.com/LabPy/lantz / make_call

Method make_call

lantz/drivers/legacy/rpc.py:203–216  ·  view source on GitHub ↗
(self, proc, args, pack_func, unpack_func)

Source from the content-addressed store, hash-verified

201 self.verf = None
202
203 def make_call(self, proc, args, pack_func, unpack_func):
204 # Don't normally override this (but see Broadcast)
205 if pack_func is None and args is not None:
206 raise TypeError('non-null args with null pack_func')
207 self.start_call(proc)
208 if pack_func:
209 pack_func(args)
210 self.do_call()
211 if unpack_func:
212 result = unpack_func()
213 else:
214 result = None
215 self.unpacker.done()
216 return result
217
218 def start_call(self, proc):
219 # Don't override this

Callers 15

call_0Method · 0.95
setMethod · 0.45
unsetMethod · 0.45
get_portMethod · 0.45
dumpMethod · 0.45
callitMethod · 0.45
create_linkMethod · 0.45
device_writeMethod · 0.45
device_readMethod · 0.45
device_read_stbMethod · 0.45
device_triggerMethod · 0.45
device_clearMethod · 0.45

Calls 2

start_callMethod · 0.95
do_callMethod · 0.95

Tested by

no test coverage detected