summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/SessionHandler.h
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-09-21 18:26:37 +0000
committerAlan Conway <aconway@apache.org>2007-09-21 18:26:37 +0000
commit2f6d6ad7efd788b71204af67dff51b6233881e2e (patch)
treea3d123bc112d12dfcef341a312f418624c98e342 /cpp/src/qpid/broker/SessionHandler.h
parent3b80f903b6174b4346d7d7b537d783f628fe28d6 (diff)
downloadqpid-python-2f6d6ad7efd788b71204af67dff51b6233881e2e.tar.gz
Split broker::Session into:
broker::SessionState: session info (uuid etc.) + handler chains. broker::SemanticState: session state for the SemanticHandler. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@578219 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/SessionHandler.h')
-rw-r--r--cpp/src/qpid/broker/SessionHandler.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/qpid/broker/SessionHandler.h b/cpp/src/qpid/broker/SessionHandler.h
index a9c0f69985..5ae5b5cfee 100644
--- a/cpp/src/qpid/broker/SessionHandler.h
+++ b/cpp/src/qpid/broker/SessionHandler.h
@@ -31,7 +31,7 @@ namespace qpid {
namespace broker {
class Connection;
-class Session;
+class SessionState;
/**
* A SessionHandler is associated with each active channel. It
@@ -48,8 +48,8 @@ class SessionHandler : public framing::FrameHandler::InOutHandler,
~SessionHandler();
/** Returns 0 if not attached to a session */
- Session* getSession() { return session.get(); }
- const Session* getSession() const { return session.get(); }
+ SessionState* getSession() { return session.get(); }
+ const SessionState* getSession() const { return session.get(); }
framing::ChannelId getChannel() const { return channel; }
@@ -84,7 +84,7 @@ class SessionHandler : public framing::FrameHandler::InOutHandler,
Connection& connection;
const framing::ChannelId channel;
framing::AMQP_ClientProxy proxy;
- shared_ptr<Session> session;
+ shared_ptr<SessionState> session;
bool ignoring;
};