python - How to check if Pyro4 client is still alive -
situation:
a pyro4 server gives pyro4 client pyro4 proxy.
i want detect whether client still indeed using proxy, server can give proxy other clients.
my idea @ moment have server periodically ping client. this, client need host pyro daemon, , give server pyro4 proxy server can use proxy ping clients.
is there cleaner way this?
i'd let client report server no longer needs proxy. i.e. don't overcomplicate server dependencies/knowledge clients.
Comments
Post a Comment