<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>.: jsolait :. | documentation | jsonrpc</title> <link rel="stylesheet" type="text/css" href="./html.css" /> <meta name="author" content="Jan-Klaas Kollhof" /> <meta name="keywords" content="jsolait.jsonrpc" /> </head> <body> <a name="top" id="top"></a> <div class="navigationBar"><a href="./index.xhtml">documentation</a> | jsonrpc</div> <div class="menu"> <ul></ul> <div class="copyright">copyright © 2004, Jan-Klaas Kollhof</div> </div> <div class="content"> <h1>Module jsonrpc</h1> This module implements the <a href="http://json-rpc.org" target="_blank">JSON-RPC</a> protocoll.<br /> It supports both JSON-RPC over HTTP and JSON-RPC over TCP sockets(if sockets are available).<br /> <div class="contentItem"><h2>public members:<a class="bttop" href="#top">▲</a></h2><div> <h3>ServiceProxy(url, methodNames, localService)</h3><div class="indent"> A class which creates proxy objects for remote JSON-RPC services.<br /> <ul> <li><b>ServiceProxy::url</b> The URL of the remote services.</li> <li><b>ServiceProxy::methodNames</b> An Array containing the methodNames of the remote service.</li> <li><b>ServiceProxy::localService</b> An Object providing methods to the remote service.</li> </ul> </div> </div></div> <div class="contentItem"><h2>dependencies:<a class="bttop" href="#top">▲</a></h2><div> <h3><a href="./lang.xhtml">lang</a></h3><div class="indent"> The <code>lang</code> module is required for JSON object serialization and deserialization. </div> <h3><a href="./urllib.xhtml">urllib</a></h3><div class="indent"> The <code>urllib</code> module is only required when using JSON-RPC over HTTP. </div> <h3>Sockets</h3><div class="indent"> You will need SVG1.2 sockets for JSON-RPC over TCP sockets to work. This dependency will change once the <code>net</code> module is written. It will provide networking services to jsolait. </div> </div></div> </div> </body> </html>