summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/client/ClientChannel.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/client/ClientChannel.h')
-rw-r--r--cpp/src/qpid/client/ClientChannel.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/cpp/src/qpid/client/ClientChannel.h b/cpp/src/qpid/client/ClientChannel.h
index 9e5e3a2e70..b33af65d21 100644
--- a/cpp/src/qpid/client/ClientChannel.h
+++ b/cpp/src/qpid/client/ClientChannel.h
@@ -71,7 +71,7 @@ class Channel : private sys::Runnable
mutable sys::Mutex lock;
sys::Thread dispatcher;
- uint16_t prefetch;
+ uint32_t prefetch;
const bool transactional;
framing::ProtocolVersion version;
@@ -88,7 +88,6 @@ class Channel : private sys::Runnable
void stop();
- void setQos();
void open(const Session& session);
void closeInternal();
void join();
@@ -110,7 +109,7 @@ class Channel : private sys::Runnable
* messages the channel is willing to have sent to it
* asynchronously
*/
- Channel(bool transactional = false, u_int16_t prefetch = 500);
+ Channel(bool transactional = false, u_int16_t prefetch = 0);
~Channel();
@@ -204,9 +203,9 @@ class Channel : private sys::Runnable
/**
* Change the prefetch in use.
*/
- void setPrefetch(uint16_t prefetch);
+ void setPrefetch(uint32_t prefetch);
- uint16_t getPrefetch() { return prefetch; }
+ uint32_t getPrefetch() { return prefetch; }
/**
* Start message dispatching on a new thread