Home · Modules · Classes · Namespaces · Functions

QxtJSONRpcClient Class Reference
[QxtNetwork module]

The QxtJSONRpcClient class implements a JSON-RPC Client. More...

    #include <QxtJSONRpcClient>

Inherits QObject.

Public Functions

Additional Inherited Members


Detailed Description

The QxtJSONRpcClient class implements a JSON-RPC Client.

Implements a Client that can communicate with services implementing the JSON-RPC spec http://json-rpc.org/wiki/specification

See also QxtJSON.


Member Function Documentation

QxtJSONRpcClient::QxtJSONRpcClient ( QObject * parent = 0 )

QxtJSONRpcCall * QxtJSONRpcClient::call ( QString method, QVariantList arguments )

calls the remote method with arguments and returns a QxtJSONRpcCall wrapping it. you can connect to QxtJSONRpcCall's signals to retreive the status of the call.

QNetworkAccessManager * QxtJSONRpcClient::networkManager () const

returns the QNetworkAccessManager used for connecting to the remote service

See also setNetworkManager().

QUrl QxtJSONRpcClient::serviceUrl () const

returns the url of the remote service

See also setServiceUrl().

void QxtJSONRpcClient::setNetworkManager ( QNetworkAccessManager * manager )

sets the QNetworkAccessManager used for connecting to the remote service to manager

See also networkManager().

void QxtJSONRpcClient::setServiceUrl ( QUrl url )

sets the url of the remote service to url

See also serviceUrl().


Copyright © 2007-2011 Qxt Foundation
Qxt 0.6.2