class documentation

class ESMTPFactory(SMTPFactory): (source)

Constructor: ESMTPFactory(*args)

View In Hierarchy

An ESMTP server protocol factory.

Method __init__ No summary
Method buildProtocol Create an instance of an ESMTP server protocol.
Instance Variable challengers A mapping of acceptable authorization mechanism to callable which creates credentials to use for authentication.
Instance Variable context A factory to generate contexts to be used in negotiating encrypted communication.
Instance Variable protocol A callable which creates a protocol. The default value is ESMTP.

Inherited from SMTPFactory:

Instance Variable portal See __init__
Instance Variable service See __init__

Inherited from SMTPFactory (via SMTPFactory):

Class Variable timeout Undocumented

Inherited from Factory (via SMTPFactory, SMTPFactory, ServerFactory):

Class Method forProtocol Create a factory for the given protocol.
Method doStart Make sure startFactory is called.
Method doStop Make sure stopFactory is called.
Method logPrefix Describe this factory for log messages.
Method startFactory This will be called before I begin listening on a Port or Connector.
Method stopFactory This will be called before I stop listening on all Ports/Connectors.
Class Variable noisy Undocumented
Instance Variable numPorts Undocumented
def __init__(self, *args): (source)
def buildProtocol(self, addr): (source)

Create an instance of an ESMTP server protocol.

Parameters
addr:IAddress providerThe address of the ESMTP client.
Returns
ESMTPAn ESMTP protocol.
challengers: dict mapping bytes to no-argument callable which returns ICredentials subclass provider. = (source)

A mapping of acceptable authorization mechanism to callable which creates credentials to use for authentication.

A factory to generate contexts to be used in negotiating encrypted communication.

protocol: no-argument callable which returns a Protocol subclass = (source)

A callable which creates a protocol. The default value is ESMTP.