class documentation

class FailingMaildirMailboxAppendMessageTask(mail.maildir._MaildirMailboxAppendMessageTask): (source)

View In Hierarchy

Undocumented

Method osopen Undocumented
Method osrename Undocumented
Method oswrite Undocumented
Class Variable _openstate Undocumented
Class Variable _renamestate Undocumented
Class Variable _writestate Undocumented

Inherited from _MaildirMailboxAppendMessageTask:

Method __init__ No summary
Method createTempFile Create a temporary file to hold the message as it is being transferred.
Method fail Fire the deferred to indicate the task completed with a failure.
Method moveFileToNew Place the message in the new/ directory, add it to the mailbox and fire the deferred to indicate that the task has completed successfully.
Method prodProducer Repeatedly prod a non-streaming producer to produce data.
Method registerProducer Register a producer and start asking it for data if it is non-streaming.
Method startUp Start transferring the message to the mailbox.
Method unregisterProducer Finish transferring the message to the mailbox.
Method write Write data to the maildir file.
Class Variable osclose Undocumented
Instance Variable defer A deferred which fires when the task has completed.
Instance Variable fh The new maildir file.
Instance Variable filesender A file sender which sends the message.
Instance Variable mbox See __init__.
Instance Variable msg The message to add.
Instance Variable myproducer The registered producer.
Instance Variable opencall A scheduled call to prodProducer.
Instance Variable openCall Undocumented
Instance Variable streaming Indicates whether the registered producer provides a streaming interface.
Instance Variable tmpname The pathname of the temporary file holding the message while it is being transferred.
def osopen(self, fn, attr, mode): (source)
def osrename(self, oldname, newname): (source)
_openstate: bool = (source)

Undocumented

_renamestate: bool = (source)

Undocumented

_writestate: bool = (source)

Undocumented