You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2014/02/03 23:37:29 UTC

svn commit: r1564120 - /qpid/trunk/qpid/cpp/src/qpid/broker/SessionHandler.h

Author: aconway
Date: Mon Feb  3 22:37:29 2014
New Revision: 1564120

URL: http://svn.apache.org/r1564120
Log:
QPID-5528: HA add missing QPID_BROKER_EXTERN declarations.

Missing from previous commit
 r1564010 | QPID-5528: HA Clean up error messages around rolled-back transactions.

Modified:
    qpid/trunk/qpid/cpp/src/qpid/broker/SessionHandler.h

Modified: qpid/trunk/qpid/cpp/src/qpid/broker/SessionHandler.h
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/broker/SessionHandler.h?rev=1564120&r1=1564119&r2=1564120&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/broker/SessionHandler.h (original)
+++ qpid/trunk/qpid/cpp/src/qpid/broker/SessionHandler.h Mon Feb  3 22:37:29 2014
@@ -21,7 +21,7 @@
  * under the License.
  *
  */
-
+#include "qpid/broker/BrokerImportExport.h"
 #include "qpid/amqp_0_10/SessionHandler.h"
 #include "qpid/broker/SessionHandler.h"
 #include "qpid/framing/AMQP_ClientProxy.h"
@@ -76,8 +76,8 @@ class SessionHandler : public qpid::amqp
     SessionState* getSession() { return session.get(); }
     const SessionState* getSession() const { return session.get(); }
 
-    amqp_0_10::Connection& getConnection();
-    const amqp_0_10::Connection& getConnection() const;
+    QPID_BROKER_EXTERN amqp_0_10::Connection& getConnection();
+    QPID_BROKER_EXTERN const amqp_0_10::Connection& getConnection() const;
 
     framing::AMQP_ClientProxy& getProxy() { return proxy; }
     const framing::AMQP_ClientProxy& getProxy() const { return proxy; }
@@ -86,7 +86,7 @@ class SessionHandler : public qpid::amqp
     void attached(const std::string& name);//used by 'pushing' inter-broker bridges
     void attachAs(const std::string& name);//used by 'pulling' inter-broker bridges
 
-    void setErrorListener(boost::shared_ptr<ErrorListener> e) { errorListener = e; }
+    QPID_BROKER_EXTERN void setErrorListener(boost::shared_ptr<ErrorListener> e) { errorListener = e; }
 
     // Called by SessionAdapter
     void incomingExecutionException(framing::execution::ErrorCode, const std::string& msg);



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org