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.
          */


Reply via email to