[Twisted-Python] Lost connection on PbServerFactory

Simon Pickles sipickles at hotmail.com
Wed Apr 2 06:58:15 MDT 2008



Jean-Paul Calderone wrote:
> On Wed, 02 Apr 2008 13:33:58 +0100, Simon Pickles 
> <sipickles at 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 at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>
>

-- 
Linux Counter: User# 424693 







More information about the Twisted-Python mailing list