2 # Geniwrapper XML-RPC and SOAP interfaces
4 ### $Id: api.py 15596 2009-10-31 21:42:05Z anil $
5 ### $URL: https://svn.planet-lab.org/svn/sfa/trunk/sfa/plc/api.py $
11 from sfa.util.api import *
14 class ComponentAPI(BaseAPI):
17 def __init__(self, config = "/etc/sfa/sfa_config", encoding = "utf-8", methods='sfacomponent.methods',
18 peer_cert = None, interface = None, key_file = None, cert_file = None):
20 BaseAPI.__init__(self, config=config, encoding=encoding, methods=methods, peer_cert=peer_cert,
21 interface, key_file, cert_file)
22 self.encoding = encoding
24 # Better just be documenting the API