python-igraph manual

For using igraph from Python

   Home       Trees       Indices       Help   
Package igraph :: Package drawing :: Module baseclasses :: Class AbstractXMLRPCDrawer
[hide private]

Class AbstractXMLRPCDrawer

source code

    object --+    
             |    
AbstractDrawer --+
                 |
                AbstractXMLRPCDrawer
Known Subclasses:

Abstract drawer that uses a remote service via XML-RPC to draw something on a remote display.

Instance Methods [hide private]
 
__init__(self, url, service=None)
Constructs an abstract drawer using the XML-RPC service at the given URL.
source code

Inherited from AbstractDrawer: draw

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]
 
_resolve_hostname(url)
Parses the given URL, resolves the hostname to an IP address and returns a new URL with the resolved IP address.
source code
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, url, service=None)
(Constructor)

source code 

Constructs an abstract drawer using the XML-RPC service at the given URL.

Parameters:
  • url - the URL where the XML-RPC calls for the service should be addressed to.
  • service - the name of the service at the XML-RPC address. If None, requests will be directed to the server proxy object constructed by xmlrpclib.ServerProxy; if not None, the given attribute will be looked up in the server proxy object.
Overrides: object.__init__

_resolve_hostname(url)
Static Method

source code 

Parses the given URL, resolves the hostname to an IP address and returns a new URL with the resolved IP address. This speeds up things big time on Mac OS X where an IP lookup would be performed for every XML-RPC call otherwise.


   Home       Trees       Indices       Help