summaryrefslogtreecommitdiff
path: root/cpp/lib/client/ClientChannel.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/lib/client/ClientChannel.h')
-rw-r--r--cpp/lib/client/ClientChannel.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/lib/client/ClientChannel.h b/cpp/lib/client/ClientChannel.h
index 56fdd57d03..3ecab05d0b 100644
--- a/cpp/lib/client/ClientChannel.h
+++ b/cpp/lib/client/ClientChannel.h
@@ -65,7 +65,7 @@ class Channel : public framing::ChannelAdapter
sys::Thread basicDispatcher;
ResponseHandler responses;
- u_int16_t prefetch;
+ uint16_t prefetch;
const bool transactional;
framing::ProtocolVersion version;
@@ -122,7 +122,7 @@ class Channel : public framing::ChannelAdapter
* messages the channel is willing to have sent to it
* asynchronously
*/
- Channel(bool transactional = false, u_int16_t prefetch = 500);
+ Channel(bool transactional = false, uint16_t prefetch = 500);
~Channel();
/**
@@ -221,9 +221,9 @@ class Channel : public framing::ChannelAdapter
/**
* Change the prefetch in use.
*/
- void setPrefetch(u_int16_t prefetch);
+ void setPrefetch(uint16_t prefetch);
- u_int16_t getPrefetch() { return prefetch; }
+ uint16_t getPrefetch() { return prefetch; }
/**
* Start message dispatching on a new thread