Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 4442dd9bdde98a1d9ca2177557e87d7d > files > 519

libqxt-devel-0.6.1-3.fc15.i686.rpm

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!-- /builddir/build/BUILD/libqxt/src/network/qxtjsonrpcclient.cpp -->
<head>
  <title>QxtJSONRpcClient Class Reference</title>
  <link href="stylesheet.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="left" valign="top" width="32"><a href="http://libqxt.org"><img src="images/qxt-logo.png" width="50" height="40" align="left" border="0" /></a></td>
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="modules.html"><font color="#004faf">Modules</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">Classes</font></a>&nbsp;&middot; <a href="namespaces.html"><font color="#004faf">Namespaces</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">Functions</font></a></td>
<td align="right" valign="top" width="230"></td></tr></table><h1 class="title">QxtJSONRpcClient Class Reference<br /><span class="small-subtitle">[<a href="qxtnetwork.html">QxtNetwork</a> module]</span>
</h1>
<p>The QxtJSONRpcClient class implements a JSON-RPC Client. <a href="#details">More...</a></p>
<pre>    #include &lt;QxtJSONRpcClient&gt;</pre><p>Inherits <a href="http://doc.qtsoftware.com/4.5/qobject.html">QObject</a>.</p>
<ul>
<li><a href="qxtjsonrpcclient-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-functions"></a>
<h3>Public Functions</h3>
<ul>
<li><div class="fn"></div><b><a href="qxtjsonrpcclient.html#QxtJSONRpcClient">QxtJSONRpcClient</a></b> ( QObject * <i>parent</i> = 0 )</li>
<li><div class="fn"></div>QxtJSONRpcCall * <b><a href="qxtjsonrpcclient.html#call">call</a></b> ( QString <i>method</i>, QVariantList <i>arguments</i> )</li>
<li><div class="fn"></div>QNetworkAccessManager * <b><a href="qxtjsonrpcclient.html#networkManager">networkManager</a></b> () const</li>
<li><div class="fn"></div>QUrl <b><a href="qxtjsonrpcclient.html#serviceUrl">serviceUrl</a></b> () const</li>
<li><div class="fn"></div>void <b><a href="qxtjsonrpcclient.html#setNetworkManager">setNetworkManager</a></b> ( QNetworkAccessManager * <i>manager</i> )</li>
<li><div class="fn"></div>void <b><a href="qxtjsonrpcclient.html#setServiceUrl">setServiceUrl</a></b> ( QUrl <i>url</i> )</li>
</ul>
<ul>
<li><div class="fn"></div>29 public functions inherited from <a href="http://doc.qtsoftware.com/4.5/qobject.html#public-functions">QObject</a></li>
</ul>
<h3>Additional Inherited Members</h3>
<ul>
<li><div class="fn"></div>1 property inherited from <a href="http://doc.qtsoftware.com/4.5/qobject.html#properties">QObject</a></li>
<li><div class="fn"></div>1 public slot inherited from <a href="http://doc.qtsoftware.com/4.5/qobject.html#public-slots">QObject</a></li>
<li><div class="fn"></div>1 signal inherited from <a href="http://doc.qtsoftware.com/4.5/qobject.html#signals">QObject</a></li>
<li><div class="fn"></div>1 public type inherited from <a href="http://doc.qtsoftware.com/4.5/qobject.html#public-variables">QObject</a></li>
<li><div class="fn"></div>4 static public members inherited from <a href="http://doc.qtsoftware.com/4.5/qobject.html#static-public-members">QObject</a></li>
<li><div class="fn"></div>7 protected functions inherited from <a href="http://doc.qtsoftware.com/4.5/qobject.html#protected-functions">QObject</a></li>
<li><div class="fn"></div>2 protected variables inherited from <a href="http://doc.qtsoftware.com/4.5/qobject.html#protected-variables">QObject</a></li>
</ul>
<a name="details"></a>
<hr />
<h2>Detailed Description</h2>
<p>The QxtJSONRpcClient class implements a JSON-RPC Client.</p>
<p>Implements a Client that can communicate with services implementing the JSON-RPC spec http://json-rpc.org/wiki/specification</p>
<p>See also <a href="qxtjson.html">QxtJSON</a>.</p>
<hr />
<h2>Member Function Documentation</h2>
<h3 class="fn"><a name="QxtJSONRpcClient"></a>QxtJSONRpcClient::QxtJSONRpcClient ( <a href="http://doc.qtsoftware.com/4.5/qobject.html">QObject</a> * <i>parent</i> = 0 )</h3>
<h3 class="fn"><a name="call"></a><a href="qxtjsonrpccall.html">QxtJSONRpcCall</a> * QxtJSONRpcClient::call ( <a href="http://doc.qtsoftware.com/4.5/qstring.html">QString</a> <i>method</i>, <a href="http://doc.qtsoftware.com/4.5/qvariant.html#QVariantList-typedef">QVariantList</a> <i>arguments</i> )</h3>
<p>calls the remote <i>method</i> with <i>arguments</i> and returns a <a href="qxtjsonrpccall.html">QxtJSONRpcCall</a> wrapping it. you can connect to <a href="qxtjsonrpccall.html">QxtJSONRpcCall</a>'s signals to retreive the status of the call.</p>
<h3 class="fn"><a name="networkManager"></a><a href="http://doc.qtsoftware.com/4.5/qnetworkaccessmanager.html">QNetworkAccessManager</a> * QxtJSONRpcClient::networkManager () const</h3>
<p>returns the <a href="http://doc.qtsoftware.com/4.5/qnetworkaccessmanager.html">QNetworkAccessManager</a> used for connecting to the remote service</p>
<p>See also <a href="qxtjsonrpcclient.html#setNetworkManager">setNetworkManager</a>().</p>
<h3 class="fn"><a name="serviceUrl"></a><a href="http://doc.qtsoftware.com/4.5/qurl.html">QUrl</a> QxtJSONRpcClient::serviceUrl () const</h3>
<p>returns the url of the remote service</p>
<p>See also <a href="qxtjsonrpcclient.html#setServiceUrl">setServiceUrl</a>().</p>
<h3 class="fn"><a name="setNetworkManager"></a>void QxtJSONRpcClient::setNetworkManager ( <a href="http://doc.qtsoftware.com/4.5/qnetworkaccessmanager.html">QNetworkAccessManager</a> * <i>manager</i> )</h3>
<p>sets the <a href="http://doc.qtsoftware.com/4.5/qnetworkaccessmanager.html">QNetworkAccessManager</a> used for connecting to the remote service to <i>manager</i></p>
<p>See also <a href="qxtjsonrpcclient.html#networkManager">networkManager</a>().</p>
<h3 class="fn"><a name="setServiceUrl"></a>void QxtJSONRpcClient::setServiceUrl ( <a href="http://doc.qtsoftware.com/4.5/qurl.html">QUrl</a> <i>url</i> )</h3>
<p>sets the url of the remote service to <i>url</i></p>
<p>See also <a href="qxtjsonrpcclient.html#serviceUrl">serviceUrl</a>().</p>
<p /><address><hr /><div align="center">
<table width="100%" cellspacing="0" border="0"><tr class="address">
<td align="left">Copyright &copy; 2007-2010
<a href="mailto:foundation@libqxt.org">Qxt Foundation</a></td>
<td align="right"><div align="right">
<a href="http://libqxt.org">Qxt</a> 0.6.1</div></td>
</tr></table></div></address></body>
</html>