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

Type AzureusPeer

RemoteAttributesMixin --+    
                        |    
    RemoteMethodMixin --+    
                        |    
         RemoteObject --+    
                        |    
            AzureusObject --+
                            |
             PeerDataType --+
                            |
                           AzureusPeer

Known Subclasses:
DopalPeer

Method Summary
  addListener(self, *args, **kwargs)
  addRequest(self, *args, **kwargs)
  cancelRequest(self, *args, **kwargs)
  close(self, *args, **kwargs)
  getAvailable(self, *args, **kwargs)
  getClient(self, *args, **kwargs)
  getConnection(self, *args, **kwargs)
  getId(self, *args, **kwargs)
  getIp(self, *args, **kwargs)
  getManager(self, *args, **kwargs)
  getNumberOfRequests(self, *args, **kwargs)
  getPercentDone(self, *args, **kwargs)
  getPercentDoneInThousandNotation(self, *args, **kwargs)
  getPercentDoneOfCurrentIncomingRequest(self, *args, **kwargs)
  getPercentDoneOfCurrentOutgoingRequest(self, *args, **kwargs)
  getPort(self, *args, **kwargs)
  getSnubbedTime(self, *args, **kwargs)
  getState(self, *args, **kwargs)
  getStats(self, *args, **kwargs)
  getSupportedMessages(self, *args, **kwargs)
  getTCPListenPort(self, *args, **kwargs)
  getUDPListenPort(self, *args, **kwargs)
  isChoked(self, *args, **kwargs)
  isChoking(self, *args, **kwargs)
  isDownloadPossible(self, *args, **kwargs)
  isIncoming(self, *args, **kwargs)
  isInterested(self, *args, **kwargs)
  isInteresting(self, *args, **kwargs)
  isOptimisticUnchoke(self, *args, **kwargs)
  isPieceAvailable(self, *args, **kwargs)
  isSeed(self, *args, **kwargs)
  isSnubbed(self, *args, **kwargs)
  isTransferAvailable(self, *args, **kwargs)
  removeListener(self, *args, **kwargs)
  setOptimisticUnchoke(self, *args, **kwargs)
  setSnubbed(self, *args, **kwargs)
  supportsMessaging(self, *args, **kwargs)
    Inherited from AzureusObject
  _get_self_from_root_object(self, plugin_interface)
    Inherited from RemoteAttributesMixin
  __init__(self, *args, **kwargs)
  __getattr__(self, name)
  __setattr__(self, name, value)
  get_remote_attributes(self)
  is_remote_attribute(self, name)
  set_remote_attribute(self, name, value)
  update_remote_data(self, remote_attribute_dict)
  _get_type_for_attribute(self, name, mapping_key)
    Inherited from RemoteMethodMixin
  invoke_object_method(self, method, method_args, result_type)
  _get_remote_method_on_demand(self, name)
    Inherited from RemoteObject
  __repr__(self)
  __str__(self)
  get_connection(self)
  get_object_id(self)
  get_remote_type(self)
  get_short_object_id(self)
  refresh_object(self)
Updates the remote attributes on this object.
  verify_connection(self)
  _handle_invocation_error(self, error, method_name, method_args)
  _refresh_object(self, connection_to_use)
Internal method which refreshes the attributes on the object.
    Inherited from PeerDataType
  get_xml_type()
(Static method)

Class Variable Summary
AzureusMethods __az_methods__ = <dopal.aztypes.AzureusMethods object at...
dict __default_remote_attribute_names__ = {'ip': 'String', 'p...
int CLOSING = 40                                                                    
int CONNECTING = 10                                                                    
int DISCONNECTED = 50                                                                    
int HANDSHAKING = 20                                                                    
int TRANSFERING = 30                                                                    
    Inherited from RemoteAttributesMixin
bool __protect_remote_attributes__ = True
bool __reset_attributes_on_refresh__ = False
    Inherited from RemoteMethodMixin
bool __use_dynamic_methods__ = False
bool __use_type_checking__ = True
    Inherited from PeerDataType
dict __az_attributes__ = {'ip': 'String', 'port': 'int'}
dict __az_constants__ = {'TRANSFERING': 30, 'CLOSING': 40, 'C...

Class Variable Details

__az_methods__

Type:
AzureusMethods
Value:
<dopal.aztypes.AzureusMethods object at 0x0082A9D0>                    

__default_remote_attribute_names__

Type:
dict
Value:
{'ip': 'String', 'port': 'int'}                                        

CLOSING

Type:
int
Value:
40                                                                    

CONNECTING

Type:
int
Value:
10                                                                    

DISCONNECTED

Type:
int
Value:
50                                                                    

HANDSHAKING

Type:
int
Value:
20                                                                    

TRANSFERING

Type:
int
Value:
30                                                                    

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