summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/client/ClientChannel.h
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2007-09-11 11:25:27 +0000
committerGordon Sim <gsim@apache.org>2007-09-11 11:25:27 +0000
commitc922ccae07d060f891848e688f7f1e29dc07c552 (patch)
tree8363c1678c5efc59769c19c58188ccb9466d8aa4 /cpp/src/qpid/client/ClientChannel.h
parentfbda2ac45519f7108fc48f483d76d1487c2b3544 (diff)
downloadqpid-python-c922ccae07d060f891848e688f7f1e29dc07c552.tar.gz
Moved old ClientChannel class from using basic to using message for publish & consume.
(Get and qos still use the basic class's defintions, that will be changed next) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@574551 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/client/ClientChannel.h')
-rw-r--r--cpp/src/qpid/client/ClientChannel.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/src/qpid/client/ClientChannel.h b/cpp/src/qpid/client/ClientChannel.h
index 7ba4b0a246..9e5e3a2e70 100644
--- a/cpp/src/qpid/client/ClientChannel.h
+++ b/cpp/src/qpid/client/ClientChannel.h
@@ -93,6 +93,8 @@ class Channel : private sys::Runnable
void closeInternal();
void join();
+ void dispatch(framing::FrameSet& msg, const std::string& destination);
+
// FIXME aconway 2007-02-23: Get rid of friendships.
friend class Connection;
@@ -301,7 +303,7 @@ class Channel : private sys::Runnable
* receive this message on publication, the message will be
* returned (see setReturnedMessageHandler()).
*/
- void publish(const Message& msg, const Exchange& exchange,
+ void publish(Message& msg, const Exchange& exchange,
const std::string& routingKey,
bool mandatory = false, bool immediate = false);