I have a RPyC Server that creates an instance of class which is connected
to a cdll as wrapper; if I instantiate this object in the RpycService Class
I wrote the server connection aborts as soon as I create the instance of
the Cwrapper
Any clue why this happens?
class RpycService(rpyc.Service):
def __init__(self):
self._root_cart_wrapper = None
def exposed_simulate(self, cdll_path=""):
#global _root_cart_wrapper
if not cdll_path:
cdll_path=cmdline_args.cdll_path
self._root_cart_wrapper = sims.BAF_SIL_Sync(cdll_path)
def exposed_process_clock_tick(self, *args, **kwargs):
#self._root_cart_wrapper.process_clock_tick(*args, **kwargs)
print ("Rpyc's process_clock_tick")
--
---
You received this message because you are subscribed to the Google Groups
"rpyc" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/rpyc/3d2e0133-e4b8-44c6-891b-4a6a4d8aec09n%40googlegroups.com.