twisted.spread.test.test_pbfailure.SaveProtocolServerFactory(pb.PBServerFactory)
class documentationtwisted.spread.test.test_pbfailure
(View In Hierarchy)
A pb.PBServerFactory
that saves the latest connected client in
protocolInstance
.
Method | clientConnectionMade | Keep track of the given protocol. |
Inherited from PBServerFactory:
Method | __init__ | |
Method | buildProtocol | Return a Broker attached to the factory (as the service provider). |
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. |