[Twisted-Python] A collection of protocol objects

Hi all,
is there any way to iterate through the collection of protocol objects? I need this to check for idle connections and close them if necessary.
TIA

On Wed, 11 Jul 2007 10:26:13 +0600, Pavel Bastov pbastov@gmail.com wrote:
Hi all,
is there any way to iterate through the collection of protocol objects? I need this to check for idle connections and close them if necessary.
What collection of protocol objects? (Hint: there isn't one, unless you make one).
Jean-Paul

Ah, ok I see. It should be maintained manually. Thanks.
On 7/11/07, Jean-Paul Calderone exarkun@divmod.com wrote:
On Wed, 11 Jul 2007 10:26:13 +0600, Pavel Bastov pbastov@gmail.com wrote:
Hi all,
is there any way to iterate through the collection of protocol objects? I need this to check for idle connections and close them if necessary.
What collection of protocol objects? (Hint: there isn't one, unless you make one).
Jean-Paul
Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
participants (2)
-
Jean-Paul Calderone
-
Pavel Bastov