Package dopal :: Module obj_impl
[show private | hide private]
[frames | no frames]

Module dopal.obj_impl

Implementation of classes defined by Azureus's plugin API.

Not all classes are defined here are mentioned in the API documentation (simply because too much documentation will be generated).

For each class that DOPAL has explicit support for, there will be two classes defined in this module. The list of classes supported in this version is described in classes.

For each class supported, there will be a class named Azureus<classname>, and another class named Dopal<classname>.

The Azureus* class is a subclass of AzureusObject mixed in with the *DataType class in the class_defs module - the API closely resembles that of the actual object in Azureus.

The Dopal* class is a subclass of the Azureus* class, mixed in with the DopalObjectMixin class. These classes exist to define an extended API of convenience functions beyond the API supplied by Azureus itself. Although all plugin classes have a Dopal* representation, only those classes mentioned in the API documentation have any extended behaviour defined for them.
Classes
DopalObjectMixin  
DopalObjectStatsMixin  
    Standard class implementations
AzureusDiskManagerFileInfo  
AzureusDownload  
AzureusDownloadAnnounceResult  
AzureusDownloadScrapeResult  
AzureusDownloadStats  
AzureusLoggerChannel  
AzureusPeer  
AzureusPluginConfig  
AzureusPluginInterface  
AzureusTorrent  
    DOPAL class implementation
DopalDiskManagerFileInfo  
DopalDownload  
DopalDownloadAnnounceResult  
DopalDownloadScrapeResult  
DopalDownloadStats  
DopalLoggerChannel  
DopalPeer  
DopalPluginConfig  
DopalPluginInterface  
DopalTorrent  

Function Summary
  _make_class(common_cls, data_type_cls, name_prefix, class_map_dict)

Variable Summary
dict DOPAL_CLASS_MAP = {'LoggerChannel': <class 'dopal.obj_im...
dict STANDARD_CLASS_MAP = {'LoggerChannel': <class 'dopal.obj...

Variable Details

DOPAL_CLASS_MAP

Type:
dict
Value:
{None: <class 'dopal.objects.TypelessRemoteObject'>,
 'DiskManagerFileInfo': <class 'dopal.obj_impl.DopalDiskManagerFileInf\
o'>,
 'Download': <class 'dopal.obj_impl.DopalDownload'>,
 'DownloadAnnounceResult': <class 'dopal.obj_impl.DopalDownloadAnnounc\
eResult'>,
 'DownloadScrapeResult': <class 'dopal.obj_impl.DopalDownloadScrapeRes\
ult'>,
...                                                                    

STANDARD_CLASS_MAP

Type:
dict
Value:
{None: <class 'dopal.objects.TypelessRemoteObject'>,
 'DiskManagerFileInfo': <class 'dopal.obj_impl.AzureusDiskManagerFileI\
nfo'>,
 'Download': <class 'dopal.obj_impl.AzureusDownload'>,
 'DownloadAnnounceResult': <class 'dopal.obj_impl.AzureusDownloadAnnou\
nceResult'>,
 'DownloadScrapeResult': <class 'dopal.obj_impl.AzureusDownloadScrapeR\
esult'>,
...                                                                    

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