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.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/cpp/src/qpid/client/ClientChannel.h b/cpp/src/qpid/client/ClientChannel.h
index c355fe007a..7ba4b0a246 100644
--- a/cpp/src/qpid/client/ClientChannel.h
+++ b/cpp/src/qpid/client/ClientChannel.h
@@ -79,18 +79,17 @@ class Channel : private sys::Runnable
bool running;
ConsumerMap consumers;
- ConnectionImpl::shared_ptr connection;
- std::auto_ptr<Session> session;
- SessionCore::shared_ptr sessionCore;
+ Session session;
framing::ChannelId channelId;
BlockingQueue<framing::FrameSet::shared_ptr> gets;
framing::Uuid uniqueId;
uint32_t nameCounter;
+ bool active;
void stop();
void setQos();
- void open(ConnectionImpl::shared_ptr, SessionCore::shared_ptr);
+ void open(const Session& session);
void closeInternal();
void join();