Mailbox which has a listMessages implementation which returns a Deferred which has not yet fired.

Method __init__ Undocumented
Method listMessages Record a new unfired Deferred in self.waiting and return it.

Inherited from DummyMailbox:

Instance Variable messages A sequence of bytes defining the messages in this mailbox.
Instance Variable exceptionType The type of exception to raise when an out-of-bounds index is addressed.
Method getMessage Get the message content.
Method getUidl Construct a UID which is simply the string representation of the given index.
Method deleteMessage Wipe the message at the given index.

Inherited from Mailbox (via DummyMailbox):

Method undeleteMessages Undelete all messages marked for deletion.
Method sync Discard the contents of any message marked for deletion.
def __init__(self, *a, **kw):
def listMessages(self, n=None):

Record a new unfired Deferred in self.waiting and return it.

ParametersnThe 0-based index of the message. (type: int or None)
ReturnsThe Deferred
API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.