twisted.web.test.test_distrib.PBServerFactory(pb.PBServerFactory)
class documentationtwisted.web.test.test_distrib
(View In Hierarchy)
A PB server factory which keeps track of the most recent protocol it created.
Instance Variable | proto | None
or the Broker
instance most recently returned from buildProtocol . |
Method | buildProtocol | Return a Broker attached to the factory (as the service provider). |
Inherited from PBServerFactory:
Method | __init__ | |
Method | clientConnectionMade | Undocumented |
Inherited from Factory (via PBServerFactory, ServerFactory):
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. |