[Twisted-Python] RTFM about custom reactors

Itamar Shtull-Trauring itamar at itamarst.org
Mon May 4 12:08:39 MDT 2009


On Mon, 2009-05-04 at 02:15 -0400, Mohamed Lrhazi wrote:
> Hello all,
> 
> I was wondering if someone could point me in the right direction....
> 
> I am attempting to connect a proprietary network OS plugin system to
> Python, to allow for writing traffic handling plugins in Python, and
> was wondering what it would take to connect such a system into
> Twisted, thus allowing the writing of normal twisted apps on top....
> 
> Is it matter of learning and writing a custom reactor? My current
> understanding is that the reactor is what detects and dispatches
> events... but does it also dispatch the "data", as in the traffic
> payload? what can I read to learn more?

The  reactor does low-level network events, like TCP reads, not
high-level plugins. What would these plugins do exactly?





More information about the Twisted-Python mailing list