activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r880787 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/mock/MockTransport.h
Date Mon, 16 Nov 2009 15:17:20 GMT
Author: tabish
Date: Mon Nov 16 15:17:20 2009
New Revision: 880787

URL: http://svn.apache.org/viewvc?rev=880787&view=rev
Log:
Add get method for the Mock Transport's WireFormatInfo object.

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/mock/MockTransport.h

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/mock/MockTransport.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/mock/MockTransport.h?rev=880787&r1=880786&r2=880787&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/mock/MockTransport.h
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/mock/MockTransport.h
Mon Nov 16 15:17:20 2009
@@ -133,6 +133,15 @@
         virtual void setWireFormat( const Pointer<wireformat::WireFormat>& wireFormat
AMQCPP_UNUSED ) {}
 
         /**
+         * Gets the currently set WireFormat
+         *
+         * @return the current WireFormat object.
+         */
+        Pointer<wireformat::WireFormat> getWireFormat() const {
+            return this->wireFormat;
+        }
+
+        /**
          * Sets the observer of asynchronous exceptions from this transport.
          * @param listener the listener of transport events.
          */



Mime
View raw message