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 & | ) |
std::string qpid::client::Completion::getResult | ( | ) | [protected] |
Referenced by qpid::client::TypedResult< T >::get().
bool qpid::client::Completion::isComplete | ( | ) |
QPID_CLIENT_INLINE_EXTERN bool qpid::client::Handle< CompletionImpl >::isNull | ( | ) | const [inline, inherited] |
QPID_CLIENT_INLINE_EXTERN bool qpid::client::Handle< CompletionImpl >::isValid | ( | ) | const [inline, inherited] |
QPID_CLIENT_INLINE_EXTERN qpid::client::Handle< CompletionImpl >::operator bool | ( | ) | const [inline, inherited] |
QPID_CLIENT_INLINE_EXTERN bool qpid::client::Handle< CompletionImpl >::operator! | ( | ) | const [inline, inherited] |
Completion& qpid::client::Completion::operator= | ( | const Completion & | ) |
void qpid::client::Handle< CompletionImpl >::swap | ( | Handle< CompletionImpl > & | h | ) | [inline, inherited] |
void qpid::client::Completion::wait | ( | ) |
Wait for the asynchronous command that returned this Completion to complete.
If | the command returns an error. |
Impl* qpid::client::Handle< CompletionImpl >::impl [protected, inherited] |