qpid::client::Completion Class Reference
Asynchronous commands that do not return a result will return a Completion.
More...
#include <qpid/client/Completion.h>
List of all members.
Detailed Description
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.
- See also:
- TypedResult
Definition at line 44 of file Completion.h.
Constructor & Destructor Documentation
qpid::client::Completion::Completion |
( |
CompletionImpl * |
= 0 |
) |
|
qpid::client::Completion::Completion |
( |
const Completion & |
|
) |
|
qpid::client::Completion::~Completion |
( |
|
) |
|
Member Function Documentation
std::string qpid::client::Completion::getResult |
( |
|
) |
[protected] |
bool qpid::client::Completion::isComplete |
( |
|
) |
|
- Returns:
- true if handle is null. It is an error to call any function on a null handle.
Definition at line 46 of file Handle.h.
- Returns:
- true if handle is valid, i.e. not null.
Definition at line 43 of file Handle.h.
Conversion to bool supports idiom if (handle) { handle->.
.. }
Definition at line 49 of file Handle.h.
Operator ! supports idiom if (!handle) { do_if_handle_is_null(); }.
Definition at line 52 of file Handle.h.
void qpid::client::Completion::wait |
( |
|
) |
|
Wait for the asynchronous command that returned this Completion to complete.
- Exceptions:
-
| If | the command returns an error. |
Member Data Documentation
The documentation for this class was generated from the following file: