Re: [Twisted-Python] Getting a list of services and/or plugins are currently running

2010-10-18 Thread Marcus.CM
Hi Elizabeth, What kind of services/plugins are you referring to? And is your platform you are referring to is an OS (windows/linux/mac) ? Elizabeth Liao wrote: Hi all, I'm looking for a way to get a list of services and/or plugins that currently running on a machine.  Does anyone ha

Re: [Twisted-Python] Twisted protocol instances : a puzzle

2010-10-17 Thread Marcus.CM
Hi Exarkun, Ah, that should work correctly and as catered in the framework. Btw, for imap4.py i have a suggestion to improve  the performance in fetch : Fetch can be an expensive operation if the number of messages is a lot, this can be more "reactor" friendly if we use "fetch" as a genera

Re: [Twisted-Python] Twisted protocol instances : a puzzle

2010-10-17 Thread Marcus.CM
he factory itself is of no value since we are interested to find out the connection = account pair. Or is there a way to get access to the current protocol instance from RequestAvatar? Marcus. Glyph Lefkowitz wrote: On Oct 16, 2010, at 10:02 AM, Marcus.CM wrote: How do i find

[Twisted-Python] Twisted protocol instances : a puzzle

2010-10-16 Thread Marcus.CM
Hi, This might seems like a trivial question or at least i would have thought so but it has eluded me for some time on how to do this elegantly. In twisted mail, since the only part where we instantiate an instance of account is under : def requestAvatar(self, avatarId, mind, *interfaces):