Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET | Apache Qpid Documentation |
Asynchronous commands that do not return a result will return a Completion. More...
#include <qpid/client/Completion.h>
Public Member Functions | |
Completion (CompletionImpl *=0) | |
Completion (const Completion &) | |
~Completion () | |
Completion & | operator= (const Completion &) |
void | wait () |
Wait for the asynchronous command that returned this *Completion to complete. | |
bool | isComplete () |
QPID_CLIENT_INLINE_EXTERN bool | isValid () const |
QPID_CLIENT_INLINE_EXTERN bool | isNull () const |
QPID_CLIENT_INLINE_EXTERN | operator bool () const |
Conversion to bool supports idiom if (handle) { handle->... | |
QPID_CLIENT_INLINE_EXTERN bool | operator! () const |
Operator ! supports idiom if (!handle) { do_if_handle_is_null(); }. | |
void | swap (Handle< CompletionImpl > &h) |
Protected Member Functions | |
std::string | getResult () |
Protected Attributes | |
Impl * | impl |
Asynchronous commands that do not return a result will return a Completion.
You can use the completion to wait for that specific command to complete.
Definition at line 44 of file Completion.h.
qpid::client::Completion::Completion | ( | CompletionImpl * | = 0 | ) |
qpid::client::Completion::Completion | ( | const Completion & | ) |
qpid::client::Completion::~Completion | ( | ) |
|
protected |
Referenced by qpid::client::TypedResult< T >::get().
bool qpid::client::Completion::isComplete | ( | ) |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Completion& qpid::client::Completion::operator= | ( | const Completion & | ) |
|
inlineinherited |
void qpid::client::Completion::wait | ( | ) |
Wait for the asynchronous command that returned this *Completion to complete.
If | the command returns an error. |
|
protectedinherited |