TwistedDispatchPlugin

Plugin for Louie that wraps all receivers in callables that return Twisted Deferred objects.

When the wrapped receiver is called, it adds a call to the actual receiver to the reactor event loop, and returns a Deferred that is called back with the result.


Methods

f is_live(self, receiver) ...

Return True if the receiver is still live.

Only called for receivers who have already been determined to be live by default Louie semantics.

f __init__(self) ...

f wrap_receiver(self, receiver) ...

See the source for more information.

This documentation is licensed under the GNU Free Documentation License
Copyright 2006 by Orbtech LLC. - All Rights Reserved.
-