twisted.internet.protocol.ServerFactory(Factory)
class documentationtwisted.internet.protocol
(View In Hierarchy)
Known subclasses: twisted.internet.test.connectionmixins._AcceptOneClient, twisted.mail.protocols.POP3Factory, twisted.mail.smtp.SMTPFactory, twisted.mail.test.test_pop3client.TLSServerFactory, twisted.mail.test.test_smtp.MultipleDeliveryFactorySMTPServerFactory, 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.protocols.test.test_tls.ServerNegotiationFactory, twisted.runner.inetd.InetdFactory, twisted.spread.pb.PBServerFactory, twisted.test.test_policies.Server, twisted.test.test_tcp.ClosingFactory, twisted.test.test_tcp.MyHCFactory, twisted.test.test_tcp.MyServerFactory, 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:
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. |