[prev in list] [next in list] [prev in thread] [next in thread]
List: activemq-commits
Subject: svn commit: r747816 [4/5] - in /activemq/activemq-cpp/trunk:
From: tabish () apache ! org
Date: 2009-02-25 15:23:51
Message-ID: 20090225152356.0DA762388B67 () eris ! apache ! org
[Download RAW message or body]
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 <activemq/exceptions/ActiveMQException.h>
#include <activemq/commands/MessageDispatch.h>
#include <activemq/state/CommandVisitor.h>
-#include <activemq/exceptions/ActiveMQException.h>
#include <decaf/lang/exceptions/NullPointerException.h>
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<commands::Command> MessageDispatch::visit( \
activemq::state::CommandVisitor* visitor )
- throw( exceptions::ActiveMQException ) {
-
- return visitor->processMessageDispatch( this );
-}
-
-////////////////////////////////////////////////////////////////////////////////
const decaf::lang::Pointer<ConsumerId>& MessageDispatch::getConsumerId() const {
return consumerId;
}
@@ -224,3 +217,9 @@
this->redeliveryCounter = redeliveryCounter;
}
+////////////////////////////////////////////////////////////////////////////////
+decaf::lang::Pointer<commands::Command> 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 <decaf/lang/Pointer.h>
#include <activemq/util/Config.h>
+#include <string>
#include <activemq/commands/BaseCommand.h>
-#include <decaf/lang/Pointer.h>
-#include <activemq/commands/ConsumerId.h>
-#include <activemq/commands/Message.h>
-#include <activemq/commands/ActiveMQDestination.h>
#include <vector>
-#include <string>
+#include <activemq/commands/ActiveMQDestination.h>
+#include <activemq/commands/Message.h>
+#include <activemq/commands/ConsumerId.h>
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> 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<ConsumerId>& getConsumerId() const;
+ virtual decaf::lang::Pointer<ConsumerId>& getConsumerId();
+ virtual void setConsumerId( const decaf::lang::Pointer<ConsumerId>& \
consumerId ); +
+ virtual const decaf::lang::Pointer<ActiveMQDestination>& getDestination() \
const; + virtual decaf::lang::Pointer<ActiveMQDestination>& getDestination();
+ virtual void setDestination( const \
decaf::lang::Pointer<ActiveMQDestination>& destination ); +
+ virtual const decaf::lang::Pointer<Message>& getMessage() const;
+ virtual decaf::lang::Pointer<Message>& getMessage();
+ virtual void setMessage( const decaf::lang::Pointer<Message>& 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<commands::Command> visit( \
activemq::state::CommandVisitor* visitor ) throw( exceptions::ActiveMQException );
- virtual const decaf::lang::Pointer<ConsumerId>& getConsumerId() const;
- virtual decaf::lang::Pointer<ConsumerId>& getConsumerId();
- virtual void setConsumerId( const decaf::lang::Pointer<ConsumerId>& \
consumerId );
-
- virtual const decaf::lang::Pointer<ActiveMQDestination>& getDestination() \
const;
- virtual decaf::lang::Pointer<ActiveMQDestination>& getDestination();
- virtual void setDestination( const \
decaf::lang::Pointer<ActiveMQDestination>& destination );
-
- virtual const decaf::lang::Pointer<Message>& getMessage() const;
- virtual decaf::lang::Pointer<Message>& getMessage();
- virtual void setMessage( const decaf::lang::Pointer<Message>& 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 <activemq/exceptions/ActiveMQException.h>
#include <activemq/commands/MessageDispatchNotification.h>
#include <activemq/state/CommandVisitor.h>
-#include <activemq/exceptions/ActiveMQException.h>
#include <decaf/lang/exceptions/NullPointerException.h>
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<commands::Command> MessageDispatchNotification::visit( \
activemq::state::CommandVisitor* visitor )
- throw( exceptions::ActiveMQException ) {
-
- return visitor->processMessageDispatchNotification( this );
-}
-
-////////////////////////////////////////////////////////////////////////////////
const decaf::lang::Pointer<ConsumerId>& MessageDispatchNotification::getConsumerId() \
const { return consumerId;
}
@@ -224,3 +217,9 @@
this->messageId = messageId;
}
+////////////////////////////////////////////////////////////////////////////////
+decaf::lang::Pointer<commands::Command> 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 <activemq/commands/MessageId.h>
+#include <decaf/lang/Pointer.h>
#include <activemq/util/Config.h>
+#include <string>
#include <activemq/commands/BaseCommand.h>
-#include <decaf/lang/Pointer.h>
-#include <activemq/commands/MessageId.h>
-#include <activemq/commands/ConsumerId.h>
-#include <activemq/commands/ActiveMQDestination.h>
#include <vector>
-#include <string>
+#include <activemq/commands/ActiveMQDestination.h>
+#include <activemq/commands/ConsumerId.h>
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> 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<ConsumerId>& getConsumerId() const;
+ virtual decaf::lang::Pointer<ConsumerId>& getConsumerId();
+ virtual void setConsumerId( const decaf::lang::Pointer<ConsumerId>& \
consumerId ); +
+ virtual const decaf::lang::Pointer<ActiveMQDestination>& getDestination() \
const; + virtual decaf::lang::Pointer<ActiveMQDestination>& getDestination();
+ virtual void setDestination( const \
decaf::lang::Pointer<ActiveMQDestination>& destination ); +
+ virtual long long getDeliverySequenceId() const;
+ virtual void setDeliverySequenceId( long long deliverySequenceId );
+
+ virtual const decaf::lang::Pointer<MessageId>& getMessageId() const;
+ virtual decaf::lang::Pointer<MessageId>& getMessageId();
+ virtual void setMessageId( const decaf::lang::Pointer<MessageId>& messageId \
); +
/**
* @return an answer of true to the isMessageDispatchNotification() query.
*/
@@ -120,21 +136,6 @@
virtual decaf::lang::Pointer<commands::Command> visit( \
activemq::state::CommandVisitor* visitor ) throw( exceptions::ActiveMQException );
- virtual const decaf::lang::Pointer<ConsumerId>& getConsumerId() const;
- virtual decaf::lang::Pointer<ConsumerId>& getConsumerId();
- virtual void setConsumerId( const decaf::lang::Pointer<ConsumerId>& \
consumerId );
-
- virtual const decaf::lang::Pointer<ActiveMQDestination>& getDestination() \
const;
- virtual decaf::lang::Pointer<ActiveMQDestination>& getDestination();
- virtual void setDestination( const \
decaf::lang::Pointer<ActiveMQDestination>& destination );
-
- virtual long long getDeliverySequenceId() const;
- virtual void setDeliverySequenceId( long long deliverySequenceId );
-
- virtual const decaf::lang::Pointer<MessageId>& getMessageId() const;
- virtual decaf::lang::Pointer<MessageId>& getMessageId();
- virtual void setMessageId( const decaf::lang::Pointer<MessageId>& 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 <activemq/exceptions/ActiveMQException.h>
#include <activemq/commands/MessageId.h>
+#include <apr_strings.h>
#include <activemq/state/CommandVisitor.h>
-#include <activemq/exceptions/ActiveMQException.h>
#include <decaf/lang/exceptions/NullPointerException.h>
-#include <apr_strings.h>
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 <activemq/util/Config.h>
-#include <activemq/commands/BaseDataStructure.h>
#include <decaf/lang/Pointer.h>
#include <decaf/lang/Comparable.h>
-#include <activemq/commands/ProducerId.h>
-#include <vector>
+#include <activemq/util/Config.h>
#include <string>
+#include <activemq/commands/BaseDataStructure.h>
+#include <vector>
+#include <activemq/commands/ProducerId.h>
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<MessageId> { @@ -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 <activemq/commands/MessagePull.h>
-#include <activemq/state/CommandVisitor.h>
+
#include <activemq/exceptions/ActiveMQException.h>
+#include <activemq/state/CommandVisitor.h>
+#include <activemq/commands/MessagePull.h>
#include <decaf/lang/exceptions/NullPointerException.h>
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<commands::Command> MessagePull::visit( \
activemq::state::CommandVisitor* visitor )
- throw( exceptions::ActiveMQException ) {
-
- return visitor->processMessagePull( this );
-}
-
-////////////////////////////////////////////////////////////////////////////////
const decaf::lang::Pointer<ConsumerId>& MessagePull::getConsumerId() const {
return consumerId;
}
@@ -245,3 +238,9 @@
this->messageId = messageId;
}
+////////////////////////////////////////////////////////////////////////////////
+decaf::lang::Pointer<commands::Command> 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 <activemq/commands/MessageId.h>
+#include <decaf/lang/Pointer.h>
#include <activemq/util/Config.h>
+#include <string>
#include <activemq/commands/BaseCommand.h>
-#include <decaf/lang/Pointer.h>
-#include <activemq/commands/MessageId.h>
-#include <activemq/commands/ConsumerId.h>
-#include <activemq/commands/ActiveMQDestination.h>
#include <vector>
-#include <string>
+#include <activemq/commands/ActiveMQDestination.h>
+#include <activemq/commands/ConsumerId.h>
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> 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<commands::Command> visit( \
activemq::state::CommandVisitor* visitor )
- throw( exceptions::ActiveMQException );
-
virtual const decaf::lang::Pointer<ConsumerId>& getConsumerId() const;
virtual decaf::lang::Pointer<ConsumerId>& getConsumerId();
virtual void setConsumerId( const decaf::lang::Pointer<ConsumerId>& \
consumerId ); @@ -133,6 +124,16 @@
virtual decaf::lang::Pointer<MessageId>& getMessageId();
virtual void setMessageId( const decaf::lang::Pointer<MessageId>& 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<commands::Command> 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 <activemq/exceptions/ActiveMQException.h>
#include <activemq/commands/NetworkBridgeFilter.h>
#include <activemq/state/CommandVisitor.h>
-#include <activemq/exceptions/ActiveMQException.h>
#include <decaf/lang/exceptions/NullPointerException.h>
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 <activemq/commands/BrokerId.h>
+#include <decaf/lang/Pointer.h>
#include <activemq/util/Config.h>
+#include <string>
#include <activemq/commands/BaseDataStructure.h>
-#include <decaf/lang/Pointer.h>
-#include <activemq/commands/BrokerId.h>
#include <vector>
-#include <string>
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<BrokerId> 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 <activemq/commands/PartialCommand.h>
-#include <activemq/state/CommandVisitor.h>
+
#include <activemq/exceptions/ActiveMQException.h>
+#include <activemq/state/CommandVisitor.h>
#include <decaf/lang/exceptions/NullPointerException.h>
+#include <activemq/commands/PartialCommand.h>
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 <decaf/lang/Pointer.h>
#include <activemq/util/Config.h>
+#include <string>
#include <activemq/commands/BaseDataStructure.h>
-#include <decaf/lang/Pointer.h>
#include <vector>
-#include <string>
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<unsigned char> 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 <activemq/exceptions/ActiveMQException.h>
#include <activemq/commands/ProducerAck.h>
#include <activemq/state/CommandVisitor.h>
-#include <activemq/exceptions/ActiveMQException.h>
#include <decaf/lang/exceptions/NullPointerException.h>
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<commands::Command> ProducerAck::visit( \
activemq::state::CommandVisitor* visitor )
- throw( exceptions::ActiveMQException ) {
-
- return visitor->processProducerAck( this );
-}
-
-////////////////////////////////////////////////////////////////////////////////
const decaf::lang::Pointer<ProducerId>& ProducerAck::getProducerId() const {
return producerId;
}
@@ -166,3 +159,9 @@
this->size = size;
}
+////////////////////////////////////////////////////////////////////////////////
+decaf::lang::Pointer<commands::Command> 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 <decaf/lang/Pointer.h>
#include <activemq/util/Config.h>
+#include <string>
#include <activemq/commands/BaseCommand.h>
-#include <decaf/lang/Pointer.h>
-#include <activemq/commands/ProducerId.h>
#include <vector>
-#include <string>
+#include <activemq/commands/ProducerId.h>
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> 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<ProducerId>& getProducerId() const;
+ virtual decaf::lang::Pointer<ProducerId>& getProducerId();
+ virtual void setProducerId( const decaf::lang::Pointer<ProducerId>& \
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<commands::Command> visit( \
activemq::state::CommandVisitor* visitor ) throw( exceptions::ActiveMQException );
- virtual const decaf::lang::Pointer<ProducerId>& getProducerId() const;
- virtual decaf::lang::Pointer<ProducerId>& getProducerId();
- virtual void setProducerId( const decaf::lang::Pointer<ProducerId>& \
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 <activemq/commands/ProducerId.h>
-#include <activemq/state/CommandVisitor.h>
+
#include <activemq/exceptions/ActiveMQException.h>
-#include <decaf/lang/exceptions/NullPointerException.h>
#include <apr_strings.h>
+#include <activemq/state/CommandVisitor.h>
+#include <decaf/lang/exceptions/NullPointerException.h>
+#include <activemq/commands/ProducerId.h>
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 <activemq/util/Config.h>
-#include <activemq/commands/BaseDataStructure.h>
#include <decaf/lang/Pointer.h>
#include <decaf/lang/Comparable.h>
-#include <vector>
+#include <activemq/util/Config.h>
#include <string>
+#include <activemq/commands/BaseDataStructure.h>
+#include <vector>
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<ProducerId> { @@ -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 <activemq/exceptions/ActiveMQException.h>
#include <activemq/commands/ProducerInfo.h>
#include <activemq/state/CommandVisitor.h>
-#include <activemq/exceptions/ActiveMQException.h>
#include <decaf/lang/exceptions/NullPointerException.h>
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<commands::Command> ProducerInfo::visit( \
activemq::state::CommandVisitor* visitor )
- throw( exceptions::ActiveMQException ) {
-
- return visitor->processProducerInfo( this );
-}
-
-////////////////////////////////////////////////////////////////////////////////
const decaf::lang::Pointer<ProducerId>& ProducerInfo::getProducerId() const {
return producerId;
}
@@ -244,3 +237,9 @@
this->windowSize = windowSize;
}
+////////////////////////////////////////////////////////////////////////////////
+decaf::lang::Pointer<commands::Command> 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 <activemq/commands/BrokerId.h>
+#include <decaf/lang/Pointer.h>
#include <activemq/util/Config.h>
+#include <string>
#include <activemq/commands/BaseCommand.h>
-#include <decaf/lang/Pointer.h>
-#include <activemq/commands/BrokerId.h>
-#include <activemq/commands/ProducerId.h>
-#include <activemq/commands/ActiveMQDestination.h>
#include <vector>
-#include <string>
+#include <activemq/commands/ActiveMQDestination.h>
+#include <activemq/commands/ProducerId.h>
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<commands::Command> visit( \
activemq::state::CommandVisitor* visitor )
- throw( exceptions::ActiveMQException );
-
virtual const decaf::lang::Pointer<ProducerId>& getProducerId() const;
virtual decaf::lang::Pointer<ProducerId>& getProducerId();
virtual void setProducerId( const decaf::lang::Pointer<ProducerId>& \
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<commands::Command> 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 <activemq/exceptions/ActiveMQException.h>
#include <activemq/commands/RemoveInfo.h>
#include <activemq/state/CommandVisitor.h>
-#include <activemq/exceptions/ActiveMQException.h>
#include <decaf/lang/exceptions/NullPointerException.h>
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<commands::Command> RemoveInfo::visit( \
activemq::state::CommandVisitor* visitor )
- throw( exceptions::ActiveMQException ) {
-
- return visitor->processRemoveInfo( this );
-}
-
-////////////////////////////////////////////////////////////////////////////////
const decaf::lang::Pointer<DataStructure>& RemoveInfo::getObjectId() const {
return objectId;
}
@@ -150,3 +143,9 @@
this->objectId = objectId;
}
+////////////////////////////////////////////////////////////////////////////////
+decaf::lang::Pointer<commands::Command> 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 <activemq/commands/DataStructure.h>
+#include <decaf/lang/Pointer.h>
#include <activemq/util/Config.h>
+#include <string>
#include <activemq/commands/BaseCommand.h>
-#include <decaf/lang/Pointer.h>
-#include <activemq/commands/DataStructure.h>
#include <vector>
-#include <string>
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<DataStructure> 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<DataStructure>& getObjectId() const;
+ virtual decaf::lang::Pointer<DataStructure>& getObjectId();
+ virtual void setObjectId( const decaf::lang::Pointer<DataStructure>& \
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<commands::Command> visit( \
activemq::state::CommandVisitor* visitor ) throw( exceptions::ActiveMQException );
- virtual const decaf::lang::Pointer<DataStructure>& getObjectId() const;
- virtual decaf::lang::Pointer<DataStructure>& getObjectId();
- virtual void setObjectId( const decaf::lang::Pointer<DataStructure>& \
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 <activemq/exceptions/ActiveMQException.h>
#include <activemq/commands/RemoveSubscriptionInfo.h>
#include <activemq/state/CommandVisitor.h>
-#include <activemq/exceptions/ActiveMQException.h>
#include <decaf/lang/exceptions/NullPointerException.h>
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<commands::Command> RemoveSubscriptionInfo::visit( \
activemq::state::CommandVisitor* visitor )
- throw( exceptions::ActiveMQException ) {
-
- return visitor->processRemoveSubscriptionInfo( this );
-}
-
-////////////////////////////////////////////////////////////////////////////////
const decaf::lang::Pointer<ConnectionId>& RemoveSubscriptionInfo::getConnectionId() \
const { return connectionId;
}
@@ -192,3 +185,9 @@
this->clientId = clientId;
}
+////////////////////////////////////////////////////////////////////////////////
+decaf::lang::Pointer<commands::Command> 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 <activemq/util/Config.h>
-#include <activemq/commands/BaseCommand.h>
#include <decaf/lang/Pointer.h>
#include <activemq/commands/ConnectionId.h>
-#include <vector>
+#include <activemq/util/Config.h>
#include <string>
+#include <activemq/commands/BaseCommand.h>
+#include <vector>
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<commands::Command> visit( \
activemq::state::CommandVisitor* visitor )
- throw( exceptions::ActiveMQException );
-
virtual const decaf::lang::Pointer<ConnectionId>& getConnectionId() const;
virtual decaf::lang::Pointer<ConnectionId>& getConnectionId();
virtual void setConnectionId( const decaf::lang::Pointer<ConnectionId>& \
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<commands::Command> 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 <activemq/exceptions/ActiveMQException.h>
#include <activemq/commands/ReplayCommand.h>
#include <activemq/state/CommandVisitor.h>
-#include <activemq/exceptions/ActiveMQException.h>
#include <decaf/lang/exceptions/NullPointerException.h>
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<commands::Command> 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<commands::Command> 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 <decaf/lang/Pointer.h>
#include <activemq/util/Config.h>
+#include <string>
#include <activemq/commands/BaseCommand.h>
-#include <decaf/lang/Pointer.h>
#include <vector>
-#include <string>
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<commands::Command> 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 <activemq/exceptions/ActiveMQException.h>
#include <activemq/commands/Response.h>
#include <activemq/state/CommandVisitor.h>
-#include <activemq/exceptions/ActiveMQException.h>
#include <decaf/lang/exceptions/NullPointerException.h>
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<commands::Command> 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<commands::Command> 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 <decaf/lang/Pointer.h>
#include <activemq/util/Config.h>
+#include <string>
#include <activemq/commands/BaseCommand.h>
-#include <decaf/lang/Pointer.h>
#include <vector>
-#include <string>
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<commands::Command> 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 <activemq/commands/SessionId.h>
-#include <activemq/state/CommandVisitor.h>
+
#include <activemq/exceptions/ActiveMQException.h>
-#include <decaf/lang/exceptions/NullPointerException.h>
#include <apr_strings.h>
+#include <activemq/state/CommandVisitor.h>
+#include <decaf/lang/exceptions/NullPointerException.h>
+#include <activemq/commands/SessionId.h>
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 <activemq/util/Config.h>
-#include <activemq/commands/BaseDataStructure.h>
#include <decaf/lang/Pointer.h>
#include <decaf/lang/Comparable.h>
-#include <vector>
+#include <activemq/util/Config.h>
#include <string>
+#include <activemq/commands/BaseDataStructure.h>
+#include <vector>
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<SessionId> { @@ -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 <activemq/commands/SessionInfo.h>
-#include <activemq/state/CommandVisitor.h>
+
#include <activemq/exceptions/ActiveMQException.h>
+#include <activemq/state/CommandVisitor.h>
#include <decaf/lang/exceptions/NullPointerException.h>
+#include <activemq/commands/SessionInfo.h>
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<commands::Command> SessionInfo::visit( \
activemq::state::CommandVisitor* visitor )
- throw( exceptions::ActiveMQException ) {
-
- return visitor->processSessionInfo( this );
-}
-
-////////////////////////////////////////////////////////////////////////////////
const decaf::lang::Pointer<SessionId>& SessionInfo::getSessionId() const {
return sessionId;
}
@@ -150,3 +143,9 @@
this->sessionId = sessionId;
}
+////////////////////////////////////////////////////////////////////////////////
+decaf::lang::Pointer<commands::Command> 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 <decaf/lang/Pointer.h>
#include <activemq/util/Config.h>
+#include <string>
#include <activemq/commands/BaseCommand.h>
-#include <decaf/lang/Pointer.h>
-#include <activemq/commands/SessionId.h>
#include <vector>
-#include <string>
+#include <activemq/commands/SessionId.h>
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> 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<SessionId>& getSessionId() const;
+ virtual decaf::lang::Pointer<SessionId>& getSessionId();
+ virtual void setSessionId( const decaf::lang::Pointer<SessionId>& 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<commands::Command> visit( \
activemq::state::CommandVisitor* visitor ) throw( exceptions::ActiveMQException );
- virtual const decaf::lang::Pointer<SessionId>& getSessionId() const;
- virtual decaf::lang::Pointer<SessionId>& getSessionId();
- virtual void setSessionId( const decaf::lang::Pointer<SessionId>& 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 <activemq/exceptions/ActiveMQException.h>
#include <activemq/commands/ShutdownInfo.h>
#include <activemq/state/CommandVisitor.h>
-#include <activemq/exceptions/ActiveMQException.h>
#include <decaf/lang/exceptions/NullPointerException.h>
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 <decaf/lang/Pointer.h>
#include <activemq/util/Config.h>
+#include <string>
#include <activemq/commands/BaseCommand.h>
-#include <decaf/lang/Pointer.h>
#include <vector>
-#include <string>
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 <activemq/commands/SubscriptionInfo.h>
-#include <activemq/state/CommandVisitor.h>
+
#include <activemq/exceptions/ActiveMQException.h>
+#include <activemq/state/CommandVisitor.h>
+#include <activemq/commands/SubscriptionInfo.h>
#include <decaf/lang/exceptions/NullPointerException.h>
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 <decaf/lang/Pointer.h>
#include <activemq/util/Config.h>
+#include <string>
#include <activemq/commands/BaseDataStructure.h>
-#include <decaf/lang/Pointer.h>
-#include <activemq/commands/ActiveMQDestination.h>
#include <vector>
-#include <string>
+#include <activemq/commands/ActiveMQDestination.h>
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<ActiveMQDestination> 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 <activemq/commands/TransactionId.h>
-#include <activemq/state/CommandVisitor.h>
+
#include <activemq/exceptions/ActiveMQException.h>
-#include <decaf/lang/exceptions/NullPointerException.h>
#include <apr_strings.h>
+#include <activemq/state/CommandVisitor.h>
+#include <decaf/lang/exceptions/NullPointerException.h>
+#include <activemq/commands/TransactionId.h>
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 <activemq/util/Config.h>
-#include <activemq/commands/BaseDataStructure.h>
#include <decaf/lang/Pointer.h>
#include <decaf/lang/Comparable.h>
-#include <vector>
+#include <activemq/util/Config.h>
#include <string>
+#include <activemq/commands/BaseDataStructure.h>
+#include <vector>
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<TransactionId> { @@ -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 );
+
};
}}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic