Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET | Apache Qpid Documentation |
#include <qpid/client/Completion.h>
Inherits qpid::client::Handle< CompletionImpl >.
Inherited by qpid::client::TypedResult< T >.
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 () |
bool | isValid () const |
bool | isNull () const |
operator bool () const | |
Conversion to bool supports idiom if (handle) { handle->. | |
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 |
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 | ( | ) |
std::string qpid::client::Completion::getResult | ( | ) | [protected] |
Referenced by qpid::client::TypedResult< T >::get().
bool qpid::client::Completion::isComplete | ( | ) |
bool qpid::client::Handle< CompletionImpl >::isNull | ( | ) | const [inline, inherited] |
bool qpid::client::Handle< CompletionImpl >::isValid | ( | ) | const [inline, inherited] |
qpid::client::Handle< CompletionImpl >::operator bool | ( | ) | const [inline, inherited] |
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] |