diff options
author | Gordon Sim <gsim@apache.org> | 2007-08-06 13:55:08 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2007-08-06 13:55:08 +0000 |
commit | 16b29b1d085070130fc8cf851a4eb33c2f06adda (patch) | |
tree | eb3cfc886257677740597f82f0def0a39dc40082 /cpp/src/qpid/client/ClientChannel.h | |
parent | e69ee09777dad5a4889fa71a77a6610ac827f9bc (diff) | |
download | qpid-python-16b29b1d085070130fc8cf851a4eb33c2f06adda.tar.gz |
Channel dispatcher needs ti be joined on destruction.
Also minor cleanup: removed redundant method and friend declarations.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@563136 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/client/ClientChannel.h')
-rw-r--r-- | cpp/src/qpid/client/ClientChannel.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/cpp/src/qpid/client/ClientChannel.h b/cpp/src/qpid/client/ClientChannel.h index 5feba6262f..bf5e2aa0d9 100644 --- a/cpp/src/qpid/client/ClientChannel.h +++ b/cpp/src/qpid/client/ClientChannel.h @@ -76,9 +76,6 @@ class Channel : private sys::Runnable const bool transactional; framing::ProtocolVersion version; - uint16_t errorCode; - std::string errorText; - sys::Mutex stopLock; bool running; @@ -120,13 +117,11 @@ class Channel : private sys::Runnable void open(ConnectionImpl::shared_ptr, SessionCore::shared_ptr); void closeInternal(); - void peerClose(uint16_t, const std::string&); + void join(); // FIXME aconway 2007-02-23: Get rid of friendships. friend class Connection; - friend class BasicMessageChannel; // for sendAndReceive. - friend class MessageMessageChannel; // for sendAndReceive. - + public: /** * Creates a channel object. |