class documentation
class AsyncDeferredMailbox(DummyMailbox): (source)
Mailbox which has a listMessages implementation which returns a Deferred which has not yet fired.
Method | __init__ |
Undocumented |
Method | list |
Record a new unfired Deferred in self.waiting and return it. |
Instance Variable | waiting |
Undocumented |
Inherited from DummyMailbox
:
Method | delete |
Wipe the message at the given index. |
Method | get |
Get the message content. |
Method | get |
Construct a UID which is simply the string representation of the given index. |
Instance Variable | exception |
The type of exception to raise when an out-of-bounds index is addressed. |
Instance Variable | messages |
A sequence of bytes defining the messages in this mailbox. |
Inherited from Mailbox
(via DummyMailbox
):
Method | sync |
Discard the contents of any message marked for deletion. |
Method | undelete |
Undelete all messages marked for deletion. |