qpid::client::TypedResult< T > Class Template Reference
[Application API for an AMQP client.]

Returned by asynchronous commands that return a result. More...

#include <TypedResult.h>

Inheritance diagram for qpid::client::TypedResult< T >:

Inheritance graph
[legend]
Collaboration diagram for qpid::client::TypedResult< T >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 TypedResult (Future f, shared_ptr< SessionImpl > s)
T & get ()
 Wait for the asynchronous command that returned this TypedResult to complete and return its result.


Detailed Description

template<class T>
class qpid::client::TypedResult< T >

Returned by asynchronous commands that return a result.

You can use get() to wait for completion and get the result value.

Definition at line 35 of file TypedResult.h.


Member Function Documentation

template<class T>
T& qpid::client::TypedResult< T >::get (  )  [inline]

Wait for the asynchronous command that returned this TypedResult to complete and return its result.

Returns:
The result returned by the command.
Exceptions:
If the command returns an error, get() throws an exception.

Definition at line 52 of file TypedResult.h.


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

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