[Twisted-Python] Lost connection on PbServerFactory
April 2, 2008
12:33 p.m.
Hi, I notice PbServerFactory has a clientConnectionMade method, but no clientConnectionLost. What is the correct way for a pb server to know a connection is down? Many thanks Simon -- Linux Counter: User# 424693
April 2008
12:50 p.m.
On Wed, 02 Apr 2008 13:33:58 +0100, Simon Pickles <sipickles@hotmail.com> wrote:
Hi,
I notice PbServerFactory has a clientConnectionMade method, but no clientConnectionLost.
What is the correct way for a pb server to know a connection is down?
Many thanks
Broker and RemoteReference both have a `notifyOnDisconnect´ method which can be used for this. Jean-Paul
12:58 p.m.
Jean-Paul Calderone wrote: > On Wed, 02 Apr 2008 13:33:58 +0100, Simon Pickles > <sipickles@hotmail.com> wrote: >> Hi, >> >> I notice PbServerFactory has a clientConnectionMade method, but no >> clientConnectionLost. >> >> What is the correct way for a pb server to know a connection is down? >> >> Many thanks > > Broker and RemoteReference both have a `notifyOnDisconnect´ method > which can > be used for this. > > Jean-Paul Aww, you beat me to the reply - I'd _actually_ worked it out for myself - a milestone in my twisted journey! > > _______________________________________________ > Twisted-Python mailing list > Twisted-Python@twistedmatrix.com > http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python > > -- Linux Counter: User# 424693
6523
Age (days ago)
6523
Last active (days ago)
2 comments
2 participants
participants (2)
-
Jean-Paul Calderone -
Simon Pickles