t.m.a.MessageWrapper : class documentation

Part of twisted.mail.alias View Source View In Hierarchy

Implements interfaces: twisted.mail.smtp.IMessage

A message receiver which delivers content to a child process.
Instance VariablescompletionTimeoutThe number of seconds to wait for the child process to exit before reporting the delivery as a failure. (type: int or float )
_timeoutCallIDThe call used to time out delivery, started when the connection to the child process is closed. (type: NoneType or IDelayedCall )
doneFlag indicating whether the child process has exited or not. (type: bool )
reactorAn IReactorTime provider which will be used to schedule timeouts.
Method __init__ Undocumented
Method lineReceived handle another line
Method eomReceived Disconnect from the child process, set up a timeout to wait for it to exit, and return a Deferred which will be called back when the child process exits.
Method connectionLost handle message truncated
Method __str__ Undocumented
Method _processEnded Record process termination and cancel the timeout call if it is active.
Method _completionCancel Handle the expiration of the timeout for the child process to exit by terminating the child process forcefully and issuing a failure to the completion deferred returned by eomReceived.
def __init__(self, protocol, process=None, reactor=None): (source)
Undocumented
def _processEnded(self, result): (source)
Record process termination and cancel the timeout call if it is active.
def lineReceived(self, line): (source)
handle another line
def eomReceived(self): (source)
Disconnect from the child process, set up a timeout to wait for it to exit, and return a Deferred which will be called back when the child process exits.
def _completionCancel(self): (source)
Handle the expiration of the timeout for the child process to exit by terminating the child process forcefully and issuing a failure to the completion deferred returned by eomReceived.
def connectionLost(self): (source)

handle message truncated

semantics should be to discard the message
def __str__(self): (source)
Undocumented
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:27:37.