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 2006/10/17 01:29:49 UTC
svn commit: r464722 - in
/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms:
ExceptionListener.h MapMessage.h Message.h
Author: tabish
Date: Mon Oct 16 16:29:48 2006
New Revision: 464722
URL: http://svn.apache.org/viewvc?view=rev&rev=464722
Log:
Cleanup CMS API for planned release.
Modified:
incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/ExceptionListener.h
incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MapMessage.h
incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Message.h
Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/ExceptionListener.h
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/ExceptionListener.h?view=diff&rev=464722&r1=464721&r2=464722
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/ExceptionListener.h (original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/ExceptionListener.h Mon Oct 16 16:29:48 2006
@@ -29,10 +29,12 @@
virtual ~ExceptionListener(void) {}
/**
- * Called when an exception occurs.
+ * Called when an exception occurs. Once notified of an exception
+ * the caller should no longer use the resource that generated the
+ * exception.
* @param Exception Object that occurred.
*/
- virtual void onException(const cms::CMSException& ex) = 0;
+ virtual void onException( const cms::CMSException& ex ) = 0;
};
Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MapMessage.h
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MapMessage.h?view=diff&rev=464722&r1=464721&r2=464722
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MapMessage.h (original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MapMessage.h Mon Oct 16 16:29:48 2006
@@ -14,6 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+
#ifndef _CMS_MAPMESSAGE_H_
#define _CMS_MAPMESSAGE_H_
@@ -171,7 +172,7 @@
* @param name of the value to fetch from the map
* @throws CMSException
*/
- virtual long getLong( const std::string& name ) = 0;
+ virtual long long getLong( const std::string& name ) = 0;
/**
* Sets a Long value with the specified name into the Map.
@@ -179,7 +180,7 @@
* @param value - the Long value to set in the Map
* @throws CMSException
*/
- virtual void setLong( const std::string& name, long value ) = 0;
+ virtual void setLong( const std::string& name, long long value ) = 0;
/**
* Returns the Short value of the Specified name
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=464722&r1=464721&r2=464722
==============================================================================
--- 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 Mon Oct 16 16:29:48 2006
@@ -175,6 +175,7 @@
* @param type - message type value string
*/
virtual void setCMSMessageType( const std::string& type ) = 0;
+
};
}