/[cvs]/nfo/projects/netfraggle/bin/FraggleXMLRPC.py
ViewVC logotype

Annotation of /nfo/projects/netfraggle/bin/FraggleXMLRPC.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations)
Thu Aug 26 23:10:09 2004 UTC (20 years, 2 months ago) by xabbu
Branch: MAIN
File MIME type: text/x-python
xmlrpc class added

1 xabbu 1.1 import sys
2     from xmlrpclib import Server
3    
4     def create(parent,configList):
5     return FraggleXMLRPC(parent,configList)
6    
7     class FraggleXMLRPC:
8    
9     def __init_rpc_server__(self,configList):
10     #print configList["url"]
11     self.rpc_server = Server(configList["url"])
12    
13     def __init__(self,parent,configList):
14     self.__init_rpc_server__(configList)
15    
16     def FraggleSync(self):
17     fraggledoc = self.rpc_server.fraggleSync()
18     #print fraggledoc
19     fragglexml = fraggledoc['page']
20     #print fragglexml
21     return fragglexml
22    

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed