Home · Modules · Classes · Namespaces · Functions

QxtJSONRpcCall Class Reference
[QxtNetwork module]

The QxtJSONRpcCall class represents a Call to an JSON-RPC Service. More...

    #include <QxtJSONRpcCall>

Inherits QObject.

Public Functions

Signals

Protected Functions

Additional Inherited Members


Detailed Description

The QxtJSONRpcCall class represents a Call to an JSON-RPC Service.


Member Function Documentation

QxtJSONRpcCall::QxtJSONRpcCall ( QNetworkReply * reply )   [protected]

void QxtJSONRpcCall::downloadProgress ( qint64 bytesReceived, qint64 bytesTotal )   [signal]

This signal is emitted to indicate the progress of retreiving the response from the remote service

See also QNetworkReply::downloadProgress().

QNetworkReply::NetworkError QxtJSONRpcCall::error () const

returns an associated network error.

void QxtJSONRpcCall::error ( QNetworkReply::NetworkError code )   [signal]

Signals a network error

See also QNetworkReply::error().

void QxtJSONRpcCall::finished ()   [signal]

emitted once the result is fully available

See also QNetworkReply::finished().

bool QxtJSONRpcCall::isFault () const

returns true if the remote service sent a fault message

QVariant QxtJSONRpcCall::result () const

returns the result or fault message or a null QVariant() if the call isnt finished yet

See also QxtJSON#type-conversion.

void QxtJSONRpcCall::sslErrors ( const QList<QSslError> & errors )   [signal]

See also QNetworkReply::sslErrors().

void QxtJSONRpcCall::uploadProgress ( qint64 bytesSent, qint64 bytesTotal )   [signal]


Copyright © 2007-2011 Qxt Foundation
Qxt 0.6.2