class documentation

class twisted.internet.protocol.ServerFactory(Factory): (source)

Known subclasses: twisted.mail.protocols.POP3Factory, twisted.mail.smtp.SMTPFactory, twisted.names.server.DNSServerFactory, twisted.protocols.ftp.FTPDataPortFactory, 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

View In Hierarchy

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

Inherited from Factory:

Class Variable protocol Undocumented
Instance Variable numPorts Undocumented
Class Variable noisy Undocumented
Class Method forProtocol Create a factory for the given protocol.
Method logPrefix Describe this factory for log messages.
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 20.12.1 at 2021-02-28 19:53:36.