diff options
author | Alan Conway <aconway@apache.org> | 2008-04-24 17:42:59 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2008-04-24 17:42:59 +0000 |
commit | 757d86d81e811f105f72fdfce5bc18d83aaa08d4 (patch) | |
tree | d095206cd9129f04bf77a3c59be5d5673554f2ec /cpp/src/qpid/client/SessionBase.h | |
parent | 20373a2ab9e3dab3b2164e1e0409eefd2fb4cc4e (diff) | |
download | qpid-python-757d86d81e811f105f72fdfce5bc18d83aaa08d4.tar.gz |
Edits to doxygen comments for user documentation.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@651321 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/client/SessionBase.h')
-rw-r--r-- | cpp/src/qpid/client/SessionBase.h | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/cpp/src/qpid/client/SessionBase.h b/cpp/src/qpid/client/SessionBase.h index 61997244d2..aa61d2b49b 100644 --- a/cpp/src/qpid/client/SessionBase.h +++ b/cpp/src/qpid/client/SessionBase.h @@ -54,20 +54,17 @@ using framing::Uuid; * functions return immediately. * * ASYNC mode gives better performance for high-volume traffic, but - * requires some additional caution: + * requires some additional caution. * * Session functions return immediately. If the command causes an * exception on the broker, the exception will be thrown on a * <em>later</em> function call. * * If you need to notify some extenal agent that some actions have - * been taken (e.g. binding queues to exchanges), you must ensure that - * the broker has completed the command. In synchronous mode this is - * when the session method for the command returns. In asynchronous - * mode you can call Session::sync(), to ensure that all the commands - * are complete. + * been taken (e.g. binding queues to exchanges), you must call + * Session::sync() first to ensure that all the commands are complete. * - * You can freely switch between modes by calling Session::setSynchronous() + * You can freely switch between modes by calling Session::setSynchronous(). * * @see Session::sync(), Session::setSynchronous() */ @@ -106,12 +103,12 @@ class SessionBase /** * In synchronous mode, wait for the broker's response before - * returning. Note this gives lower throughput than asynchronous + * returning. This gives lower throughput than asynchronous * mode. * * In asynchronous mode commands are sent without waiting - * for a respose (you can use the returned Completion object - * to wait for completion.) + * for a response (you can use the returned Completion object + * to wait for completion). * * @see SynchronousMode */ @@ -121,7 +118,7 @@ class SessionBase SynchronousMode getSynchronous() const; /** - * Suspend the session, can be resumed on a different connection. + * Suspend the session, which can be resumed on a different connection. * @see Connection::resume() */ void suspend(); |