Return-Path: Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: (qmail 24669 invoked from network); 25 Feb 2009 15:24:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Feb 2009 15:24:20 -0000 Received: (qmail 71067 invoked by uid 500); 25 Feb 2009 15:24:19 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 71030 invoked by uid 500); 25 Feb 2009 15:24:19 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 70950 invoked by uid 99); 25 Feb 2009 15:24:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Feb 2009 07:24:19 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Feb 2009 15:24:16 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 0DA762388B67; Wed, 25 Feb 2009 15:23:55 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r747816 [4/5] - in /activemq/activemq-cpp/trunk: activemq-cpp-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/ activemq-cpp-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/commands/ activemq-cpp-openwir... Date: Wed, 25 Feb 2009 15:23:51 -0000 To: commits@activemq.apache.org From: tabish@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090225152356.0DA762388B67@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/MessageDispatch.cpp URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/MessageDispatch.cpp?rev=747816&r1=747815&r2=747816&view=diff ============================================================================== --- activemq/activemq-cpp/trunk/src/main/activemq/commands/MessageDispatch.cpp (original) +++ activemq/activemq-cpp/trunk/src/main/activemq/commands/MessageDispatch.cpp Wed Feb 25 15:23:48 2009 @@ -14,9 +14,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + +#include #include #include -#include #include using namespace std; @@ -28,14 +29,14 @@ /* * - * Command and marshaling code for OpenWire format for MessageDispatch - * + * Command code for OpenWire format for MessageDispatch * * NOTE!: This file is auto generated - do not modify! * if you need to make a change, please see the Java Classes in the - * activemq-core module + * activemq-cpp-openwire-generator module * */ + //////////////////////////////////////////////////////////////////////////////// MessageDispatch::MessageDispatch() { @@ -44,7 +45,6 @@ //////////////////////////////////////////////////////////////////////////////// MessageDispatch::~MessageDispatch() { - } //////////////////////////////////////////////////////////////////////////////// @@ -163,13 +163,6 @@ } //////////////////////////////////////////////////////////////////////////////// -decaf::lang::Pointer MessageDispatch::visit( activemq::state::CommandVisitor* visitor ) - throw( exceptions::ActiveMQException ) { - - return visitor->processMessageDispatch( this ); -} - -//////////////////////////////////////////////////////////////////////////////// const decaf::lang::Pointer& MessageDispatch::getConsumerId() const { return consumerId; } @@ -224,3 +217,9 @@ this->redeliveryCounter = redeliveryCounter; } +//////////////////////////////////////////////////////////////////////////////// +decaf::lang::Pointer MessageDispatch::visit( activemq::state::CommandVisitor* visitor ) + throw( exceptions::ActiveMQException ) { + + return visitor->processMessageDispatch( this ); +} Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/MessageDispatch.h URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/MessageDispatch.h?rev=747816&r1=747815&r2=747816&view=diff ============================================================================== --- activemq/activemq-cpp/trunk/src/main/activemq/commands/MessageDispatch.h (original) +++ activemq/activemq-cpp/trunk/src/main/activemq/commands/MessageDispatch.h Wed Feb 25 15:23:48 2009 @@ -15,6 +15,7 @@ * limitations under the License. */ + #ifndef _ACTIVEMQ_COMMANDS_MESSAGEDISPATCH_H_ #define _ACTIVEMQ_COMMANDS_MESSAGEDISPATCH_H_ @@ -23,26 +24,25 @@ #pragma warning( disable : 4290 ) #endif +#include #include +#include #include -#include -#include -#include -#include #include -#include +#include +#include +#include namespace activemq{ namespace commands{ /* * - * Command and marshaling code for OpenWire format for MessageDispatch - * + * Command code for OpenWire format for MessageDispatch * * NOTE!: This file is auto generated - do not modify! * if you need to make a change, please see the Java Classes - * in the activemq-openwire-generator module + * in the activemq-cpp-openwire-generator module * */ class AMQCPP_API MessageDispatch : public BaseCommand { @@ -53,6 +53,10 @@ decaf::lang::Pointer message; int redeliveryCounter; + public: + + const static unsigned char ID_MESSAGEDISPATCH = 21; + protected: MessageDispatch( const MessageDispatch& other ); @@ -60,11 +64,8 @@ public: - const static unsigned char ID_MESSAGEDISPATCH = 21; - - public: - MessageDispatch(); + virtual ~MessageDispatch(); /** @@ -103,6 +104,21 @@ */ virtual bool equals( const DataStructure* value ) const; + virtual const decaf::lang::Pointer& getConsumerId() const; + virtual decaf::lang::Pointer& getConsumerId(); + virtual void setConsumerId( const decaf::lang::Pointer& consumerId ); + + virtual const decaf::lang::Pointer& getDestination() const; + virtual decaf::lang::Pointer& getDestination(); + virtual void setDestination( const decaf::lang::Pointer& destination ); + + virtual const decaf::lang::Pointer& getMessage() const; + virtual decaf::lang::Pointer& getMessage(); + virtual void setMessage( const decaf::lang::Pointer& message ); + + virtual int getRedeliveryCounter() const; + virtual void setRedeliveryCounter( int redeliveryCounter ); + /** * @return an answer of true to the isMessageDispatch() query. */ @@ -120,21 +136,6 @@ virtual decaf::lang::Pointer visit( activemq::state::CommandVisitor* visitor ) throw( exceptions::ActiveMQException ); - virtual const decaf::lang::Pointer& getConsumerId() const; - virtual decaf::lang::Pointer& getConsumerId(); - virtual void setConsumerId( const decaf::lang::Pointer& consumerId ); - - virtual const decaf::lang::Pointer& getDestination() const; - virtual decaf::lang::Pointer& getDestination(); - virtual void setDestination( const decaf::lang::Pointer& destination ); - - virtual const decaf::lang::Pointer& getMessage() const; - virtual decaf::lang::Pointer& getMessage(); - virtual void setMessage( const decaf::lang::Pointer& message ); - - virtual int getRedeliveryCounter() const; - virtual void setRedeliveryCounter( int redeliveryCounter ); - }; }} Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/MessageDispatchNotification.cpp URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/MessageDispatchNotification.cpp?rev=747816&r1=747815&r2=747816&view=diff ============================================================================== --- activemq/activemq-cpp/trunk/src/main/activemq/commands/MessageDispatchNotification.cpp (original) +++ activemq/activemq-cpp/trunk/src/main/activemq/commands/MessageDispatchNotification.cpp Wed Feb 25 15:23:48 2009 @@ -14,9 +14,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + +#include #include #include -#include #include using namespace std; @@ -28,14 +29,14 @@ /* * - * Command and marshaling code for OpenWire format for MessageDispatchNotification - * + * Command code for OpenWire format for MessageDispatchNotification * * NOTE!: This file is auto generated - do not modify! * if you need to make a change, please see the Java Classes in the - * activemq-core module + * activemq-cpp-openwire-generator module * */ + //////////////////////////////////////////////////////////////////////////////// MessageDispatchNotification::MessageDispatchNotification() { @@ -44,7 +45,6 @@ //////////////////////////////////////////////////////////////////////////////// MessageDispatchNotification::~MessageDispatchNotification() { - } //////////////////////////////////////////////////////////////////////////////// @@ -163,13 +163,6 @@ } //////////////////////////////////////////////////////////////////////////////// -decaf::lang::Pointer MessageDispatchNotification::visit( activemq::state::CommandVisitor* visitor ) - throw( exceptions::ActiveMQException ) { - - return visitor->processMessageDispatchNotification( this ); -} - -//////////////////////////////////////////////////////////////////////////////// const decaf::lang::Pointer& MessageDispatchNotification::getConsumerId() const { return consumerId; } @@ -224,3 +217,9 @@ this->messageId = messageId; } +//////////////////////////////////////////////////////////////////////////////// +decaf::lang::Pointer MessageDispatchNotification::visit( activemq::state::CommandVisitor* visitor ) + throw( exceptions::ActiveMQException ) { + + return visitor->processMessageDispatchNotification( this ); +} Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/MessageDispatchNotification.h URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/MessageDispatchNotification.h?rev=747816&r1=747815&r2=747816&view=diff ============================================================================== --- activemq/activemq-cpp/trunk/src/main/activemq/commands/MessageDispatchNotification.h (original) +++ activemq/activemq-cpp/trunk/src/main/activemq/commands/MessageDispatchNotification.h Wed Feb 25 15:23:48 2009 @@ -15,6 +15,7 @@ * limitations under the License. */ + #ifndef _ACTIVEMQ_COMMANDS_MESSAGEDISPATCHNOTIFICATION_H_ #define _ACTIVEMQ_COMMANDS_MESSAGEDISPATCHNOTIFICATION_H_ @@ -23,26 +24,25 @@ #pragma warning( disable : 4290 ) #endif +#include +#include #include +#include #include -#include -#include -#include -#include #include -#include +#include +#include namespace activemq{ namespace commands{ /* * - * Command and marshaling code for OpenWire format for MessageDispatchNotification - * + * Command code for OpenWire format for MessageDispatchNotification * * NOTE!: This file is auto generated - do not modify! * if you need to make a change, please see the Java Classes - * in the activemq-openwire-generator module + * in the activemq-cpp-openwire-generator module * */ class AMQCPP_API MessageDispatchNotification : public BaseCommand { @@ -53,6 +53,10 @@ long long deliverySequenceId; decaf::lang::Pointer messageId; + public: + + const static unsigned char ID_MESSAGEDISPATCHNOTIFICATION = 90; + protected: MessageDispatchNotification( const MessageDispatchNotification& other ); @@ -60,11 +64,8 @@ public: - const static unsigned char ID_MESSAGEDISPATCHNOTIFICATION = 90; - - public: - MessageDispatchNotification(); + virtual ~MessageDispatchNotification(); /** @@ -103,6 +104,21 @@ */ virtual bool equals( const DataStructure* value ) const; + virtual const decaf::lang::Pointer& getConsumerId() const; + virtual decaf::lang::Pointer& getConsumerId(); + virtual void setConsumerId( const decaf::lang::Pointer& consumerId ); + + virtual const decaf::lang::Pointer& getDestination() const; + virtual decaf::lang::Pointer& getDestination(); + virtual void setDestination( const decaf::lang::Pointer& destination ); + + virtual long long getDeliverySequenceId() const; + virtual void setDeliverySequenceId( long long deliverySequenceId ); + + virtual const decaf::lang::Pointer& getMessageId() const; + virtual decaf::lang::Pointer& getMessageId(); + virtual void setMessageId( const decaf::lang::Pointer& messageId ); + /** * @return an answer of true to the isMessageDispatchNotification() query. */ @@ -120,21 +136,6 @@ virtual decaf::lang::Pointer visit( activemq::state::CommandVisitor* visitor ) throw( exceptions::ActiveMQException ); - virtual const decaf::lang::Pointer& getConsumerId() const; - virtual decaf::lang::Pointer& getConsumerId(); - virtual void setConsumerId( const decaf::lang::Pointer& consumerId ); - - virtual const decaf::lang::Pointer& getDestination() const; - virtual decaf::lang::Pointer& getDestination(); - virtual void setDestination( const decaf::lang::Pointer& destination ); - - virtual long long getDeliverySequenceId() const; - virtual void setDeliverySequenceId( long long deliverySequenceId ); - - virtual const decaf::lang::Pointer& getMessageId() const; - virtual decaf::lang::Pointer& getMessageId(); - virtual void setMessageId( const decaf::lang::Pointer& messageId ); - }; }} Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/MessageId.cpp URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/MessageId.cpp?rev=747816&r1=747815&r2=747816&view=diff ============================================================================== --- activemq/activemq-cpp/trunk/src/main/activemq/commands/MessageId.cpp (original) +++ activemq/activemq-cpp/trunk/src/main/activemq/commands/MessageId.cpp Wed Feb 25 15:23:48 2009 @@ -14,11 +14,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + +#include #include +#include #include -#include #include -#include using namespace std; using namespace activemq; @@ -29,14 +30,14 @@ /* * - * Command and marshaling code for OpenWire format for MessageId - * + * Command code for OpenWire format for MessageId * * NOTE!: This file is auto generated - do not modify! * if you need to make a change, please see the Java Classes in the - * activemq-core module + * activemq-cpp-openwire-generator module * */ + //////////////////////////////////////////////////////////////////////////////// MessageId::MessageId() { @@ -51,7 +52,6 @@ //////////////////////////////////////////////////////////////////////////////// MessageId::~MessageId() { - } //////////////////////////////////////////////////////////////////////////////// @@ -222,6 +222,7 @@ bool MessageId::operator<( const MessageId& value ) const { return this->compareTo( value ) < 0; } + //////////////////////////////////////////////////////////////////////////////// MessageId& MessageId::operator= ( const MessageId& other ) { this->copyDataStructure( &other ); Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/MessageId.h URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/MessageId.h?rev=747816&r1=747815&r2=747816&view=diff ============================================================================== --- activemq/activemq-cpp/trunk/src/main/activemq/commands/MessageId.h (original) +++ activemq/activemq-cpp/trunk/src/main/activemq/commands/MessageId.h Wed Feb 25 15:23:48 2009 @@ -15,6 +15,7 @@ * limitations under the License. */ + #ifndef _ACTIVEMQ_COMMANDS_MESSAGEID_H_ #define _ACTIVEMQ_COMMANDS_MESSAGEID_H_ @@ -23,25 +24,24 @@ #pragma warning( disable : 4290 ) #endif -#include -#include #include #include -#include -#include +#include #include +#include +#include +#include namespace activemq{ namespace commands{ /* * - * Command and marshaling code for OpenWire format for MessageId - * + * Command code for OpenWire format for MessageId * * NOTE!: This file is auto generated - do not modify! * if you need to make a change, please see the Java Classes - * in the activemq-openwire-generator module + * in the activemq-cpp-openwire-generator module * */ class AMQCPP_API MessageId : public BaseDataStructure, public decaf::lang::Comparable { @@ -60,7 +60,9 @@ public: MessageId(); + MessageId( const MessageId& other ); + virtual ~MessageId(); /** @@ -118,6 +120,7 @@ virtual bool operator<( const MessageId& value ) const; MessageId& operator= ( const MessageId& other ); + }; }} Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/MessagePull.cpp URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/MessagePull.cpp?rev=747816&r1=747815&r2=747816&view=diff ============================================================================== --- activemq/activemq-cpp/trunk/src/main/activemq/commands/MessagePull.cpp (original) +++ activemq/activemq-cpp/trunk/src/main/activemq/commands/MessagePull.cpp Wed Feb 25 15:23:48 2009 @@ -14,9 +14,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -#include -#include + #include +#include +#include #include using namespace std; @@ -28,14 +29,14 @@ /* * - * Command and marshaling code for OpenWire format for MessagePull - * + * Command code for OpenWire format for MessagePull * * NOTE!: This file is auto generated - do not modify! * if you need to make a change, please see the Java Classes in the - * activemq-core module + * activemq-cpp-openwire-generator module * */ + //////////////////////////////////////////////////////////////////////////////// MessagePull::MessagePull() { @@ -45,7 +46,6 @@ //////////////////////////////////////////////////////////////////////////////// MessagePull::~MessagePull() { - } //////////////////////////////////////////////////////////////////////////////// @@ -169,13 +169,6 @@ } //////////////////////////////////////////////////////////////////////////////// -decaf::lang::Pointer MessagePull::visit( activemq::state::CommandVisitor* visitor ) - throw( exceptions::ActiveMQException ) { - - return visitor->processMessagePull( this ); -} - -//////////////////////////////////////////////////////////////////////////////// const decaf::lang::Pointer& MessagePull::getConsumerId() const { return consumerId; } @@ -245,3 +238,9 @@ this->messageId = messageId; } +//////////////////////////////////////////////////////////////////////////////// +decaf::lang::Pointer MessagePull::visit( activemq::state::CommandVisitor* visitor ) + throw( exceptions::ActiveMQException ) { + + return visitor->processMessagePull( this ); +} Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/MessagePull.h URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/MessagePull.h?rev=747816&r1=747815&r2=747816&view=diff ============================================================================== --- activemq/activemq-cpp/trunk/src/main/activemq/commands/MessagePull.h (original) +++ activemq/activemq-cpp/trunk/src/main/activemq/commands/MessagePull.h Wed Feb 25 15:23:48 2009 @@ -15,6 +15,7 @@ * limitations under the License. */ + #ifndef _ACTIVEMQ_COMMANDS_MESSAGEPULL_H_ #define _ACTIVEMQ_COMMANDS_MESSAGEPULL_H_ @@ -23,26 +24,25 @@ #pragma warning( disable : 4290 ) #endif +#include +#include #include +#include #include -#include -#include -#include -#include #include -#include +#include +#include namespace activemq{ namespace commands{ /* * - * Command and marshaling code for OpenWire format for MessagePull - * + * Command code for OpenWire format for MessagePull * * NOTE!: This file is auto generated - do not modify! * if you need to make a change, please see the Java Classes - * in the activemq-openwire-generator module + * in the activemq-cpp-openwire-generator module * */ class AMQCPP_API MessagePull : public BaseCommand { @@ -54,6 +54,10 @@ std::string correlationId; decaf::lang::Pointer messageId; + public: + + const static unsigned char ID_MESSAGEPULL = 20; + protected: MessagePull( const MessagePull& other ); @@ -61,11 +65,8 @@ public: - const static unsigned char ID_MESSAGEPULL = 20; - - public: - MessagePull(); + virtual ~MessagePull(); /** @@ -104,16 +105,6 @@ */ virtual bool equals( const DataStructure* value ) const; - /** - * Allows a Visitor to visit this command and return a response to the - * command based on the command type being visited. The command will call - * the proper processXXX method in the visitor. - * - * @return a Response to the visitor being called or NULL if no response. - */ - virtual decaf::lang::Pointer visit( activemq::state::CommandVisitor* visitor ) - throw( exceptions::ActiveMQException ); - virtual const decaf::lang::Pointer& getConsumerId() const; virtual decaf::lang::Pointer& getConsumerId(); virtual void setConsumerId( const decaf::lang::Pointer& consumerId ); @@ -133,6 +124,16 @@ virtual decaf::lang::Pointer& getMessageId(); virtual void setMessageId( const decaf::lang::Pointer& messageId ); + /** + * Allows a Visitor to visit this command and return a response to the + * command based on the command type being visited. The command will call + * the proper processXXX method in the visitor. + * + * @return a Response to the visitor being called or NULL if no response. + */ + virtual decaf::lang::Pointer visit( activemq::state::CommandVisitor* visitor ) + throw( exceptions::ActiveMQException ); + }; }} Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/NetworkBridgeFilter.cpp URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/NetworkBridgeFilter.cpp?rev=747816&r1=747815&r2=747816&view=diff ============================================================================== --- activemq/activemq-cpp/trunk/src/main/activemq/commands/NetworkBridgeFilter.cpp (original) +++ activemq/activemq-cpp/trunk/src/main/activemq/commands/NetworkBridgeFilter.cpp Wed Feb 25 15:23:48 2009 @@ -14,9 +14,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + +#include #include #include -#include #include using namespace std; @@ -28,14 +29,14 @@ /* * - * Command and marshaling code for OpenWire format for NetworkBridgeFilter - * + * Command code for OpenWire format for NetworkBridgeFilter * * NOTE!: This file is auto generated - do not modify! * if you need to make a change, please see the Java Classes in the - * activemq-core module + * activemq-cpp-openwire-generator module * */ + //////////////////////////////////////////////////////////////////////////////// NetworkBridgeFilter::NetworkBridgeFilter() { @@ -44,7 +45,6 @@ //////////////////////////////////////////////////////////////////////////////// NetworkBridgeFilter::~NetworkBridgeFilter() { - } //////////////////////////////////////////////////////////////////////////////// Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/NetworkBridgeFilter.h URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/NetworkBridgeFilter.h?rev=747816&r1=747815&r2=747816&view=diff ============================================================================== --- activemq/activemq-cpp/trunk/src/main/activemq/commands/NetworkBridgeFilter.h (original) +++ activemq/activemq-cpp/trunk/src/main/activemq/commands/NetworkBridgeFilter.h Wed Feb 25 15:23:48 2009 @@ -15,6 +15,7 @@ * limitations under the License. */ + #ifndef _ACTIVEMQ_COMMANDS_NETWORKBRIDGEFILTER_H_ #define _ACTIVEMQ_COMMANDS_NETWORKBRIDGEFILTER_H_ @@ -23,24 +24,23 @@ #pragma warning( disable : 4290 ) #endif +#include +#include #include +#include #include -#include -#include #include -#include namespace activemq{ namespace commands{ /* * - * Command and marshaling code for OpenWire format for NetworkBridgeFilter - * + * Command code for OpenWire format for NetworkBridgeFilter * * NOTE!: This file is auto generated - do not modify! * if you need to make a change, please see the Java Classes - * in the activemq-openwire-generator module + * in the activemq-cpp-openwire-generator module * */ class AMQCPP_API NetworkBridgeFilter : public BaseDataStructure { @@ -49,6 +49,10 @@ int networkTTL; decaf::lang::Pointer networkBrokerId; + public: + + const static unsigned char ID_NETWORKBRIDGEFILTER = 91; + protected: NetworkBridgeFilter( const NetworkBridgeFilter& other ); @@ -56,11 +60,8 @@ public: - const static unsigned char ID_NETWORKBRIDGEFILTER = 91; - - public: - NetworkBridgeFilter(); + virtual ~NetworkBridgeFilter(); /** Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/PartialCommand.cpp URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/PartialCommand.cpp?rev=747816&r1=747815&r2=747816&view=diff ============================================================================== --- activemq/activemq-cpp/trunk/src/main/activemq/commands/PartialCommand.cpp (original) +++ activemq/activemq-cpp/trunk/src/main/activemq/commands/PartialCommand.cpp Wed Feb 25 15:23:48 2009 @@ -14,10 +14,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -#include -#include + #include +#include #include +#include using namespace std; using namespace activemq; @@ -28,14 +29,14 @@ /* * - * Command and marshaling code for OpenWire format for PartialCommand - * + * Command code for OpenWire format for PartialCommand * * NOTE!: This file is auto generated - do not modify! * if you need to make a change, please see the Java Classes in the - * activemq-core module + * activemq-cpp-openwire-generator module * */ + //////////////////////////////////////////////////////////////////////////////// PartialCommand::PartialCommand() { @@ -44,7 +45,6 @@ //////////////////////////////////////////////////////////////////////////////// PartialCommand::~PartialCommand() { - } //////////////////////////////////////////////////////////////////////////////// Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/PartialCommand.h URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/PartialCommand.h?rev=747816&r1=747815&r2=747816&view=diff ============================================================================== --- activemq/activemq-cpp/trunk/src/main/activemq/commands/PartialCommand.h (original) +++ activemq/activemq-cpp/trunk/src/main/activemq/commands/PartialCommand.h Wed Feb 25 15:23:48 2009 @@ -15,6 +15,7 @@ * limitations under the License. */ + #ifndef _ACTIVEMQ_COMMANDS_PARTIALCOMMAND_H_ #define _ACTIVEMQ_COMMANDS_PARTIALCOMMAND_H_ @@ -23,23 +24,22 @@ #pragma warning( disable : 4290 ) #endif +#include #include +#include #include -#include #include -#include namespace activemq{ namespace commands{ /* * - * Command and marshaling code for OpenWire format for PartialCommand - * + * Command code for OpenWire format for PartialCommand * * NOTE!: This file is auto generated - do not modify! * if you need to make a change, please see the Java Classes - * in the activemq-openwire-generator module + * in the activemq-cpp-openwire-generator module * */ class AMQCPP_API PartialCommand : public BaseDataStructure { @@ -48,6 +48,10 @@ int commandId; std::vector data; + public: + + const static unsigned char ID_PARTIALCOMMAND = 60; + protected: PartialCommand( const PartialCommand& other ); @@ -55,11 +59,8 @@ public: - const static unsigned char ID_PARTIALCOMMAND = 60; - - public: - PartialCommand(); + virtual ~PartialCommand(); /** Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/ProducerAck.cpp URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/ProducerAck.cpp?rev=747816&r1=747815&r2=747816&view=diff ============================================================================== --- activemq/activemq-cpp/trunk/src/main/activemq/commands/ProducerAck.cpp (original) +++ activemq/activemq-cpp/trunk/src/main/activemq/commands/ProducerAck.cpp Wed Feb 25 15:23:48 2009 @@ -14,9 +14,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + +#include #include #include -#include #include using namespace std; @@ -28,14 +29,14 @@ /* * - * Command and marshaling code for OpenWire format for ProducerAck - * + * Command code for OpenWire format for ProducerAck * * NOTE!: This file is auto generated - do not modify! * if you need to make a change, please see the Java Classes in the - * activemq-core module + * activemq-cpp-openwire-generator module * */ + //////////////////////////////////////////////////////////////////////////////// ProducerAck::ProducerAck() { @@ -44,7 +45,6 @@ //////////////////////////////////////////////////////////////////////////////// ProducerAck::~ProducerAck() { - } //////////////////////////////////////////////////////////////////////////////// @@ -135,13 +135,6 @@ } //////////////////////////////////////////////////////////////////////////////// -decaf::lang::Pointer ProducerAck::visit( activemq::state::CommandVisitor* visitor ) - throw( exceptions::ActiveMQException ) { - - return visitor->processProducerAck( this ); -} - -//////////////////////////////////////////////////////////////////////////////// const decaf::lang::Pointer& ProducerAck::getProducerId() const { return producerId; } @@ -166,3 +159,9 @@ this->size = size; } +//////////////////////////////////////////////////////////////////////////////// +decaf::lang::Pointer ProducerAck::visit( activemq::state::CommandVisitor* visitor ) + throw( exceptions::ActiveMQException ) { + + return visitor->processProducerAck( this ); +} Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/ProducerAck.h URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/ProducerAck.h?rev=747816&r1=747815&r2=747816&view=diff ============================================================================== --- activemq/activemq-cpp/trunk/src/main/activemq/commands/ProducerAck.h (original) +++ activemq/activemq-cpp/trunk/src/main/activemq/commands/ProducerAck.h Wed Feb 25 15:23:48 2009 @@ -15,6 +15,7 @@ * limitations under the License. */ + #ifndef _ACTIVEMQ_COMMANDS_PRODUCERACK_H_ #define _ACTIVEMQ_COMMANDS_PRODUCERACK_H_ @@ -23,24 +24,23 @@ #pragma warning( disable : 4290 ) #endif +#include #include +#include #include -#include -#include #include -#include +#include namespace activemq{ namespace commands{ /* * - * Command and marshaling code for OpenWire format for ProducerAck - * + * Command code for OpenWire format for ProducerAck * * NOTE!: This file is auto generated - do not modify! * if you need to make a change, please see the Java Classes - * in the activemq-openwire-generator module + * in the activemq-cpp-openwire-generator module * */ class AMQCPP_API ProducerAck : public BaseCommand { @@ -49,6 +49,10 @@ decaf::lang::Pointer producerId; int size; + public: + + const static unsigned char ID_PRODUCERACK = 19; + protected: ProducerAck( const ProducerAck& other ); @@ -56,11 +60,8 @@ public: - const static unsigned char ID_PRODUCERACK = 19; - - public: - ProducerAck(); + virtual ~ProducerAck(); /** @@ -99,6 +100,13 @@ */ virtual bool equals( const DataStructure* value ) const; + virtual const decaf::lang::Pointer& getProducerId() const; + virtual decaf::lang::Pointer& getProducerId(); + virtual void setProducerId( const decaf::lang::Pointer& producerId ); + + virtual int getSize() const; + virtual void setSize( int size ); + /** * @return an answer of true to the isProducerAck() query. */ @@ -116,13 +124,6 @@ virtual decaf::lang::Pointer visit( activemq::state::CommandVisitor* visitor ) throw( exceptions::ActiveMQException ); - virtual const decaf::lang::Pointer& getProducerId() const; - virtual decaf::lang::Pointer& getProducerId(); - virtual void setProducerId( const decaf::lang::Pointer& producerId ); - - virtual int getSize() const; - virtual void setSize( int size ); - }; }} Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/ProducerId.cpp URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/ProducerId.cpp?rev=747816&r1=747815&r2=747816&view=diff ============================================================================== --- activemq/activemq-cpp/trunk/src/main/activemq/commands/ProducerId.cpp (original) +++ activemq/activemq-cpp/trunk/src/main/activemq/commands/ProducerId.cpp Wed Feb 25 15:23:48 2009 @@ -14,11 +14,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -#include -#include + #include -#include #include +#include +#include +#include using namespace std; using namespace activemq; @@ -29,14 +30,14 @@ /* * - * Command and marshaling code for OpenWire format for ProducerId - * + * Command code for OpenWire format for ProducerId * * NOTE!: This file is auto generated - do not modify! * if you need to make a change, please see the Java Classes in the - * activemq-core module + * activemq-cpp-openwire-generator module * */ + //////////////////////////////////////////////////////////////////////////////// ProducerId::ProducerId() { @@ -52,7 +53,6 @@ //////////////////////////////////////////////////////////////////////////////// ProducerId::~ProducerId() { - } //////////////////////////////////////////////////////////////////////////////// @@ -214,6 +214,7 @@ bool ProducerId::operator<( const ProducerId& value ) const { return this->compareTo( value ) < 0; } + //////////////////////////////////////////////////////////////////////////////// ProducerId& ProducerId::operator= ( const ProducerId& other ) { this->copyDataStructure( &other ); Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/ProducerId.h URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/ProducerId.h?rev=747816&r1=747815&r2=747816&view=diff ============================================================================== --- activemq/activemq-cpp/trunk/src/main/activemq/commands/ProducerId.h (original) +++ activemq/activemq-cpp/trunk/src/main/activemq/commands/ProducerId.h Wed Feb 25 15:23:48 2009 @@ -15,6 +15,7 @@ * limitations under the License. */ + #ifndef _ACTIVEMQ_COMMANDS_PRODUCERID_H_ #define _ACTIVEMQ_COMMANDS_PRODUCERID_H_ @@ -23,24 +24,23 @@ #pragma warning( disable : 4290 ) #endif -#include -#include #include #include -#include +#include #include +#include +#include namespace activemq{ namespace commands{ /* * - * Command and marshaling code for OpenWire format for ProducerId - * + * Command code for OpenWire format for ProducerId * * NOTE!: This file is auto generated - do not modify! * if you need to make a change, please see the Java Classes - * in the activemq-openwire-generator module + * in the activemq-cpp-openwire-generator module * */ class AMQCPP_API ProducerId : public BaseDataStructure, public decaf::lang::Comparable { @@ -59,7 +59,9 @@ public: ProducerId(); + ProducerId( const ProducerId& other ); + virtual ~ProducerId(); /** @@ -117,6 +119,7 @@ virtual bool operator<( const ProducerId& value ) const; ProducerId& operator= ( const ProducerId& other ); + }; }} Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/ProducerInfo.cpp URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/ProducerInfo.cpp?rev=747816&r1=747815&r2=747816&view=diff ============================================================================== --- activemq/activemq-cpp/trunk/src/main/activemq/commands/ProducerInfo.cpp (original) +++ activemq/activemq-cpp/trunk/src/main/activemq/commands/ProducerInfo.cpp Wed Feb 25 15:23:48 2009 @@ -14,9 +14,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + +#include #include #include -#include #include using namespace std; @@ -28,14 +29,14 @@ /* * - * Command and marshaling code for OpenWire format for ProducerInfo - * + * Command code for OpenWire format for ProducerInfo * * NOTE!: This file is auto generated - do not modify! * if you need to make a change, please see the Java Classes in the - * activemq-core module + * activemq-cpp-openwire-generator module * */ + //////////////////////////////////////////////////////////////////////////////// ProducerInfo::ProducerInfo() { @@ -45,7 +46,6 @@ //////////////////////////////////////////////////////////////////////////////// ProducerInfo::~ProducerInfo() { - } //////////////////////////////////////////////////////////////////////////////// @@ -173,13 +173,6 @@ } //////////////////////////////////////////////////////////////////////////////// -decaf::lang::Pointer ProducerInfo::visit( activemq::state::CommandVisitor* visitor ) - throw( exceptions::ActiveMQException ) { - - return visitor->processProducerInfo( this ); -} - -//////////////////////////////////////////////////////////////////////////////// const decaf::lang::Pointer& ProducerInfo::getProducerId() const { return producerId; } @@ -244,3 +237,9 @@ this->windowSize = windowSize; } +//////////////////////////////////////////////////////////////////////////////// +decaf::lang::Pointer ProducerInfo::visit( activemq::state::CommandVisitor* visitor ) + throw( exceptions::ActiveMQException ) { + + return visitor->processProducerInfo( this ); +} Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/ProducerInfo.h URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/ProducerInfo.h?rev=747816&r1=747815&r2=747816&view=diff ============================================================================== --- activemq/activemq-cpp/trunk/src/main/activemq/commands/ProducerInfo.h (original) +++ activemq/activemq-cpp/trunk/src/main/activemq/commands/ProducerInfo.h Wed Feb 25 15:23:48 2009 @@ -15,6 +15,7 @@ * limitations under the License. */ + #ifndef _ACTIVEMQ_COMMANDS_PRODUCERINFO_H_ #define _ACTIVEMQ_COMMANDS_PRODUCERINFO_H_ @@ -23,26 +24,25 @@ #pragma warning( disable : 4290 ) #endif +#include +#include #include +#include #include -#include -#include -#include -#include #include -#include +#include +#include namespace activemq{ namespace commands{ /* * - * Command and marshaling code for OpenWire format for ProducerInfo - * + * Command code for OpenWire format for ProducerInfo * * NOTE!: This file is auto generated - do not modify! * if you need to make a change, please see the Java Classes - * in the activemq-openwire-generator module + * in the activemq-cpp-openwire-generator module * */ class AMQCPP_API ProducerInfo : public BaseCommand { @@ -54,6 +54,10 @@ bool dispatchAsync; int windowSize; + public: + + const static unsigned char ID_PRODUCERINFO = 6; + protected: ProducerInfo( const ProducerInfo& other ); @@ -61,11 +65,8 @@ public: - const static unsigned char ID_PRODUCERINFO = 6; - - public: - ProducerInfo(); + virtual ~ProducerInfo(); /** @@ -104,16 +105,6 @@ */ virtual bool equals( const DataStructure* value ) const; - /** - * Allows a Visitor to visit this command and return a response to the - * command based on the command type being visited. The command will call - * the proper processXXX method in the visitor. - * - * @return a Response to the visitor being called or NULL if no response. - */ - virtual decaf::lang::Pointer visit( activemq::state::CommandVisitor* visitor ) - throw( exceptions::ActiveMQException ); - virtual const decaf::lang::Pointer& getProducerId() const; virtual decaf::lang::Pointer& getProducerId(); virtual void setProducerId( const decaf::lang::Pointer& producerId ); @@ -132,6 +123,16 @@ virtual int getWindowSize() const; virtual void setWindowSize( int windowSize ); + /** + * Allows a Visitor to visit this command and return a response to the + * command based on the command type being visited. The command will call + * the proper processXXX method in the visitor. + * + * @return a Response to the visitor being called or NULL if no response. + */ + virtual decaf::lang::Pointer visit( activemq::state::CommandVisitor* visitor ) + throw( exceptions::ActiveMQException ); + }; }} Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/RemoveInfo.cpp URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/RemoveInfo.cpp?rev=747816&r1=747815&r2=747816&view=diff ============================================================================== --- activemq/activemq-cpp/trunk/src/main/activemq/commands/RemoveInfo.cpp (original) +++ activemq/activemq-cpp/trunk/src/main/activemq/commands/RemoveInfo.cpp Wed Feb 25 15:23:48 2009 @@ -14,9 +14,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + +#include #include #include -#include #include using namespace std; @@ -28,14 +29,14 @@ /* * - * Command and marshaling code for OpenWire format for RemoveInfo - * + * Command code for OpenWire format for RemoveInfo * * NOTE!: This file is auto generated - do not modify! * if you need to make a change, please see the Java Classes in the - * activemq-core module + * activemq-cpp-openwire-generator module * */ + //////////////////////////////////////////////////////////////////////////////// RemoveInfo::RemoveInfo() { @@ -43,7 +44,6 @@ //////////////////////////////////////////////////////////////////////////////// RemoveInfo::~RemoveInfo() { - } //////////////////////////////////////////////////////////////////////////////// @@ -129,13 +129,6 @@ } //////////////////////////////////////////////////////////////////////////////// -decaf::lang::Pointer RemoveInfo::visit( activemq::state::CommandVisitor* visitor ) - throw( exceptions::ActiveMQException ) { - - return visitor->processRemoveInfo( this ); -} - -//////////////////////////////////////////////////////////////////////////////// const decaf::lang::Pointer& RemoveInfo::getObjectId() const { return objectId; } @@ -150,3 +143,9 @@ this->objectId = objectId; } +//////////////////////////////////////////////////////////////////////////////// +decaf::lang::Pointer RemoveInfo::visit( activemq::state::CommandVisitor* visitor ) + throw( exceptions::ActiveMQException ) { + + return visitor->processRemoveInfo( this ); +} Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/RemoveInfo.h URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/RemoveInfo.h?rev=747816&r1=747815&r2=747816&view=diff ============================================================================== --- activemq/activemq-cpp/trunk/src/main/activemq/commands/RemoveInfo.h (original) +++ activemq/activemq-cpp/trunk/src/main/activemq/commands/RemoveInfo.h Wed Feb 25 15:23:48 2009 @@ -15,6 +15,7 @@ * limitations under the License. */ + #ifndef _ACTIVEMQ_COMMANDS_REMOVEINFO_H_ #define _ACTIVEMQ_COMMANDS_REMOVEINFO_H_ @@ -23,24 +24,23 @@ #pragma warning( disable : 4290 ) #endif +#include +#include #include +#include #include -#include -#include #include -#include namespace activemq{ namespace commands{ /* * - * Command and marshaling code for OpenWire format for RemoveInfo - * + * Command code for OpenWire format for RemoveInfo * * NOTE!: This file is auto generated - do not modify! * if you need to make a change, please see the Java Classes - * in the activemq-openwire-generator module + * in the activemq-cpp-openwire-generator module * */ class AMQCPP_API RemoveInfo : public BaseCommand { @@ -48,6 +48,10 @@ decaf::lang::Pointer objectId; + public: + + const static unsigned char ID_REMOVEINFO = 12; + protected: RemoveInfo( const RemoveInfo& other ); @@ -55,11 +59,8 @@ public: - const static unsigned char ID_REMOVEINFO = 12; - - public: - RemoveInfo(); + virtual ~RemoveInfo(); /** @@ -98,6 +99,10 @@ */ virtual bool equals( const DataStructure* value ) const; + virtual const decaf::lang::Pointer& getObjectId() const; + virtual decaf::lang::Pointer& getObjectId(); + virtual void setObjectId( const decaf::lang::Pointer& objectId ); + /** * Allows a Visitor to visit this command and return a response to the * command based on the command type being visited. The command will call @@ -108,10 +113,6 @@ virtual decaf::lang::Pointer visit( activemq::state::CommandVisitor* visitor ) throw( exceptions::ActiveMQException ); - virtual const decaf::lang::Pointer& getObjectId() const; - virtual decaf::lang::Pointer& getObjectId(); - virtual void setObjectId( const decaf::lang::Pointer& objectId ); - }; }} Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/RemoveSubscriptionInfo.cpp URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/RemoveSubscriptionInfo.cpp?rev=747816&r1=747815&r2=747816&view=diff ============================================================================== --- activemq/activemq-cpp/trunk/src/main/activemq/commands/RemoveSubscriptionInfo.cpp (original) +++ activemq/activemq-cpp/trunk/src/main/activemq/commands/RemoveSubscriptionInfo.cpp Wed Feb 25 15:23:48 2009 @@ -14,9 +14,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + +#include #include #include -#include #include using namespace std; @@ -28,14 +29,14 @@ /* * - * Command and marshaling code for OpenWire format for RemoveSubscriptionInfo - * + * Command code for OpenWire format for RemoveSubscriptionInfo * * NOTE!: This file is auto generated - do not modify! * if you need to make a change, please see the Java Classes in the - * activemq-core module + * activemq-cpp-openwire-generator module * */ + //////////////////////////////////////////////////////////////////////////////// RemoveSubscriptionInfo::RemoveSubscriptionInfo() { @@ -45,7 +46,6 @@ //////////////////////////////////////////////////////////////////////////////// RemoveSubscriptionInfo::~RemoveSubscriptionInfo() { - } //////////////////////////////////////////////////////////////////////////////// @@ -141,13 +141,6 @@ } //////////////////////////////////////////////////////////////////////////////// -decaf::lang::Pointer RemoveSubscriptionInfo::visit( activemq::state::CommandVisitor* visitor ) - throw( exceptions::ActiveMQException ) { - - return visitor->processRemoveSubscriptionInfo( this ); -} - -//////////////////////////////////////////////////////////////////////////////// const decaf::lang::Pointer& RemoveSubscriptionInfo::getConnectionId() const { return connectionId; } @@ -192,3 +185,9 @@ this->clientId = clientId; } +//////////////////////////////////////////////////////////////////////////////// +decaf::lang::Pointer RemoveSubscriptionInfo::visit( activemq::state::CommandVisitor* visitor ) + throw( exceptions::ActiveMQException ) { + + return visitor->processRemoveSubscriptionInfo( this ); +} Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/RemoveSubscriptionInfo.h URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/RemoveSubscriptionInfo.h?rev=747816&r1=747815&r2=747816&view=diff ============================================================================== --- activemq/activemq-cpp/trunk/src/main/activemq/commands/RemoveSubscriptionInfo.h (original) +++ activemq/activemq-cpp/trunk/src/main/activemq/commands/RemoveSubscriptionInfo.h Wed Feb 25 15:23:48 2009 @@ -15,6 +15,7 @@ * limitations under the License. */ + #ifndef _ACTIVEMQ_COMMANDS_REMOVESUBSCRIPTIONINFO_H_ #define _ACTIVEMQ_COMMANDS_REMOVESUBSCRIPTIONINFO_H_ @@ -23,24 +24,23 @@ #pragma warning( disable : 4290 ) #endif -#include -#include #include #include -#include +#include #include +#include +#include namespace activemq{ namespace commands{ /* * - * Command and marshaling code for OpenWire format for RemoveSubscriptionInfo - * + * Command code for OpenWire format for RemoveSubscriptionInfo * * NOTE!: This file is auto generated - do not modify! * if you need to make a change, please see the Java Classes - * in the activemq-openwire-generator module + * in the activemq-cpp-openwire-generator module * */ class AMQCPP_API RemoveSubscriptionInfo : public BaseCommand { @@ -50,6 +50,10 @@ std::string subcriptionName; std::string clientId; + public: + + const static unsigned char ID_REMOVESUBSCRIPTIONINFO = 9; + protected: RemoveSubscriptionInfo( const RemoveSubscriptionInfo& other ); @@ -57,11 +61,8 @@ public: - const static unsigned char ID_REMOVESUBSCRIPTIONINFO = 9; - - public: - RemoveSubscriptionInfo(); + virtual ~RemoveSubscriptionInfo(); /** @@ -100,16 +101,6 @@ */ virtual bool equals( const DataStructure* value ) const; - /** - * Allows a Visitor to visit this command and return a response to the - * command based on the command type being visited. The command will call - * the proper processXXX method in the visitor. - * - * @return a Response to the visitor being called or NULL if no response. - */ - virtual decaf::lang::Pointer visit( activemq::state::CommandVisitor* visitor ) - throw( exceptions::ActiveMQException ); - virtual const decaf::lang::Pointer& getConnectionId() const; virtual decaf::lang::Pointer& getConnectionId(); virtual void setConnectionId( const decaf::lang::Pointer& connectionId ); @@ -122,6 +113,16 @@ virtual std::string& getClientId(); virtual void setClientId( const std::string& clientId ); + /** + * Allows a Visitor to visit this command and return a response to the + * command based on the command type being visited. The command will call + * the proper processXXX method in the visitor. + * + * @return a Response to the visitor being called or NULL if no response. + */ + virtual decaf::lang::Pointer visit( activemq::state::CommandVisitor* visitor ) + throw( exceptions::ActiveMQException ); + }; }} Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/ReplayCommand.cpp URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/ReplayCommand.cpp?rev=747816&r1=747815&r2=747816&view=diff ============================================================================== --- activemq/activemq-cpp/trunk/src/main/activemq/commands/ReplayCommand.cpp (original) +++ activemq/activemq-cpp/trunk/src/main/activemq/commands/ReplayCommand.cpp Wed Feb 25 15:23:48 2009 @@ -14,9 +14,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + +#include #include #include -#include #include using namespace std; @@ -28,14 +29,14 @@ /* * - * Command and marshaling code for OpenWire format for ReplayCommand - * + * Command code for OpenWire format for ReplayCommand * * NOTE!: This file is auto generated - do not modify! * if you need to make a change, please see the Java Classes in the - * activemq-core module + * activemq-cpp-openwire-generator module * */ + //////////////////////////////////////////////////////////////////////////////// ReplayCommand::ReplayCommand() { @@ -45,7 +46,6 @@ //////////////////////////////////////////////////////////////////////////////// ReplayCommand::~ReplayCommand() { - } //////////////////////////////////////////////////////////////////////////////// @@ -127,13 +127,6 @@ } //////////////////////////////////////////////////////////////////////////////// -decaf::lang::Pointer ReplayCommand::visit( activemq::state::CommandVisitor* visitor ) - throw( exceptions::ActiveMQException ) { - - return visitor->processReplayCommand( this ); -} - -//////////////////////////////////////////////////////////////////////////////// int ReplayCommand::getFirstNakNumber() const { return firstNakNumber; } @@ -153,3 +146,9 @@ this->lastNakNumber = lastNakNumber; } +//////////////////////////////////////////////////////////////////////////////// +decaf::lang::Pointer ReplayCommand::visit( activemq::state::CommandVisitor* visitor ) + throw( exceptions::ActiveMQException ) { + + return visitor->processReplayCommand( this ); +} Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/ReplayCommand.h URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/ReplayCommand.h?rev=747816&r1=747815&r2=747816&view=diff ============================================================================== --- activemq/activemq-cpp/trunk/src/main/activemq/commands/ReplayCommand.h (original) +++ activemq/activemq-cpp/trunk/src/main/activemq/commands/ReplayCommand.h Wed Feb 25 15:23:48 2009 @@ -15,6 +15,7 @@ * limitations under the License. */ + #ifndef _ACTIVEMQ_COMMANDS_REPLAYCOMMAND_H_ #define _ACTIVEMQ_COMMANDS_REPLAYCOMMAND_H_ @@ -23,23 +24,22 @@ #pragma warning( disable : 4290 ) #endif +#include #include +#include #include -#include #include -#include namespace activemq{ namespace commands{ /* * - * Command and marshaling code for OpenWire format for ReplayCommand - * + * Command code for OpenWire format for ReplayCommand * * NOTE!: This file is auto generated - do not modify! * if you need to make a change, please see the Java Classes - * in the activemq-openwire-generator module + * in the activemq-cpp-openwire-generator module * */ class AMQCPP_API ReplayCommand : public BaseCommand { @@ -48,6 +48,10 @@ int firstNakNumber; int lastNakNumber; + public: + + const static unsigned char ID_REPLAYCOMMAND = 65; + protected: ReplayCommand( const ReplayCommand& other ); @@ -55,11 +59,8 @@ public: - const static unsigned char ID_REPLAYCOMMAND = 65; - - public: - ReplayCommand(); + virtual ~ReplayCommand(); /** @@ -98,6 +99,12 @@ */ virtual bool equals( const DataStructure* value ) const; + virtual int getFirstNakNumber() const; + virtual void setFirstNakNumber( int firstNakNumber ); + + virtual int getLastNakNumber() const; + virtual void setLastNakNumber( int lastNakNumber ); + /** * Allows a Visitor to visit this command and return a response to the * command based on the command type being visited. The command will call @@ -108,12 +115,6 @@ virtual decaf::lang::Pointer visit( activemq::state::CommandVisitor* visitor ) throw( exceptions::ActiveMQException ); - virtual int getFirstNakNumber() const; - virtual void setFirstNakNumber( int firstNakNumber ); - - virtual int getLastNakNumber() const; - virtual void setLastNakNumber( int lastNakNumber ); - }; }} Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/Response.cpp URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/Response.cpp?rev=747816&r1=747815&r2=747816&view=diff ============================================================================== --- activemq/activemq-cpp/trunk/src/main/activemq/commands/Response.cpp (original) +++ activemq/activemq-cpp/trunk/src/main/activemq/commands/Response.cpp Wed Feb 25 15:23:48 2009 @@ -14,9 +14,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + +#include #include #include -#include #include using namespace std; @@ -28,14 +29,14 @@ /* * - * Command and marshaling code for OpenWire format for Response - * + * Command code for OpenWire format for Response * * NOTE!: This file is auto generated - do not modify! * if you need to make a change, please see the Java Classes in the - * activemq-core module + * activemq-cpp-openwire-generator module * */ + //////////////////////////////////////////////////////////////////////////////// Response::Response() { @@ -44,7 +45,6 @@ //////////////////////////////////////////////////////////////////////////////// Response::~Response() { - } //////////////////////////////////////////////////////////////////////////////// @@ -121,13 +121,6 @@ } //////////////////////////////////////////////////////////////////////////////// -decaf::lang::Pointer Response::visit( activemq::state::CommandVisitor* visitor ) - throw( exceptions::ActiveMQException ) { - - return visitor->processResponse( this ); -} - -//////////////////////////////////////////////////////////////////////////////// int Response::getCorrelationId() const { return correlationId; } @@ -137,3 +130,9 @@ this->correlationId = correlationId; } +//////////////////////////////////////////////////////////////////////////////// +decaf::lang::Pointer Response::visit( activemq::state::CommandVisitor* visitor ) + throw( exceptions::ActiveMQException ) { + + return visitor->processResponse( this ); +} Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/Response.h URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/Response.h?rev=747816&r1=747815&r2=747816&view=diff ============================================================================== --- activemq/activemq-cpp/trunk/src/main/activemq/commands/Response.h (original) +++ activemq/activemq-cpp/trunk/src/main/activemq/commands/Response.h Wed Feb 25 15:23:48 2009 @@ -15,6 +15,7 @@ * limitations under the License. */ + #ifndef _ACTIVEMQ_COMMANDS_RESPONSE_H_ #define _ACTIVEMQ_COMMANDS_RESPONSE_H_ @@ -23,23 +24,22 @@ #pragma warning( disable : 4290 ) #endif +#include #include +#include #include -#include #include -#include namespace activemq{ namespace commands{ /* * - * Command and marshaling code for OpenWire format for Response - * + * Command code for OpenWire format for Response * * NOTE!: This file is auto generated - do not modify! * if you need to make a change, please see the Java Classes - * in the activemq-openwire-generator module + * in the activemq-cpp-openwire-generator module * */ class AMQCPP_API Response : public BaseCommand { @@ -47,6 +47,10 @@ int correlationId; + public: + + const static unsigned char ID_RESPONSE = 30; + protected: Response( const Response& other ); @@ -54,11 +58,8 @@ public: - const static unsigned char ID_RESPONSE = 30; - - public: - Response(); + virtual ~Response(); /** @@ -97,6 +98,9 @@ */ virtual bool equals( const DataStructure* value ) const; + virtual int getCorrelationId() const; + virtual void setCorrelationId( int correlationId ); + /** * @return an answer of true to the isResponse() query. */ @@ -114,9 +118,6 @@ virtual decaf::lang::Pointer visit( activemq::state::CommandVisitor* visitor ) throw( exceptions::ActiveMQException ); - virtual int getCorrelationId() const; - virtual void setCorrelationId( int correlationId ); - }; }} Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/SessionId.cpp URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/SessionId.cpp?rev=747816&r1=747815&r2=747816&view=diff ============================================================================== --- activemq/activemq-cpp/trunk/src/main/activemq/commands/SessionId.cpp (original) +++ activemq/activemq-cpp/trunk/src/main/activemq/commands/SessionId.cpp Wed Feb 25 15:23:48 2009 @@ -14,11 +14,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -#include -#include + #include -#include #include +#include +#include +#include using namespace std; using namespace activemq; @@ -29,14 +30,14 @@ /* * - * Command and marshaling code for OpenWire format for SessionId - * + * Command code for OpenWire format for SessionId * * NOTE!: This file is auto generated - do not modify! * if you need to make a change, please see the Java Classes in the - * activemq-core module + * activemq-cpp-openwire-generator module * */ + //////////////////////////////////////////////////////////////////////////////// SessionId::SessionId() { @@ -51,7 +52,6 @@ //////////////////////////////////////////////////////////////////////////////// SessionId::~SessionId() { - } //////////////////////////////////////////////////////////////////////////////// @@ -192,6 +192,7 @@ bool SessionId::operator<( const SessionId& value ) const { return this->compareTo( value ) < 0; } + //////////////////////////////////////////////////////////////////////////////// SessionId& SessionId::operator= ( const SessionId& other ) { this->copyDataStructure( &other ); Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/SessionId.h URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/SessionId.h?rev=747816&r1=747815&r2=747816&view=diff ============================================================================== --- activemq/activemq-cpp/trunk/src/main/activemq/commands/SessionId.h (original) +++ activemq/activemq-cpp/trunk/src/main/activemq/commands/SessionId.h Wed Feb 25 15:23:48 2009 @@ -15,6 +15,7 @@ * limitations under the License. */ + #ifndef _ACTIVEMQ_COMMANDS_SESSIONID_H_ #define _ACTIVEMQ_COMMANDS_SESSIONID_H_ @@ -23,24 +24,23 @@ #pragma warning( disable : 4290 ) #endif -#include -#include #include #include -#include +#include #include +#include +#include namespace activemq{ namespace commands{ /* * - * Command and marshaling code for OpenWire format for SessionId - * + * Command code for OpenWire format for SessionId * * NOTE!: This file is auto generated - do not modify! * if you need to make a change, please see the Java Classes - * in the activemq-openwire-generator module + * in the activemq-cpp-openwire-generator module * */ class AMQCPP_API SessionId : public BaseDataStructure, public decaf::lang::Comparable { @@ -58,7 +58,9 @@ public: SessionId(); + SessionId( const SessionId& other ); + virtual ~SessionId(); /** @@ -113,6 +115,7 @@ virtual bool operator<( const SessionId& value ) const; SessionId& operator= ( const SessionId& other ); + }; }} Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/SessionInfo.cpp URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/SessionInfo.cpp?rev=747816&r1=747815&r2=747816&view=diff ============================================================================== --- activemq/activemq-cpp/trunk/src/main/activemq/commands/SessionInfo.cpp (original) +++ activemq/activemq-cpp/trunk/src/main/activemq/commands/SessionInfo.cpp Wed Feb 25 15:23:48 2009 @@ -14,10 +14,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -#include -#include + #include +#include #include +#include using namespace std; using namespace activemq; @@ -28,14 +29,14 @@ /* * - * Command and marshaling code for OpenWire format for SessionInfo - * + * Command code for OpenWire format for SessionInfo * * NOTE!: This file is auto generated - do not modify! * if you need to make a change, please see the Java Classes in the - * activemq-core module + * activemq-cpp-openwire-generator module * */ + //////////////////////////////////////////////////////////////////////////////// SessionInfo::SessionInfo() { @@ -43,7 +44,6 @@ //////////////////////////////////////////////////////////////////////////////// SessionInfo::~SessionInfo() { - } //////////////////////////////////////////////////////////////////////////////// @@ -129,13 +129,6 @@ } //////////////////////////////////////////////////////////////////////////////// -decaf::lang::Pointer SessionInfo::visit( activemq::state::CommandVisitor* visitor ) - throw( exceptions::ActiveMQException ) { - - return visitor->processSessionInfo( this ); -} - -//////////////////////////////////////////////////////////////////////////////// const decaf::lang::Pointer& SessionInfo::getSessionId() const { return sessionId; } @@ -150,3 +143,9 @@ this->sessionId = sessionId; } +//////////////////////////////////////////////////////////////////////////////// +decaf::lang::Pointer SessionInfo::visit( activemq::state::CommandVisitor* visitor ) + throw( exceptions::ActiveMQException ) { + + return visitor->processSessionInfo( this ); +} Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/SessionInfo.h URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/SessionInfo.h?rev=747816&r1=747815&r2=747816&view=diff ============================================================================== --- activemq/activemq-cpp/trunk/src/main/activemq/commands/SessionInfo.h (original) +++ activemq/activemq-cpp/trunk/src/main/activemq/commands/SessionInfo.h Wed Feb 25 15:23:48 2009 @@ -15,6 +15,7 @@ * limitations under the License. */ + #ifndef _ACTIVEMQ_COMMANDS_SESSIONINFO_H_ #define _ACTIVEMQ_COMMANDS_SESSIONINFO_H_ @@ -23,24 +24,23 @@ #pragma warning( disable : 4290 ) #endif +#include #include +#include #include -#include -#include #include -#include +#include namespace activemq{ namespace commands{ /* * - * Command and marshaling code for OpenWire format for SessionInfo - * + * Command code for OpenWire format for SessionInfo * * NOTE!: This file is auto generated - do not modify! * if you need to make a change, please see the Java Classes - * in the activemq-openwire-generator module + * in the activemq-cpp-openwire-generator module * */ class AMQCPP_API SessionInfo : public BaseCommand { @@ -48,6 +48,10 @@ decaf::lang::Pointer sessionId; + public: + + const static unsigned char ID_SESSIONINFO = 4; + protected: SessionInfo( const SessionInfo& other ); @@ -55,11 +59,8 @@ public: - const static unsigned char ID_SESSIONINFO = 4; - - public: - SessionInfo(); + virtual ~SessionInfo(); /** @@ -98,6 +99,10 @@ */ virtual bool equals( const DataStructure* value ) const; + virtual const decaf::lang::Pointer& getSessionId() const; + virtual decaf::lang::Pointer& getSessionId(); + virtual void setSessionId( const decaf::lang::Pointer& sessionId ); + /** * Allows a Visitor to visit this command and return a response to the * command based on the command type being visited. The command will call @@ -108,10 +113,6 @@ virtual decaf::lang::Pointer visit( activemq::state::CommandVisitor* visitor ) throw( exceptions::ActiveMQException ); - virtual const decaf::lang::Pointer& getSessionId() const; - virtual decaf::lang::Pointer& getSessionId(); - virtual void setSessionId( const decaf::lang::Pointer& sessionId ); - }; }} Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/ShutdownInfo.cpp URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/ShutdownInfo.cpp?rev=747816&r1=747815&r2=747816&view=diff ============================================================================== --- activemq/activemq-cpp/trunk/src/main/activemq/commands/ShutdownInfo.cpp (original) +++ activemq/activemq-cpp/trunk/src/main/activemq/commands/ShutdownInfo.cpp Wed Feb 25 15:23:48 2009 @@ -14,9 +14,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + +#include #include #include -#include #include using namespace std; @@ -28,14 +29,14 @@ /* * - * Command and marshaling code for OpenWire format for ShutdownInfo - * + * Command code for OpenWire format for ShutdownInfo * * NOTE!: This file is auto generated - do not modify! * if you need to make a change, please see the Java Classes in the - * activemq-core module + * activemq-cpp-openwire-generator module * */ + //////////////////////////////////////////////////////////////////////////////// ShutdownInfo::ShutdownInfo() { @@ -43,7 +44,6 @@ //////////////////////////////////////////////////////////////////////////////// ShutdownInfo::~ShutdownInfo() { - } //////////////////////////////////////////////////////////////////////////////// @@ -120,4 +120,3 @@ return visitor->processShutdownInfo( this ); } - Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/ShutdownInfo.h URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/ShutdownInfo.h?rev=747816&r1=747815&r2=747816&view=diff ============================================================================== --- activemq/activemq-cpp/trunk/src/main/activemq/commands/ShutdownInfo.h (original) +++ activemq/activemq-cpp/trunk/src/main/activemq/commands/ShutdownInfo.h Wed Feb 25 15:23:48 2009 @@ -15,6 +15,7 @@ * limitations under the License. */ + #ifndef _ACTIVEMQ_COMMANDS_SHUTDOWNINFO_H_ #define _ACTIVEMQ_COMMANDS_SHUTDOWNINFO_H_ @@ -23,29 +24,32 @@ #pragma warning( disable : 4290 ) #endif +#include #include +#include #include -#include #include -#include namespace activemq{ namespace commands{ /* * - * Command and marshaling code for OpenWire format for ShutdownInfo - * + * Command code for OpenWire format for ShutdownInfo * * NOTE!: This file is auto generated - do not modify! * if you need to make a change, please see the Java Classes - * in the activemq-openwire-generator module + * in the activemq-cpp-openwire-generator module * */ class AMQCPP_API ShutdownInfo : public BaseCommand { protected: + public: + + const static unsigned char ID_SHUTDOWNINFO = 11; + protected: ShutdownInfo( const ShutdownInfo& other ); @@ -53,11 +57,8 @@ public: - const static unsigned char ID_SHUTDOWNINFO = 11; - - public: - ShutdownInfo(); + virtual ~ShutdownInfo(); /** Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/SubscriptionInfo.cpp URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/SubscriptionInfo.cpp?rev=747816&r1=747815&r2=747816&view=diff ============================================================================== --- activemq/activemq-cpp/trunk/src/main/activemq/commands/SubscriptionInfo.cpp (original) +++ activemq/activemq-cpp/trunk/src/main/activemq/commands/SubscriptionInfo.cpp Wed Feb 25 15:23:48 2009 @@ -14,9 +14,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -#include -#include + #include +#include +#include #include using namespace std; @@ -28,14 +29,14 @@ /* * - * Command and marshaling code for OpenWire format for SubscriptionInfo - * + * Command code for OpenWire format for SubscriptionInfo * * NOTE!: This file is auto generated - do not modify! * if you need to make a change, please see the Java Classes in the - * activemq-core module + * activemq-cpp-openwire-generator module * */ + //////////////////////////////////////////////////////////////////////////////// SubscriptionInfo::SubscriptionInfo() { @@ -46,7 +47,6 @@ //////////////////////////////////////////////////////////////////////////////// SubscriptionInfo::~SubscriptionInfo() { - } //////////////////////////////////////////////////////////////////////////////// Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/SubscriptionInfo.h URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/SubscriptionInfo.h?rev=747816&r1=747815&r2=747816&view=diff ============================================================================== --- activemq/activemq-cpp/trunk/src/main/activemq/commands/SubscriptionInfo.h (original) +++ activemq/activemq-cpp/trunk/src/main/activemq/commands/SubscriptionInfo.h Wed Feb 25 15:23:48 2009 @@ -15,6 +15,7 @@ * limitations under the License. */ + #ifndef _ACTIVEMQ_COMMANDS_SUBSCRIPTIONINFO_H_ #define _ACTIVEMQ_COMMANDS_SUBSCRIPTIONINFO_H_ @@ -23,24 +24,23 @@ #pragma warning( disable : 4290 ) #endif +#include #include +#include #include -#include -#include #include -#include +#include namespace activemq{ namespace commands{ /* * - * Command and marshaling code for OpenWire format for SubscriptionInfo - * + * Command code for OpenWire format for SubscriptionInfo * * NOTE!: This file is auto generated - do not modify! * if you need to make a change, please see the Java Classes - * in the activemq-openwire-generator module + * in the activemq-cpp-openwire-generator module * */ class AMQCPP_API SubscriptionInfo : public BaseDataStructure { @@ -52,6 +52,10 @@ std::string subcriptionName; decaf::lang::Pointer subscribedDestination; + public: + + const static unsigned char ID_SUBSCRIPTIONINFO = 55; + protected: SubscriptionInfo( const SubscriptionInfo& other ); @@ -59,11 +63,8 @@ public: - const static unsigned char ID_SUBSCRIPTIONINFO = 55; - - public: - SubscriptionInfo(); + virtual ~SubscriptionInfo(); /** Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/TransactionId.cpp URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/TransactionId.cpp?rev=747816&r1=747815&r2=747816&view=diff ============================================================================== --- activemq/activemq-cpp/trunk/src/main/activemq/commands/TransactionId.cpp (original) +++ activemq/activemq-cpp/trunk/src/main/activemq/commands/TransactionId.cpp Wed Feb 25 15:23:48 2009 @@ -14,11 +14,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -#include -#include + #include -#include #include +#include +#include +#include using namespace std; using namespace activemq; @@ -29,14 +30,14 @@ /* * - * Command and marshaling code for OpenWire format for TransactionId - * + * Command code for OpenWire format for TransactionId * * NOTE!: This file is auto generated - do not modify! * if you need to make a change, please see the Java Classes in the - * activemq-core module + * activemq-cpp-openwire-generator module * */ + //////////////////////////////////////////////////////////////////////////////// TransactionId::TransactionId() { @@ -49,7 +50,6 @@ //////////////////////////////////////////////////////////////////////////////// TransactionId::~TransactionId() { - } //////////////////////////////////////////////////////////////////////////////// @@ -144,6 +144,7 @@ bool TransactionId::operator<( const TransactionId& value ) const { return this->compareTo( value ) < 0; } + //////////////////////////////////////////////////////////////////////////////// TransactionId& TransactionId::operator= ( const TransactionId& other ) { this->copyDataStructure( &other ); Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/TransactionId.h URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/TransactionId.h?rev=747816&r1=747815&r2=747816&view=diff ============================================================================== --- activemq/activemq-cpp/trunk/src/main/activemq/commands/TransactionId.h (original) +++ activemq/activemq-cpp/trunk/src/main/activemq/commands/TransactionId.h Wed Feb 25 15:23:48 2009 @@ -15,6 +15,7 @@ * limitations under the License. */ + #ifndef _ACTIVEMQ_COMMANDS_TRANSACTIONID_H_ #define _ACTIVEMQ_COMMANDS_TRANSACTIONID_H_ @@ -23,24 +24,23 @@ #pragma warning( disable : 4290 ) #endif -#include -#include #include #include -#include +#include #include +#include +#include namespace activemq{ namespace commands{ /* * - * Command and marshaling code for OpenWire format for TransactionId - * + * Command code for OpenWire format for TransactionId * * NOTE!: This file is auto generated - do not modify! * if you need to make a change, please see the Java Classes - * in the activemq-openwire-generator module + * in the activemq-cpp-openwire-generator module * */ class AMQCPP_API TransactionId : public BaseDataStructure, public decaf::lang::Comparable { @@ -56,7 +56,9 @@ public: TransactionId(); + TransactionId( const TransactionId& other ); + virtual ~TransactionId(); /** @@ -104,6 +106,7 @@ virtual bool operator<( const TransactionId& value ) const; TransactionId& operator= ( const TransactionId& other ); + }; }}