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

Class SMTPFactory

  Factory --+    
            |    
ServerFactory --+
                |
               SMTPFactory


Method Summary
  __init__(self, processor)
  buildProtocol(self, addr)
Create an instance of a subclass of Protocol.
Inherited from Factory: doStart, doStop, startFactory, stopFactory

Class Variable Summary
Inherited from Factory: __implemented__, __providedBy__, __provides__, noisy, numPorts, protocol

Method Details

buildProtocol(self, addr)

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)

Generated by Epydoc 2.1 on Thu Aug 16 09:55:08 2007 http://epydoc.sf.net