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?

Reply via email to