twisted.mail.alias.MultiWrapper class documentationtwisted.mail.alias
View Source
(View In Hierarchy)
Implements interfaces: twisted.mail.smtp.IMessage
A message receiver which delivers a single message to multiple other message receivers.
| Instance Variable | objs | See __init__. |
| Method | __init__ | |
| Method | lineReceived | Pass a received line to the message receivers. |
| Method | eomReceived | Pass the end of message along to the message receivers. |
| Method | connectionLost | Inform the message receivers that the connection has been lost. |
| Method | __str__ | Build a string representation of this MultiWrapper
instance. |
Pass a received line to the message receivers.
| Parameters | line | A line of the message. (type: bytes) |
Pass the end of message along to the message receivers.
| Returns | A deferred list which triggers when all of the message receivers have
finished handling their end of message. (type: DeferredList
whose successful results are bytes
or NoneType) | |
Build a string representation of this MultiWrapper
instance.
| Returns | A string containing a list of the message receivers. (type: bytes) | |