twisted.test.test_protocols.TestableProxyFactory(portforward.ProxyFactory)
class documentationtwisted.test.test_protocols
(View In Hierarchy)
Test proxy factory that keeps the last created protocol instance.
Instance Variable | protoInstance | the last instance of the protocol. (type: portforward.ProxyServer ) |
Instance Variable | clientFactoryInstance | client factory used by protoInstance to create forward
connections. (type: TestableProxyClientFactory ) |
Method | buildProtocol | Create the protocol instance, keeps track of it, and makes it use
clientFactoryInstance as client factory. |
Inherited from ProxyFactory:
Method | __init__ | Undocumented |
Inherited from Factory (via ProxyFactory):
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. |
protoInstance
to create forward
connections. (type: TestableProxyClientFactory
)