class documentation
class ServerFactory(Factory): (source)
Known subclasses: twisted.mail.protocols.POP3Factory, twisted.mail.smtp.SMTPFactory, twisted.names.server.DNSServerFactory, 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:
| Class Method | for |
Create a factory for the given protocol. |
| Method | build |
Create an instance of a subclass of Protocol. |
| Method | do |
Make sure startFactory is called. |
| Method | do |
Make sure stopFactory is called. |
| Method | log |
Describe this factory for log messages. |
| Method | start |
This will be called before I begin listening on a Port or Connector. |
| Method | stop |
This will be called before I stop listening on all Ports/Connectors. |
| Class Variable | noisy |
Undocumented |
| Class Variable | protocol |
Undocumented |
| Instance Variable | num |
Undocumented |