/[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.2 - (hide annotations)
Fri Aug 27 03:27:43 2004 UTC (20 years, 2 months ago) by joko
Branch: MAIN
Changes since 1.1: +1 -3 lines
File MIME type: text/x-python
return value from xmlrpc daemon isn't encapsulated any more

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 joko 1.2 fragglexml = self.rpc_server.fraggleSync()
18 xabbu 1.1 #print fragglexml
19     return fragglexml
20    

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