Qpid C++ API Reference
Generated on Mon Jun 7 18:25:34 2010 for Qpid C++ Client API by doxygen 1.6.2-20100208

qpid::client::Completion Class Reference

Asynchronous commands that do not return a result will return a Completion. More...

#include <Completion.h>

List of all members.

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< SessionImplsession

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 38 of file Completion.h.


Constructor & Destructor Documentation

qpid::client::Completion::Completion (  )  [inline]

Definition at line 34 of file Completion.h.

qpid::client::Completion::Completion ( Future  f,
shared_ptr< SessionImpl s 
) [inline]

Definition at line 37 of file Completion.h.


Member Function Documentation

bool qpid::client::Completion::isComplete (  )  [inline]

Definition at line 49 of file Completion.h.

void qpid::client::Completion::wait (  )  [inline]

Wait for the asynchronous command that returned this Completion to complete.

Exceptions:
If the command returns an error, get() throws an exception.

Definition at line 44 of file Completion.h.


Member Data Documentation

Definition at line 29 of file Completion.h.

Definition at line 30 of file Completion.h.


The documentation for this class was generated from the following file:

Qpid C++ API Reference
Generated on Mon Jun 7 18:25:34 2010 for Qpid C++ Client API by doxygen 1.6.2-20100208