From activemq-commits-return-3905-apmail-geronimo-activemq-commits-archive=geronimo.apache.org@geronimo.apache.org Fri Nov 10 16:30:36 2006 Return-Path: Delivered-To: apmail-geronimo-activemq-commits-archive@www.apache.org Received: (qmail 36950 invoked from network); 10 Nov 2006 16:30:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Nov 2006 16:30:35 -0000 Received: (qmail 91152 invoked by uid 500); 10 Nov 2006 16:30:39 -0000 Delivered-To: apmail-geronimo-activemq-commits-archive@geronimo.apache.org Received: (qmail 91124 invoked by uid 500); 10 Nov 2006 16:30:38 -0000 Mailing-List: contact activemq-commits-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-dev@geronimo.apache.org Delivered-To: mailing list activemq-commits@geronimo.apache.org Received: (qmail 91097 invoked by uid 99); 10 Nov 2006 16:30:38 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Nov 2006 08:30:38 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Nov 2006 08:30:26 -0800 Received: by eris.apache.org (Postfix, from userid 65534) id 2FB4A1A984D; Fri, 10 Nov 2006 08:29:58 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r473382 - in /incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands: ActiveMQMapMessage.h ActiveMQTempQueue.h ActiveMQTempTopic.h ActiveMQTextMessage.h BaseCommand.h Date: Fri, 10 Nov 2006 16:29:58 -0000 To: activemq-commits@geronimo.apache.org From: tabish@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20061110162958.2FB4A1A984D@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: tabish Date: Fri Nov 10 08:29:57 2006 New Revision: 473382 URL: http://svn.apache.org/viewvc?view=rev&rev=473382 Log: Changes to support new Openwire Functionality Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ActiveMQMapMessage.h incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ActiveMQTempQueue.h incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ActiveMQTempTopic.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/openwire/commands/BaseCommand.h Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ActiveMQMapMessage.h URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ActiveMQMapMessage.h?view=diff&rev=473382&r1=473381&r2=473382 ============================================================================== --- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ActiveMQMapMessage.h (original) +++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ActiveMQMapMessage.h Fri Nov 10 08:29:57 2006 @@ -74,7 +74,7 @@ * Get the Correlation Id for this message * @return string representation of the correlation Id */ - virtual const char* getCMSCorrelationId(void) const; + virtual std::string getCMSCorrelationId(void) const; /** * Sets the Correlation Id used by this message @@ -122,7 +122,7 @@ * Gets the CMS Message Id for this Message * @return time value */ - virtual const char* getCMSMessageId(void) const; + virtual std::string getCMSMessageId(void) const; /** * Sets the CMS Message Id for this message @@ -158,7 +158,7 @@ * Gets the CMS Reply To Address for this Message * @return Reply To Value */ - virtual const char* getCMSReplyTo(void) const; + virtual std::string getCMSReplyTo(void) const; /** * Sets the CMS Reply To Address for this message @@ -182,7 +182,7 @@ * Gets the CMS Message Type for this Message * @return type value */ - virtual const char* getCMSMessageType(void) const; + virtual std::string getCMSMessageType(void) const; /** * Sets the CMS Message Type for this message @@ -322,7 +322,7 @@ * @param name of the value to fetch from the map * @throws CMSException */ - virtual long getLong( const std::string& name ); + virtual long long getLong( const std::string& name ); /** * Sets a Long value with the specified name into the Map. Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ActiveMQTempQueue.h URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ActiveMQTempQueue.h?view=diff&rev=473382&r1=473381&r2=473382 ============================================================================== --- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ActiveMQTempQueue.h (original) +++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ActiveMQTempQueue.h Fri Nov 10 08:29:57 2006 @@ -109,7 +109,7 @@ * Gets the name of this queue. * @return The queue name. */ - virtual const char* getQueueName(void) const + virtual std::string getQueueName(void) const throw( cms::CMSException ); }; Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ActiveMQTempTopic.h URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ActiveMQTempTopic.h?view=diff&rev=473382&r1=473381&r2=473382 ============================================================================== --- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ActiveMQTempTopic.h (original) +++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ActiveMQTempTopic.h Fri Nov 10 08:29:57 2006 @@ -96,7 +96,7 @@ * Gets the name of this topic. * @return The topic name. */ - virtual const char* getTopicName(void) + virtual std::string getTopicName(void) const throw( cms::CMSException ); }; 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=473382&r1=473381&r2=473382 ============================================================================== --- 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 Fri Nov 10 08:29:57 2006 @@ -74,7 +74,7 @@ * Get the Correlation Id for this message * @return string representation of the correlation Id */ - virtual const char* getCMSCorrelationId(void) const; + virtual std::string getCMSCorrelationId(void) const; /** * Sets the Correlation Id used by this message @@ -122,7 +122,7 @@ * Gets the CMS Message Id for this Message * @return time value */ - virtual const char* getCMSMessageId(void) const; + virtual std::string getCMSMessageId(void) const; /** * Sets the CMS Message Id for this message @@ -158,7 +158,7 @@ * Gets the CMS Reply To Address for this Message * @return Reply To Value */ - virtual const char* getCMSReplyTo(void) const; + virtual std::string getCMSReplyTo(void) const; /** * Sets the CMS Reply To Address for this message @@ -182,7 +182,7 @@ * Gets the CMS Message Type for this Message * @return type value */ - virtual const char* getCMSMessageType(void) const; + virtual std::string getCMSMessageType(void) const; /** * Sets the CMS Message Type for this message @@ -196,7 +196,7 @@ * Gets the message character buffer. * @return The message character buffer. */ - virtual const char* getText() const throw( cms::CMSException ); + virtual std::string getText() const throw( cms::CMSException ); /** * Sets the message contents, does not take ownership of the passed Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/BaseCommand.h URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/BaseCommand.h?view=diff&rev=473382&r1=473381&r2=473382 ============================================================================== --- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/BaseCommand.h (original) +++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/BaseCommand.h Fri Nov 10 08:29:57 2006 @@ -29,6 +29,7 @@ { public: + BaseCommand(); virtual ~BaseCommand() {} /**