File:  [Repository] / XMLRpcTools / __init__.py
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Fri Oct 26 21:25:20 2007 UTC (16 years, 6 months ago) by casties
Branches: MAIN
CVS tags: HEAD
new version of xmlrpctools
* new XmlRpcProxyFolder
* new XmlRpcProxyMethod

import XMLRpcTools
import XmlRpcProxy

def initialize(context):
    """xmlrpc server proxy"""

    context.registerClass(
        XMLRpcTools.XMLRpcServerProxy,
        constructors = (
          XMLRpcTools.manage_addXMLRpcServerProxyForm,
          XMLRpcTools.manage_addXMLRpcServerProxy
          )
        )
    

    context.registerClass(
        XmlRpcProxy.XmlRpcProxyFolder,
        constructors = (  
            XmlRpcProxy.manage_addXmlRpcProxyFolderForm,
            XmlRpcProxy.manage_addXmlRpcProxyFolder
            )
        )
    
    context.registerClass(
        XmlRpcProxy.XmlRpcProxyMethod,
        constructors = (  
            XmlRpcProxy.manage_addXmlRpcProxyMethodForm,
            XmlRpcProxy.manage_addXmlRpcProxyMethod
            )
        )

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>