Package Products :: Package ZenEvents :: Module zenmail :: Class SMTPFactory |
[hide private]
[frames] | no frames]

# Class SMTPFactory

source code

      twisted.internet.protocol.Factory --+
                                          |
    twisted.internet.protocol.ServerFactory --+
                                              |
                                             SMTPFactory

Instance Methods | [hide private]
__init__(self, processor) | source code
buildProtocol(self, unused) Create an instance of a subclass of Protocol. | source code
Inherited from `twisted.internet.protocol.Factory`: `doStart`, `doStop`, `startFactory`, `stopFactory`

Class Variables | [hide private]
Inherited from `twisted.internet.protocol.Factory`: `noisy`, `numPorts`, `protocol`

Method Details | [hide private]

### buildProtocol(self, unused) | source code
Create an instance of a subclass of Protocol. The returned instance will handle input on an incoming server connection, and an attribute "factory" pointing to the creating factory. Override this method to alter how Protocol instances get created. Parameters: `addr` - an object implementing `twisted.internet.interfaces.IAddress` Overrides: twisted.internet.protocol.Factory.buildProtocol (inherited documentation)