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 Variable completionTimeout The number of seconds to wait for the child process to exit before reporting the delivery as a failure. (type: int or float)
Instance Variable done Flag indicating whether the child process has exited or not. (type: bool)
Instance Variable reactor An 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
Instance Variable _timeoutCallID The call used to time out delivery, started when the connection to the child process is closed. (type: NoneType or IDelayedCall)
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.
completionTimeout =
The number of seconds to wait for the child process to exit before reporting the delivery as a failure. (type: int or float)
_timeoutCallID =
The call used to time out delivery, started when the connection to the child process is closed. (type: NoneType or IDelayedCall)
done =
Flag indicating whether the child process has exited or not. (type: bool)
reactor =
An IReactorTime provider which will be used to schedule timeouts.
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 2012-09-01 11:44:56.