Package dopal :: Module main :: Class DopalConnection
[show private | hide private]
[frames | no frames]

Type DopalConnection

      AzureusLink --+            
                    |            
    AzureusConnection --+        
                        |        
ExtendedAzureusConnection --+    
                            |    
      AzureusObjectConnection --+
                                |
                               DopalConnection


A subclass of AzureusObjectConnection which contains an extended API.

This class defines an extended API, similar to the way that Dopal classes contain additional methods compared to their Azureus counterparts. It also sets up some different default behaviours (compared to AzureusObjectConnection):

See Also: The obj_impl module documentation.

Method Summary
  __init__(self)
    Inherited from AzureusObjectConnection
  get_plugin_interface(self)
  getPluginInterface(self)
  invoke_object_method(self, az_object, method_name, method_args, result_type)
  verify_objects(self, objects)
  _invoke_object_method(self, az_object, method_name, method_args, result_type)
  _on_reconnect(self)
Hook for subclasses to be notified whenever a new connection has been made.
    Inherited from ExtendedAzureusConnection
  __str__(self)
  establish_connection(self, force)
Establishes a connection with the Azureus server.
  get_azureus_version(self)
  invoke_remote_method(self, object_id, method_name, method_args, raise_errors)
  is_connection_valid(self)
Returns a boolean value indicating if the current connection is still valid.
  update_connection_details(self, connection_id, connection_data)
    Inherited from AzureusConnection
  get_new_request_id(self)
  _is_global_method_call(self, method_name, method_args)
    Inherited from AzureusLink
  get_cgi_path(self, auth_details, include_password)
  handle_link_error(self, error, retry_count, saved)
  handle_link_repair(self, error, retry_count, saved)
  send_method_exchange(self, xml_data)
None set_link_details(self, **kwargs)
Sets the details of where the Azureus server to connect to is located.
  _send_data(self, request)
  _send_method_exchange(self, xml_data)

Instance Variable Summary
    Inherited from AzureusObjectConnection
  converter: Callable object which will be used to convert response data into objects.
  is_persistent_connection: Boolean indicating whether the connection should be persistent.

Generated by Epydoc 2.1 on Wed May 03 14:22:33 2006 http://epydoc.sf.net