diff options
| author | Alan Conway <aconway@apache.org> | 2007-03-15 19:22:02 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2007-03-15 19:22:02 +0000 |
| commit | 6bc8ab8e4b209b841969544fc735361335040906 (patch) | |
| tree | 90b8a4b3f0ec4fdf2c3a0ac02b27768b953a3be1 /cpp/lib/client/ClientChannel.cpp | |
| parent | f92c42ffe7662d1d0e2863c6e143567b25ae2024 (diff) | |
| download | qpid-python-6bc8ab8e4b209b841969544fc735361335040906.tar.gz | |
Changed u_int<n>_t to uint<n>_t for posix compliance.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@518733 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/lib/client/ClientChannel.cpp')
| -rw-r--r-- | cpp/lib/client/ClientChannel.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/lib/client/ClientChannel.cpp b/cpp/lib/client/ClientChannel.cpp index 24f21d1a30..84aa73e6bc 100644 --- a/cpp/lib/client/ClientChannel.cpp +++ b/cpp/lib/client/ClientChannel.cpp @@ -36,7 +36,7 @@ using namespace qpid::client; using namespace qpid::framing; using namespace qpid::sys; -Channel::Channel(bool _transactional, u_int16_t _prefetch) : +Channel::Channel(bool _transactional, uint16_t _prefetch) : basic(*this), connection(0), prefetch(_prefetch), @@ -87,7 +87,7 @@ void Channel::protocolInit( version, responses.getRequestId(), proposal->getChannelMax(), connection->getMaxFrameSize(), proposal->getHeartbeat())); - u_int16_t heartbeat = proposal->getHeartbeat(); + uint16_t heartbeat = proposal->getHeartbeat(); connection->connector->setReadTimeout(heartbeat * 2); connection->connector->setWriteTimeout(heartbeat); @@ -119,7 +119,7 @@ void Channel::setQos() { // FIXME aconway 2007-02-22: message } -void Channel::setPrefetch(u_int16_t _prefetch){ +void Channel::setPrefetch(uint16_t _prefetch){ prefetch = _prefetch; setQos(); } @@ -243,7 +243,7 @@ void Channel::start(){ // Close called by local application. void Channel::close( - u_int16_t code, const std::string& text, + uint16_t code, const std::string& text, ClassId classId, MethodId methodId) { if (isOpen()) { |
