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, addr)
Create an instance of a subclass of Protocol.
source code

Inherited from twisted.internet.protocol.Factory: __providedBy__, doStart, doStop, startFactory, stopFactory

Class Variables [hide private]

Inherited from twisted.internet.protocol.Factory: __implemented__, __provides__, noisy, numPorts, protocol

Method Details [hide private]

buildProtocol(self, addr)

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.
Overrides: twisted.internet.protocol.Factory.buildProtocol
(inherited documentation)