Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET | Apache Qpid Documentation |
#include <Completion.h>
Inherited by qpid::client::TypedResult< T >.
Public Member Functions | |
Completion () | |
Completion (Future f, shared_ptr< SessionImpl > s) | |
void | wait () |
Wait for the asynchronous command that returned this Completion to complete. | |
bool | isComplete () |
Protected Attributes | |
Future | future |
shared_ptr< SessionImpl > | session |
You can use the completion to wait for that specific command to complete.
Definition at line 41 of file Completion.h.
qpid::client::Completion::Completion | ( | ) | [inline] |
Definition at line 49 of file Completion.h.
qpid::client::Completion::Completion | ( | Future | f, | |
shared_ptr< SessionImpl > | s | |||
) | [inline] |
Definition at line 52 of file Completion.h.
bool qpid::client::Completion::isComplete | ( | ) | [inline] |
Definition at line 64 of file Completion.h.
References future, qpid::client::Future::isComplete(), and session.
void qpid::client::Completion::wait | ( | ) | [inline] |
Wait for the asynchronous command that returned this Completion to complete.
If | the command returns an error, get() throws an exception. |
Definition at line 59 of file Completion.h.
References future, session, and qpid::client::Future::wait().
Future qpid::client::Completion::future [protected] |
Definition at line 44 of file Completion.h.
Referenced by qpid::client::TypedResult< T >::get(), isComplete(), and wait().
shared_ptr<SessionImpl> qpid::client::Completion::session [protected] |
Definition at line 45 of file Completion.h.
Referenced by qpid::client::TypedResult< T >::get(), isComplete(), and wait().