twisted.web.test.test_xmlrpc.TestQueryFactoryCancel(xmlrpc._QueryFactory) class documentationtwisted.web.test.test_xmlrpc
(View In Hierarchy)
QueryFactory that saves a reference to the twisted.internet.interfaces.IConnector
to test connection lost.
| Method | startedConnecting | Called when a connection has been started. | 
Inherited from _QueryFactory:
| Instance Variable | path | The path portion of the URL to which to post method calls. (type: bytes) | 
| Instance Variable | host | The value to use for the Host HTTP header. (type: bytes) | 
| Instance Variable | user | The username with which to authenticate with the server when making calls. (type: bytesorNone) | 
| Instance Variable | password | The password with which to authenticate with the server when making calls. (type: bytesorNone) | 
| Instance Variable | useDateTime | Accept datetime values as datetime.datetime objects. also passed to the 
underlying xmlrpclib implementation.  Defaults to False. (type:bool) | 
| Method | __init__ | |
| Method | parseResponse | Undocumented | 
| Method | clientConnectionLost | Called when an established connection is lost. | 
| Method | badStatus | Undocumented | 
Inherited from ClientFactory (via _QueryFactory):
| Method | clientConnectionFailed | Called when a connection has failed to connect. | 
Inherited from Factory (via _QueryFactory, ClientFactory):
| 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. |