class documentation
class TestQueryFactory(xmlrpc.QueryFactory): (source)
QueryFactory using TestQueryProtocol
for saving headers.
Method | __init__ |
No summary |
Instance Variable | headers |
Undocumented |
Instance Variable | sent |
Undocumented |
Inherited from QueryFactory
:
Method | bad |
Undocumented |
Method | client |
Called when an established connection is lost. |
Method | parse |
Undocumented |
Instance Variable | deferred |
Undocumented |
Instance Variable | host |
The value to use for the Host HTTP header. |
Instance Variable | password |
The password with which to authenticate with the server when making calls. |
Instance Variable | path |
The path portion of the URL to which to post method calls. |
Instance Variable | payload |
Undocumented |
Instance Variable | use |
Accept datetime values as datetime.datetime objects. also passed to the underlying xmlrpclib implementation. Defaults to False. |
Instance Variable | user |
The username with which to authenticate with the server when making calls. |
Inherited from ClientFactory
(via QueryFactory
):
Method | client |
Called when a connection has failed to connect. |
Method | started |
Called when a connection has been started. |
Inherited from Factory
(via QueryFactory
, ClientFactory
):
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 |
overrides
twisted.web.xmlrpc.QueryFactory.__init__
Parameters | |
args:tuple | the arguments to pass to the method. |
**kwargs | Undocumented |
method:str | The name of the method to call. |
allowNone | allow the use of None values in parameters. It's passed to the underlying xmlrpclib implementation. Defaults to False. |
canceller:callable or None | A 1-argument callable passed to the deferred as the canceller callback. |