class documentation

class twisted.mail.alias.MultiWrapper: (source)

Implements interfaces: twisted.mail.interfaces.IMessageSMTP

View In Hierarchy

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.
def __init__(self, objs): (source)
ParametersobjsMessage receivers to which the incoming message should be directed. (type: list of IMessage provider)
def lineReceived(self, line): (source)

Pass a received line to the message receivers.

ParameterslineA line of the message. (type: bytes)
def eomReceived(self): (source)

Pass the end of message along to the message receivers.

ReturnsA 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 None)
def connectionLost(self): (source)

Inform the message receivers that the connection has been lost.

def __str__(self): (source)

Build a string representation of this MultiWrapper instance.

ReturnsA string containing a list of the message receivers. (type: bytes)
API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.