diff options
| author | Gordon Sim <gsim@apache.org> | 2009-03-04 13:22:03 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2009-03-04 13:22:03 +0000 |
| commit | 8df34ffd42c067ace66021c031bd46c398a36abe (patch) | |
| tree | d54f805f922b34deee3becec8cda16c6b7d81609 /cpp/src/qpid/broker/SessionHandler.h | |
| parent | f029ec74824a402525c9441413976e204f2739a3 (diff) | |
| download | qpid-python-8df34ffd42c067ace66021c031bd46c398a36abe.tar.gz | |
QPID-1711: Ensure the session state between the two peers in an inter-broker bridging session are kept in sync.
(Also made changes to cancellation to ensure that the commands are only issued on the io thread of the connection)
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@750002 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/SessionHandler.h')
| -rw-r--r-- | cpp/src/qpid/broker/SessionHandler.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cpp/src/qpid/broker/SessionHandler.h b/cpp/src/qpid/broker/SessionHandler.h index 698e4f397f..ffc032f64c 100644 --- a/cpp/src/qpid/broker/SessionHandler.h +++ b/cpp/src/qpid/broker/SessionHandler.h @@ -66,9 +66,8 @@ class SessionHandler : public amqp_0_10::SessionHandler { } virtual void handleDetach(); - - // Overrides - void attached(const std::string& name); + void attached(const std::string& name);//used by 'pushing' inter-broker bridges + void attachAs(const std::string& name);//used by 'pulling' inter-broker bridges protected: virtual void setState(const std::string& sessionName, bool force); |
