What if I'm using a pre-3 RPyC? Was there any good way to do it back then?
On 13 אוקטובר, 22:02, tomer filiba <[email protected]> wrote: > it seems you want to change an existing class. you can do this by deriving a > SlaveService2 from SlaveService and overriding on_disconnect, or you can > directly monkeypatch the instance of the existing service with a custom > on_disconnect method. > > An NCO and a Gentleman > > > > On Wed, Oct 13, 2010 at 01:34, Amy Allen <[email protected]> wrote: > > What is the best way to handle disconnections in the classic rpyc, on > > the server's side? > > > I would like to be able to run some function, let's say > > 'on_disconnect', whenever one of the clients connected to me has > > disconnected. How should I do that?-הסתר טקסט מצוטט- > > -הראה טקסט מצוטט-
