Package twisted :: Package internet :: Module protocol :: Class ServerFactory
[show private | hide private]
[frames | no frames]

Class ServerFactory

Factory --+
          |
         ServerFactory

Known Subclasses:
HTTPFactory

Subclass this to indicate that your protocol.Factory is only usable for servers.
Method Summary
    Inherited from Factory
  buildProtocol(self, addr)
Create an instance of a subclass of Protocol.
  doStart(self)
Make sure startFactory is called.
  doStop(self)
Make sure stopFactory is called.
  startFactory(self)
This will be called before I begin listening on a Port or Connector.
  stopFactory(self)
This will be called before I stop listening on all Ports/Connectors.

Class Variable Summary
    Inherited from Factory
Implements __implemented__ = <implementedBy twisted.internet.protoc...
ClassProvides __providedBy__ = <zope.interface.declarations.ClassProvi...
ClassProvides __provides__ = <zope.interface.declarations.ClassProvide...
bool noisy = True
int numPorts = 0                                                                     
NoneType protocol = None                                                                  

Generated by Epydoc 2.1 on Fri May 18 09:35:52 2007 http://epydoc.sf.net