activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r490100 - in /incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main: activemq/connector/openwire/commands/ activemq/connector/stomp/ activemq/connector/stomp/commands/ cms/
Date Mon, 25 Dec 2006 02:43:41 GMT
Author: tabish
Date: Sun Dec 24 18:43:41 2006
New Revision: 490100

URL: http://svn.apache.org/viewvc?view=rev&rev=490100
Log:
https://issues.apache.org/activemq/browse/AMQCPP-34


Modified:
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ActiveMQBytesMessage.h
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ActiveMQTextMessage.h
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/stomp/StompSessionManager.cpp
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/stomp/commands/BytesMessageCommand.h
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/stomp/commands/TextMessageCommand.h
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/BytesMessage.h
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Message.h
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageListener.h

Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ActiveMQBytesMessage.h
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ActiveMQBytesMessage.h?view=diff&rev=490100&r1=490099&r2=490100
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ActiveMQBytesMessage.h
(original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ActiveMQBytesMessage.h
Sun Dec 24 18:43:41 2006
@@ -74,8 +74,8 @@
          * caller is required to delete.
          * @return new copy of this message
          */
-        virtual cms::Message* clone(void) const {
-            return dynamic_cast<cms::Message*>( 
+        virtual cms::BytesMessage* clone(void) const {
+            return dynamic_cast<cms::BytesMessage*>( 
                 this->cloneDataStructure() );
         }
         

Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ActiveMQTextMessage.h
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ActiveMQTextMessage.h?view=diff&rev=490100&r1=490099&r2=490100
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ActiveMQTextMessage.h
(original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ActiveMQTextMessage.h
Sun Dec 24 18:43:41 2006
@@ -74,8 +74,8 @@
          * caller is required to delete.
          * @return new copy of this message
          */
-        virtual cms::Message* clone(void) const {
-            return dynamic_cast<cms::Message*>( 
+        virtual cms::TextMessage* clone(void) const {
+            return dynamic_cast<cms::TextMessage*>( 
                 this->cloneDataStructure() );
         }
         

Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/stomp/StompSessionManager.cpp
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/stomp/StompSessionManager.cpp?view=diff&rev=490100&r1=490099&r2=490100
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/stomp/StompSessionManager.cpp
(original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/stomp/StompSessionManager.cpp
Sun Dec 24 18:43:41 2006
@@ -125,7 +125,7 @@
 {
     try
     {
-        // Delegate to the createDurableConsumer method, just pas the
+        // Delegate to the createDurableConsumer method, just pass the
         // appropriate params so that a regular consumer is created on
         // the broker side.
         return createDurableConsumer( 

Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/stomp/commands/BytesMessageCommand.h
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/stomp/commands/BytesMessageCommand.h?view=diff&rev=490100&r1=490099&r2=490100
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/stomp/commands/BytesMessageCommand.h
(original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/stomp/commands/BytesMessageCommand.h
Sun Dec 24 18:43:41 2006
@@ -129,7 +129,7 @@
          * caller is required to delete.
          * @return new copy of this message
          */
-        virtual cms::Message* clone() const {
+        virtual BytesMessageCommand* clone() const {
             StompFrame* frame = getFrame().clone();
             
             return new BytesMessageCommand( frame );

Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/stomp/commands/TextMessageCommand.h
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/stomp/commands/TextMessageCommand.h?view=diff&rev=490100&r1=490099&r2=490100
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/stomp/commands/TextMessageCommand.h
(original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/stomp/commands/TextMessageCommand.h
Sun Dec 24 18:43:41 2006
@@ -49,7 +49,7 @@
          * caller is required to delete.
          * @return new copy of this message
          */
-        virtual cms::Message* clone() const {
+        virtual TextMessageCommand* clone() const {
             StompFrame* frame = getFrame().clone();
             
             return new TextMessageCommand( frame );

Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/BytesMessage.h
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/BytesMessage.h?view=diff&rev=490100&r1=490099&r2=490100
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/BytesMessage.h (original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/BytesMessage.h Sun Dec
24 18:43:41 2006
@@ -273,6 +273,7 @@
          */
         virtual void writeString( const std::string& value ) throw ( cms::CMSException
) = 0;
 
+        virtual BytesMessage* clone() const = 0;
    };
 }
 

Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Message.h
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Message.h?view=diff&rev=490100&r1=490099&r2=490100
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Message.h (original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Message.h Sun Dec 24 18:43:41
2006
@@ -38,7 +38,7 @@
         virtual ~Message(){}
       
         /**
-         * Clonse this message exactly, returns a new instance that the
+         * Clone this message exactly, returns a new instance that the
          * caller is required to delete.
          * @return new copy of this message
          */

Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageListener.h
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageListener.h?view=diff&rev=490100&r1=490099&r2=490100
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageListener.h (original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageListener.h Sun
Dec 24 18:43:41 2006
@@ -33,12 +33,12 @@
          * Called asynchronously when a new message is received, the message
          * reference can be to any othe Message types. a dynamic cast is used
          * to find out what type of message this is.  The lifetime of this
-         * object is only garunteed to be for life of the onMessage function
+         * object is only guaranteed to be for life of the onMessage function
          * after this returns the message may no longer exists.  User should
          * copy the data or clone the message if they wish to keep something
          * around about this message.
          * 
-         * It is considered a programming error for this method to throw and
+         * It is considered a programming error for this method to throw an
          * exception.
          * 
          * @param Message object const pointer recipient does not own.



Mime
View raw message