![]() |
KD SOAP API Documentation
2.2
|
#include <KDSoapPendingCallWatcher.h>
Classes | |
class | Private |
Signals | |
void | finished (KDSoapPendingCallWatcher *self) |
Public Member Functions | |
KDSoapPendingCallWatcher (const KDSoapPendingCall &call, QObject *parent=nullptr) | |
~KDSoapPendingCallWatcher () | |
![]() | |
KDSoapPendingCall (const KDSoapPendingCall &other) | |
~KDSoapPendingCall () | |
bool | isFinished () const |
KDSoapPendingCall & | operator= (const KDSoapPendingCall &other) |
KDSoapHeaders | returnHeaders () const |
KDSoapMessage | returnMessage () const |
QVariant | returnValue () const |
The KDSoapPendingCallWatcher class provides a convenient way for waiting for asynchronous replies.
KDSoapPendingCallWatcher provides the finished() signal that will be emitted when a reply arrives.
It is usually used like the following example:
Definition at line 35 of file KDSoapPendingCallWatcher.h.
|
explicit |
Creates a KDSoapPendingCallWatcher object to watch for replies on the asynchronous pending call call
and sets this object's parent to parent
.
Definition at line 16 of file KDSoapPendingCallWatcher.cpp.
KDSoapPendingCallWatcher::~KDSoapPendingCallWatcher | ( | ) |
Destroys this object. If this KDSoapPendingCallWatcher object was the last reference to the unfinished pending call, the call will be canceled.
Definition at line 26 of file KDSoapPendingCallWatcher.cpp.
|
signal |
This signal is emitted when the pending call has finished and its reply is available. The self
parameter is a pointer to the object itself, passed for convenience so that the slot can access the properties and determine the contents of the reply.
Referenced by KDSoapThreadTask::process().