qpid::client::Completion Class Reference
[Application API for an AMQP client.]

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

#include <Completion.h>

Inheritance diagram for qpid::client::Completion:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 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


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


Member Function Documentation

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


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

Generated on Thu Oct 16 13:38:19 2008 for Qpid by  doxygen 1.5.6