class documentation

class TestQueryFactoryCancel(xmlrpc.QueryFactory): (source)

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.
Instance Variable connector Undocumented

Inherited from QueryFactory:

Method __init__ No summary
Method badStatus Undocumented
Method clientConnectionLost Called when an established connection is lost.
Method parseResponse 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 useDateTime 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 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 buildProtocol Create an instance of a subclass of Protocol.
Method doStart Make sure startFactory is called.
Method doStop Make sure stopFactory is called.
Method logPrefix Describe this factory for log messages.
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.
Class Variable noisy Undocumented
Class Variable protocol Undocumented
Instance Variable numPorts Undocumented
def startedConnecting(self, connector): (source)

Called when a connection has been started.

You can call connector.stopConnecting() to stop the connection attempt.

Parameters
connectora Connector object.
connector = (source)

Undocumented