diff options
| author | Alan Conway <aconway@apache.org> | 2008-02-01 18:02:42 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2008-02-01 18:02:42 +0000 |
| commit | 4db96f7ad47c69982cdc6cf7b5e5c47b00f1144b (patch) | |
| tree | d125438eb115c0b21171b27d17e6ca1f57622542 /cpp/src/qpid/broker/SessionManager.cpp | |
| parent | ae3201b50554b23f52132635f2e852a4fc78617e (diff) | |
| download | qpid-python-4db96f7ad47c69982cdc6cf7b5e5c47b00f1144b.tar.gz | |
Cluster code fixed for changes in codebase.
- Using SessionManager::Observer
- Better ais test setup, only need to be member of ais group.
- Update cluster_client
- SessionState holds handler chains.
- Cluster frames include next handler ptr.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@617582 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/SessionManager.cpp')
| -rw-r--r-- | cpp/src/qpid/broker/SessionManager.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/SessionManager.cpp b/cpp/src/qpid/broker/SessionManager.cpp index aadb2b9004..571d3365db 100644 --- a/cpp/src/qpid/broker/SessionManager.cpp +++ b/cpp/src/qpid/broker/SessionManager.cpp @@ -43,12 +43,13 @@ SessionManager::SessionManager(uint32_t a) : ack(a) {} SessionManager::~SessionManager() {} +// FIXME aconway 2008-02-01: pass handler*, allow open unattached. std::auto_ptr<SessionState> SessionManager::open( SessionHandler& h, uint32_t timeout_) { Mutex::ScopedLock l(lock); std::auto_ptr<SessionState> session( - new SessionState(*this, h, timeout_, ack)); + new SessionState(this, &h, timeout_, ack)); active.insert(session->getId()); for_each(observers.begin(), observers.end(), boost::bind(&Observer::opened, _1,boost::ref(*session))); |
