KD SOAP
1.10.0
|
#include <KDSoapPendingCall.h>
Public Member Functions | |
KDSoapPendingCall (const KDSoapPendingCall &other) | |
~KDSoapPendingCall () | |
KDSoapPendingCall & | operator= (const KDSoapPendingCall &other) |
KDSoapMessage | returnMessage () const |
QVariant | returnValue () const |
KDSoapHeaders | returnHeaders () const |
bool | isFinished () const |
The KDSoapPendingCall class refers to one pending asynchronous call
A KDSoapPendingCall object is a reference to a SOAP method call that was sent over without waiting for a reply. KDSoapPendingCall is an opaque type, meant to be used as a handle for a pending reply.
The KDSoapPendingCallWatcher class allows one to connect to a signal that will indicate when the reply has arrived or if an error occurred.
KDSoapPendingCall::KDSoapPendingCall | ( | const KDSoapPendingCall & | other | ) |
Creates a copy of the other
pending asynchronous call. Note that both objects will refer to the same pending call.
KDSoapPendingCall::~KDSoapPendingCall | ( | ) |
Destroys this copy of the KDSoapPendingCall object.
KDSoapPendingCall & KDSoapPendingCall::operator= | ( | const KDSoapPendingCall & | other | ) |
Creates a copy of the other
pending asynchronous call and drops the reference to the previously-referenced call. Note that both objects will refer to the same pending call after this function.
KDSoapMessage KDSoapPendingCall::returnMessage | ( | ) | const |
Returns the response message sent by the server. Could either be a fault (see KDSoapMessage::isFault) or the actual response arguments.
QVariant KDSoapPendingCall::returnValue | ( | ) | const |
Helper method for the simple case where a single argument is returned: Returns the value of that single argument.
KDSoapHeaders KDSoapPendingCall::returnHeaders | ( | ) | const |
Returns the response headers sent by the server.
bool KDSoapPendingCall::isFinished | ( | ) | const |
Returns true
if the pending call has finished processing and the reply has been received.
You generally do not need to use this: use KDSoapPendingCallWatcher to be notified of the call completion.