Package dopal :: Module objects :: Class AzureusObjectConnection
[show private | hide private]
[frames | no frames]

Type AzureusObjectConnection

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

Known Subclasses:
DopalConnection

This connection class generates remote representations of each object available in Azureus.
Method Summary
  __init__(self)
  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
  converter: Callable object which will be used to convert response data into objects.
  is_persistent_connection: Boolean indicating whether the connection should be persistent.

Method Details

_on_reconnect(self)

Hook for subclasses to be notified whenever a new connection has been made.
Overrides:
dopal.core.ExtendedAzureusConnection._on_reconnect (inherited documentation)

Instance Variable Details

converter

Callable object which will be used to convert response data into objects.

This will usually be a RemoteObjectConverter instance which will convert the results of method invocations into objects. A value must be assigned for this object to work - no suitable default is provided automatically.

is_persistent_connection

Boolean indicating whether the connection should be persistent. Default is False.

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