t.i.p.ServerFactory(Factory) : class documentation

Part of twisted.internet.protocol View Source View In Hierarchy

Known subclasses: twisted.mail.protocols.POP3Factory, twisted.mail.smtp.SMTPFactory, twisted.names.server.DNSServerFactory, twisted.news.news.NNTPFactory, twisted.protocols.ftp.FTPDataPortFactory, twisted.protocols.policies.LimitTotalConnectionsFactory, twisted.protocols.postfix.PostfixTCPMapDeferringDictServerFactory, twisted.protocols.postfix.PostfixTCPMapDictServerFactory, twisted.runner.inetd.InetdFactory, twisted.spread.pb.PBServerFactory, twisted.web.http.HTTPFactory, twisted.words.protocols.jabber.xmlstream.XmlStreamServerFactory, twisted.words.service.IRCFactory

Subclass this to indicate that your protocol.Factory is only usable for servers.

Inherited from Factory:

Method doStart Make sure startFactory is called.
Method doStop Make sure stopFactory is called.
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.
Method buildProtocol Create an instance of a subclass of Protocol.
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:27:37.