You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2007/03/19 14:55:57 UTC
svn commit: r519946 -
/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQMessage.h
Author: tabish
Date: Mon Mar 19 06:55:56 2007
New Revision: 519946
URL: http://svn.apache.org/viewvc?view=rev&rev=519946
Log:
Cleaning up some code.
Modified:
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQMessage.h
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQMessage.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQMessage.h?view=diff&rev=519946&r1=519945&r2=519946
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQMessage.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQMessage.h Mon Mar 19 06:55:56 2007
@@ -28,7 +28,7 @@
* Interface for all ActiveMQ Messages that will pass through the core
* API layer. This interface defines a method that the API uses to set
* an Acknowledgement handler that will be called by the message when
- * a user calls the <code>acknowledge</code> method of the Message
+ * a user calls the <code>acknowledge</code> method of the Message
* interface. This is only done when the Session that this message
* passes through is in Client Acknowledge mode.
*/
@@ -44,20 +44,20 @@
* @param handler ActiveMQAckHandler to call
*/
virtual void setAckHandler( ActiveMQAckHandler* handler ) = 0;
-
+
/**
* Gets the number of times this message has been redelivered.
* @return redelivery count
*/
- virtual int getRedeliveryCount(void) const = 0;
-
+ virtual int getRedeliveryCount() const = 0;
+
/**
- * Sets the count of the number of times this message has been
+ * Sets the count of the number of times this message has been
* redelivered
* @param count the redelivery count
*/
virtual void setRedeliveryCount( int count ) = 0;
-
+
/**
* Returns if this message has expired, meaning that its
* Expiration time has elapsed.