[Twisted-Python] How to forcibly disconnect PB client?

Steve Freitas sflist at ihonk.com
Thu Aug 25 09:57:44 EDT 2005


Hi,

In some cases I need to force a client to disconnect. Is there some
factory call that I can use to do this? On the client side, I know I can
use factory._broker.transport.loseConnection(), but on the server side,
though I've looked at the source a bit, I'm not sure how to get at the
correct transport.

Thanks!

Steve





More information about the Twisted-Python mailing list