Module XMLRPCClient :: Class CXMLRPCClient
[hide private]
[frames] | no frames]

Class CXMLRPCClient
source code

object --+
         |
        CXMLRPCClient

This class implements an XML RPC Client

Instance Methods [hide private]
  __init__(self, url=DEFAULT_SERVER+':'+DEFAULT_PORT)
The constructor establish a connection to the given server.
  uploadAutomata(self, filename)
This method upload to the connected server the given XML file.
  downloadAutomata(self, filename)
This method download to the given file the automata present to the connected server.
  downloadAutomaton(self, automaton, filename)
This method download to the given file the given automaton present to the connected server.

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


Class Variables [hide private]

Inherited from object: __class__


Method Details [hide private]

__init__(self, url=DEFAULT_SERVER+':'+DEFAULT_PORT)
(Constructor)

source code 
The constructor establish a connection to the given server.
Parameters:
  • url (string) - the address of the XML RPC host. The port must be specified as well. If nothing is specified the connection is made to localhost on the Supremica default port 9112.
Returns:
void
Overrides: object.__init__

uploadAutomata(self, filename)

source code 
This method upload to the connected server the given XML file.
Parameters:
  • filename (string) - the filename to upload to the server
Returns:
void

downloadAutomata(self, filename)

source code 
This method download to the given file the automata present to the connected server.
Parameters:
  • filename (string) - the filename where to download the automata from the server
Returns:
void

downloadAutomaton(self, automaton, filename)

source code 
This method download to the given file the given automaton present to the connected server.
Parameters:
  • filename (string) - the filename where to download the automaton from the server
  • automaton (string) - the name of the automaton to download
Returns:
void