You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, great framework, documentation is a bit lacking, but examples even more.
Could anyone just tell me if this is doable?
Have a big framework that has a job scheduler and mp forked threaded rpyc service.
I am forced due to a scheduler and job that is scheduled to push messages to rpc server and exposed class, similar to:
class MyService(rpyc.Service):
class exposed_MyClass(object):
def init(self, a, b):
self.a = a
self.b = b
def exposed_foo(self):
return self.a + self.b
so the internal client in the framework can push messages on the server. However, the remote client is a new session, and even with the callback function message on the service is lost and I am unable to retrieve the job to run.
I tried this on forked service, with threading and the only way that this will work is to use some sort of disk serialization of messages and use the async pattern that the author has as an example of the async file monitor or Events model ...
I am not sure if the state of service implementation object and attributes can be preserved with multiple clients local and remote to the service itself...
Possibly if someone has an example that can show me possibilities I would greatly appreciate it ...
The text was updated successfully, but these errors were encountered:
Hi sorry to intrude,
Hi, great framework, documentation is a bit lacking, but examples even more.
Could anyone just tell me if this is doable?
Have a big framework that has a job scheduler and mp forked threaded rpyc service.
I am forced due to a scheduler and job that is scheduled to push messages to rpc server and exposed class, similar to:
class MyService(rpyc.Service):
class exposed_MyClass(object):
def init(self, a, b):
self.a = a
self.b = b
def exposed_foo(self):
return self.a + self.b
so the internal client in the framework can push messages on the server. However, the remote client is a new session, and even with the callback function message on the service is lost and I am unable to retrieve the job to run.
I tried this on forked service, with threading and the only way that this will work is to use some sort of disk serialization of messages and use the async pattern that the author has as an example of the async file monitor or Events model ...
I am not sure if the state of service implementation object and attributes can be preserved with multiple clients local and remote to the service itself...
Possibly if someone has an example that can show me possibilities I would greatly appreciate it ...
The text was updated successfully, but these errors were encountered: