You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2008/11/24 22:31:16 UTC
svn commit: r720296 [1/2] -
/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/
Author: tabish
Date: Mon Nov 24 13:31:14 2008
New Revision: 720296
URL: http://svn.apache.org/viewvc?rev=720296&view=rev
Log:
http://issues.apache.org/activemq/browse/AMQCPP-208
Add AMQCPP_API to generated commands
Modified:
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQBlobMessage.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQBytesMessage.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQDestination.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQMapMessage.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQMessage.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQMessageBase.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQObjectMessage.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQQueue.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQStreamMessage.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQTempDestination.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQTempQueue.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQTempTopic.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQTextMessage.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQTopic.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/BaseCommand.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/BaseDataStructure.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/BooleanExpression.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/BrokerError.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/BrokerId.cpp
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/BrokerId.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/BrokerInfo.cpp
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/BrokerInfo.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConnectionControl.cpp
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConnectionControl.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConnectionError.cpp
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConnectionError.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConnectionId.cpp
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConnectionId.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConnectionInfo.cpp
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConnectionInfo.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConsumerControl.cpp
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConsumerControl.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConsumerId.cpp
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConsumerId.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConsumerInfo.cpp
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConsumerInfo.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ControlCommand.cpp
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ControlCommand.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/DataArrayResponse.cpp
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/DataArrayResponse.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/DataResponse.cpp
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/DataResponse.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/DataStructure.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/DestinationInfo.cpp
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/DestinationInfo.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/DiscoveryEvent.cpp
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/DiscoveryEvent.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ExceptionResponse.cpp
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ExceptionResponse.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/FlushCommand.cpp
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/FlushCommand.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/IntegerResponse.cpp
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/IntegerResponse.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/JournalQueueAck.cpp
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/JournalQueueAck.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/JournalTopicAck.cpp
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/JournalTopicAck.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/JournalTrace.cpp
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/JournalTrace.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/JournalTransaction.cpp
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/JournalTransaction.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/KeepAliveInfo.cpp
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/KeepAliveInfo.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/LastPartialCommand.cpp
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/LastPartialCommand.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/LocalTransactionId.cpp
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/LocalTransactionId.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/Message.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/MessageAck.cpp
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/MessageAck.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/MessageDispatch.cpp
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/MessageDispatch.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/MessageDispatchNotification.cpp
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/MessageDispatchNotification.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/MessageId.cpp
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/MessageId.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/MessagePull.cpp
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/MessagePull.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/NetworkBridgeFilter.cpp
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/NetworkBridgeFilter.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/PartialCommand.cpp
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/PartialCommand.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ProducerAck.cpp
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ProducerAck.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ProducerId.cpp
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ProducerId.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ProducerInfo.cpp
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ProducerInfo.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/RemoveInfo.cpp
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/RemoveInfo.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/RemoveSubscriptionInfo.cpp
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/RemoveSubscriptionInfo.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ReplayCommand.cpp
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ReplayCommand.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/Response.cpp
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/Response.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/SessionId.cpp
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/SessionId.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/SessionInfo.cpp
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/SessionInfo.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ShutdownInfo.cpp
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ShutdownInfo.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/SubscriptionInfo.cpp
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/SubscriptionInfo.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/TransactionId.cpp
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/TransactionId.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/TransactionInfo.cpp
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/TransactionInfo.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/WireFormatInfo.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/XATransactionId.cpp
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/XATransactionId.h
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQBlobMessage.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQBlobMessage.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQBlobMessage.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQBlobMessage.h Mon Nov 24 13:31:14 2008
@@ -23,6 +23,7 @@
#pragma warning( disable : 4290 )
#endif
+#include <activemq/util/Config.h>
#include <activemq/connector/openwire/commands/ActiveMQMessage.h>
namespace activemq {
@@ -30,8 +31,7 @@
namespace openwire {
namespace commands {
- class ActiveMQBlobMessage : public ActiveMQMessage {
-
+ class AMQCPP_API ActiveMQBlobMessage : public ActiveMQMessage {
public:
const static unsigned char ID_ACTIVEMQBLOBMESSAGE = 29;
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQBytesMessage.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQBytesMessage.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQBytesMessage.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQBytesMessage.h Mon Nov 24 13:31:14 2008
@@ -23,6 +23,7 @@
#pragma warning( disable : 4290 )
#endif
+#include <activemq/util/Config.h>
#include <activemq/connector/openwire/commands/ActiveMQMessageBase.h>
#include <decaf/io/ByteArrayInputStream.h>
#include <decaf/io/ByteArrayOutputStream.h>
@@ -37,7 +38,7 @@
namespace openwire{
namespace commands{
- class ActiveMQBytesMessage :
+ class AMQCPP_API ActiveMQBytesMessage :
public ActiveMQMessageBase< cms::BytesMessage > {
public:
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQDestination.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQDestination.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQDestination.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQDestination.h Mon Nov 24 13:31:14 2008
@@ -23,6 +23,7 @@
#pragma warning( disable : 4290 )
#endif
+#include <activemq/util/Config.h>
#include <activemq/connector/openwire/commands/BaseDataStructure.h>
#include <activemq/util/ActiveMQProperties.h>
#include <cms/Destination.h>
@@ -36,7 +37,7 @@
namespace openwire{
namespace commands{
- class ActiveMQDestination : public BaseDataStructure {
+ class AMQCPP_API ActiveMQDestination : public BaseDataStructure {
protected:
enum DESTINATION_TYPE_IDS {
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQMapMessage.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQMapMessage.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQMapMessage.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQMapMessage.h Mon Nov 24 13:31:14 2008
@@ -23,6 +23,7 @@
#pragma warning( disable : 4290 )
#endif
+#include <activemq/util/Config.h>
#include <activemq/connector/openwire/commands/ActiveMQMessageBase.h>
#include <activemq/util/PrimitiveMap.h>
#include <decaf/lang/exceptions/NullPointerException.h>
@@ -35,7 +36,7 @@
namespace openwire{
namespace commands{
- class ActiveMQMapMessage :
+ class AMQCPP_API ActiveMQMapMessage :
public ActiveMQMessageBase<cms::MapMessage> {
private:
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQMessage.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQMessage.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQMessage.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQMessage.h Mon Nov 24 13:31:14 2008
@@ -18,6 +18,7 @@
#ifndef _ACTIVEMQ_CONNECTOR_OPENWIRE_COMMANDS_ACTIVEMQMESSAGE_H_
#define _ACTIVEMQ_CONNECTOR_OPENWIRE_COMMANDS_ACTIVEMQMESSAGE_H_
+#include <activemq/util/Config.h>
#include <activemq/connector/openwire/commands/ActiveMQMessageBase.h>
namespace activemq{
@@ -25,7 +26,7 @@
namespace openwire{
namespace commands{
- class ActiveMQMessage :
+ class AMQCPP_API ActiveMQMessage :
public ActiveMQMessageBase<cms::Message> {
public:
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQMessageBase.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQMessageBase.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQMessageBase.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQMessageBase.h Mon Nov 24 13:31:14 2008
@@ -26,6 +26,7 @@
#include <decaf/util/Date.h>
#include <activemq/util/PrimitiveMap.h>
#include <cms/DeliveryMode.h>
+#include <activemq/util/Config.h>
namespace activemq{
namespace connector{
@@ -40,9 +41,9 @@
* T must be a derivation of.
*/
template< typename T>
- class ActiveMQMessageBase : public T,
- public Message,
- public core::ActiveMQMessage {
+ class AMQCPP_API ActiveMQMessageBase : public T,
+ public Message,
+ public core::ActiveMQMessage {
private:
core::ActiveMQAckHandler* ackHandler;
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQObjectMessage.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQObjectMessage.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQObjectMessage.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQObjectMessage.h Mon Nov 24 13:31:14 2008
@@ -25,13 +25,14 @@
#include <activemq/connector/openwire/commands/ActiveMQMessageBase.h>
#include <cms/ObjectMessage.h>
+#include <activemq/util/Config.h>
namespace activemq{
namespace connector{
namespace openwire{
namespace commands{
- class ActiveMQObjectMessage :
+ class AMQCPP_API ActiveMQObjectMessage :
public ActiveMQMessageBase<cms::ObjectMessage> {
public:
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQQueue.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQQueue.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQQueue.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQQueue.h Mon Nov 24 13:31:14 2008
@@ -23,6 +23,7 @@
#pragma warning( disable : 4290 )
#endif
+#include <activemq/util/Config.h>
#include <activemq/connector/openwire/commands/ActiveMQDestination.h>
#include <activemq/exceptions/ActiveMQException.h>
#include <decaf/lang/Exception.h>
@@ -35,8 +36,8 @@
namespace openwire{
namespace commands{
- class ActiveMQQueue : public ActiveMQDestination,
- public cms::Queue {
+ class AMQCPP_API ActiveMQQueue : public ActiveMQDestination,
+ public cms::Queue {
public:
const static unsigned char ID_ACTIVEMQQUEUE = 100;
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQStreamMessage.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQStreamMessage.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQStreamMessage.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQStreamMessage.h Mon Nov 24 13:31:14 2008
@@ -23,6 +23,7 @@
#pragma warning( disable : 4290 )
#endif
+#include <activemq/util/Config.h>
#include <activemq/connector/openwire/commands/ActiveMQMessage.h>
#include <string>
@@ -31,7 +32,7 @@
namespace openwire{
namespace commands{
- class ActiveMQStreamMessage : public ActiveMQMessage {
+ class AMQCPP_API ActiveMQStreamMessage : public ActiveMQMessage {
public:
const static unsigned char ID_ACTIVEMQSTREAMMESSAGE = 27;
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQTempDestination.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQTempDestination.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQTempDestination.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQTempDestination.h Mon Nov 24 13:31:14 2008
@@ -23,6 +23,7 @@
#pragma warning( disable : 4290 )
#endif
+#include <activemq/util/Config.h>
#include <activemq/connector/openwire/commands/ActiveMQDestination.h>
#include <activemq/connector/Connector.h>
#include <activemq/connector/BaseConnectorResource.h>
@@ -35,8 +36,8 @@
namespace openwire{
namespace commands{
- class ActiveMQTempDestination : public ActiveMQDestination,
- public BaseConnectorResource {
+ class AMQCPP_API ActiveMQTempDestination : public ActiveMQDestination,
+ public BaseConnectorResource {
protected:
/**
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQTempQueue.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQTempQueue.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQTempQueue.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQTempQueue.h Mon Nov 24 13:31:14 2008
@@ -23,6 +23,7 @@
#pragma warning( disable : 4290 )
#endif
+#include <activemq/util/Config.h>
#include <activemq/connector/openwire/commands/ActiveMQTempDestination.h>
#include <cms/TemporaryQueue.h>
#include <vector>
@@ -33,8 +34,8 @@
namespace openwire{
namespace commands{
- class ActiveMQTempQueue : public ActiveMQTempDestination,
- public cms::TemporaryQueue {
+ class AMQCPP_API ActiveMQTempQueue : public ActiveMQTempDestination,
+ public cms::TemporaryQueue {
public:
const static unsigned char ID_ACTIVEMQTEMPQUEUE = 102;
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQTempTopic.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQTempTopic.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQTempTopic.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQTempTopic.h Mon Nov 24 13:31:14 2008
@@ -23,6 +23,7 @@
#pragma warning( disable : 4290 )
#endif
+#include <activemq/util/Config.h>
#include <activemq/connector/openwire/commands/ActiveMQTempDestination.h>
#include <cms/TemporaryTopic.h>
#include <vector>
@@ -33,8 +34,8 @@
namespace openwire{
namespace commands{
- class ActiveMQTempTopic : public ActiveMQTempDestination,
- public cms::TemporaryTopic {
+ class AMQCPP_API ActiveMQTempTopic : public ActiveMQTempDestination,
+ public cms::TemporaryTopic {
public:
const static unsigned char ID_ACTIVEMQTEMPTOPIC = 103;
@@ -156,7 +157,7 @@
*/
virtual std::string getTopicName()
const throw( cms::CMSException ) {
-
+
try{
return this->getPhysicalName();
}
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQTextMessage.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQTextMessage.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQTextMessage.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQTextMessage.h Mon Nov 24 13:31:14 2008
@@ -23,6 +23,7 @@
#pragma warning( disable : 4290 )
#endif
+#include <activemq/util/Config.h>
#include <activemq/connector/openwire/commands/ActiveMQMessageBase.h>
#include <cms/TextMessage.h>
#include <vector>
@@ -33,7 +34,7 @@
namespace openwire{
namespace commands{
- class ActiveMQTextMessage :
+ class AMQCPP_API ActiveMQTextMessage :
public ActiveMQMessageBase<cms::TextMessage> {
public:
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQTopic.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQTopic.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQTopic.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQTopic.h Mon Nov 24 13:31:14 2008
@@ -23,6 +23,7 @@
#pragma warning( disable : 4290 )
#endif
+#include <activemq/util/Config.h>
#include <activemq/connector/openwire/commands/ActiveMQDestination.h>
#include <activemq/exceptions/ActiveMQException.h>
#include <decaf/lang/Exception.h>
@@ -35,8 +36,8 @@
namespace openwire{
namespace commands{
- class ActiveMQTopic : public ActiveMQDestination,
- public cms::Topic {
+ class AMQCPP_API ActiveMQTopic : public ActiveMQDestination,
+ public cms::Topic {
public:
const static unsigned char ID_ACTIVEMQTOPIC = 101;
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/BaseCommand.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/BaseCommand.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/BaseCommand.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/BaseCommand.h Mon Nov 24 13:31:14 2008
@@ -18,6 +18,7 @@
#ifndef _ACTIVEMQ_CONNECTOR_OPENWIRE_COMMANDS_BASECOMMAND_H_
#define _ACTIVEMQ_CONNECTOR_OPENWIRE_COMMANDS_BASECOMMAND_H_
+#include <activemq/util/Config.h>
#include <activemq/transport/Command.h>
#include <activemq/transport/Response.h>
#include <activemq/connector/openwire/commands/BaseDataStructure.h>
@@ -28,9 +29,8 @@
namespace commands{
template< typename T >
- class BaseCommand : public T,
- public BaseDataStructure
- {
+ class AMQCPP_API BaseCommand : public T,
+ public BaseDataStructure {
public:
BaseCommand() {
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/BaseDataStructure.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/BaseDataStructure.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/BaseDataStructure.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/BaseDataStructure.h Mon Nov 24 13:31:14 2008
@@ -33,16 +33,15 @@
namespace commands{
- class BaseDataStructure : public DataStructure
- {
+ class AMQCPP_API BaseDataStructure : public DataStructure {
public:
virtual ~BaseDataStructure() {}
/**
- * Determine if this object is aware of marshalling and should have
- * its before and after marshalling methods called. Defaults to false.
- * @returns true if aware of marshalling
+ * Determine if this object is aware of marshaling and should have
+ * its before and after marshaling methods called. Defaults to false.
+ * @returns true if aware of marshaling
*/
virtual bool isMarshalAware() const {
return false;
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/BooleanExpression.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/BooleanExpression.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/BooleanExpression.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/BooleanExpression.h Mon Nov 24 13:31:14 2008
@@ -26,8 +26,7 @@
namespace openwire{
namespace commands{
- class BooleanExpression : public BaseDataStructure
- {
+ class AMQCPP_API BooleanExpression : public BaseDataStructure {
public:
BooleanExpression() {}
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/BrokerError.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/BrokerError.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/BrokerError.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/BrokerError.h Mon Nov 24 13:31:14 2008
@@ -18,6 +18,7 @@
#ifndef _ACTIVEMQ_CONNECTOR_OPENWIRE_COMMANDS_BROKERERROR_H_
#define _ACTIVEMQ_CONNECTOR_OPENWIRE_COMMANDS_BROKERERROR_H_
+#include <activemq/util/Config.h>
#include <activemq/connector/openwire/commands/BaseCommand.h>
#include <decaf/lang/exceptions/NullPointerException.h>
@@ -33,7 +34,7 @@
* This class represents an Exception sent from the Broker. The Broker
* sends java Throwables, so we must mimic its structure here.
*/
- class BrokerError : public BaseCommand<transport::Command> {
+ class AMQCPP_API BrokerError : public BaseCommand<transport::Command> {
public:
struct StackTraceElement
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/BrokerId.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/BrokerId.cpp?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/BrokerId.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/BrokerId.cpp Mon Nov 24 13:31:14 2008
@@ -66,7 +66,7 @@
const BrokerId* srcPtr = dynamic_cast<const BrokerId*>( src );
if( srcPtr == NULL || src == NULL ) {
-
+
throw decaf::lang::exceptions::NullPointerException(
__FILE__, __LINE__,
"BrokerId::copyDataStructure - src is NULL or invalid" );
@@ -76,7 +76,7 @@
////////////////////////////////////////////////////////////////////////////////
unsigned char BrokerId::getDataStructureType() const {
- return BrokerId::ID_BROKERID;
+ return BrokerId::ID_BROKERID;
}
////////////////////////////////////////////////////////////////////////////////
@@ -85,7 +85,7 @@
ostringstream stream;
stream << "Begin Class = BrokerId" << std::endl;
- stream << " Value of BrokerId::ID_BROKERID = 124" << std::endl;
+ stream << " Value of BrokerId::ID_BROKERID = 124" << std::endl;
stream << " Value of Value = " << this->getValue() << std::endl;
stream << BaseDataStructure::toString();
stream << "End Class = BrokerId" << std::endl;
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/BrokerId.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/BrokerId.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/BrokerId.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/BrokerId.h Mon Nov 24 13:31:14 2008
@@ -23,6 +23,7 @@
#pragma warning( disable : 4290 )
#endif
+#include <activemq/util/Config.h>
#include <activemq/connector/openwire/commands/BaseDataStructure.h>
#include <vector>
#include <string>
@@ -42,7 +43,7 @@
* in the activemq-openwire-generator module
*
*/
- class BrokerId : public BaseDataStructure
+ class AMQCPP_API BrokerId : public BaseDataStructure
{
protected:
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/BrokerInfo.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/BrokerInfo.cpp?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/BrokerInfo.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/BrokerInfo.cpp Mon Nov 24 13:31:14 2008
@@ -80,21 +80,21 @@
const BrokerInfo* srcPtr = dynamic_cast<const BrokerInfo*>( src );
if( srcPtr == NULL || src == NULL ) {
-
+
throw decaf::lang::exceptions::NullPointerException(
__FILE__, __LINE__,
"BrokerInfo::copyDataStructure - src is NULL or invalid" );
}
if( srcPtr->getBrokerId() != NULL ) {
- this->setBrokerId(
- dynamic_cast<BrokerId*>(
+ this->setBrokerId(
+ dynamic_cast<BrokerId*>(
srcPtr->getBrokerId()->cloneDataStructure() ) );
}
this->setBrokerURL( srcPtr->getBrokerURL() );
for( size_t ipeerBrokerInfos = 0; ipeerBrokerInfos < srcPtr->getPeerBrokerInfos().size(); ++ipeerBrokerInfos ) {
if( srcPtr->getPeerBrokerInfos()[ipeerBrokerInfos] != NULL ) {
- this->getPeerBrokerInfos().push_back(
- dynamic_cast<BrokerInfo*>(
+ this->getPeerBrokerInfos().push_back(
+ dynamic_cast<BrokerInfo*>(
srcPtr->getPeerBrokerInfos()[ipeerBrokerInfos]->cloneDataStructure() ) );
} else {
this->getPeerBrokerInfos().push_back( NULL );
@@ -113,7 +113,7 @@
////////////////////////////////////////////////////////////////////////////////
unsigned char BrokerInfo::getDataStructureType() const {
- return BrokerInfo::ID_BROKERINFO;
+ return BrokerInfo::ID_BROKERINFO;
}
////////////////////////////////////////////////////////////////////////////////
@@ -122,7 +122,7 @@
ostringstream stream;
stream << "Begin Class = BrokerInfo" << std::endl;
- stream << " Value of BrokerInfo::ID_BROKERINFO = 2" << std::endl;
+ stream << " Value of BrokerInfo::ID_BROKERINFO = 2" << std::endl;
stream << " Value of BrokerId is Below:" << std::endl;
if( this->getBrokerId() != NULL ) {
stream << this->getBrokerId()->toString() << std::endl;
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/BrokerInfo.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/BrokerInfo.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/BrokerInfo.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/BrokerInfo.h Mon Nov 24 13:31:14 2008
@@ -23,6 +23,7 @@
#pragma warning( disable : 4290 )
#endif
+#include <activemq/util/Config.h>
#include <activemq/connector/openwire/commands/BaseCommand.h>
#include <activemq/connector/openwire/commands/BrokerId.h>
#include <activemq/connector/openwire/commands/BrokerInfo.h>
@@ -44,7 +45,7 @@
* in the activemq-openwire-generator module
*
*/
- class BrokerInfo : public BaseCommand<transport::Command>
+ class AMQCPP_API BrokerInfo : public BaseCommand<transport::Command>
{
protected:
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConnectionControl.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConnectionControl.cpp?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConnectionControl.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConnectionControl.cpp Mon Nov 24 13:31:14 2008
@@ -70,7 +70,7 @@
const ConnectionControl* srcPtr = dynamic_cast<const ConnectionControl*>( src );
if( srcPtr == NULL || src == NULL ) {
-
+
throw decaf::lang::exceptions::NullPointerException(
__FILE__, __LINE__,
"ConnectionControl::copyDataStructure - src is NULL or invalid" );
@@ -84,7 +84,7 @@
////////////////////////////////////////////////////////////////////////////////
unsigned char ConnectionControl::getDataStructureType() const {
- return ConnectionControl::ID_CONNECTIONCONTROL;
+ return ConnectionControl::ID_CONNECTIONCONTROL;
}
////////////////////////////////////////////////////////////////////////////////
@@ -93,7 +93,7 @@
ostringstream stream;
stream << "Begin Class = ConnectionControl" << std::endl;
- stream << " Value of ConnectionControl::ID_CONNECTIONCONTROL = 18" << std::endl;
+ stream << " Value of ConnectionControl::ID_CONNECTIONCONTROL = 18" << std::endl;
stream << " Value of Close = " << this->isClose() << std::endl;
stream << " Value of Exit = " << this->isExit() << std::endl;
stream << " Value of FaultTolerant = " << this->isFaultTolerant() << std::endl;
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConnectionControl.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConnectionControl.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConnectionControl.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConnectionControl.h Mon Nov 24 13:31:14 2008
@@ -23,6 +23,7 @@
#pragma warning( disable : 4290 )
#endif
+#include <activemq/util/Config.h>
#include <activemq/connector/openwire/commands/BaseCommand.h>
#include <vector>
#include <string>
@@ -42,7 +43,7 @@
* in the activemq-openwire-generator module
*
*/
- class ConnectionControl : public BaseCommand<transport::Command>
+ class AMQCPP_API ConnectionControl : public BaseCommand<transport::Command>
{
protected:
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConnectionError.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConnectionError.cpp?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConnectionError.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConnectionError.cpp Mon Nov 24 13:31:14 2008
@@ -69,26 +69,26 @@
const ConnectionError* srcPtr = dynamic_cast<const ConnectionError*>( src );
if( srcPtr == NULL || src == NULL ) {
-
+
throw decaf::lang::exceptions::NullPointerException(
__FILE__, __LINE__,
"ConnectionError::copyDataStructure - src is NULL or invalid" );
}
if( srcPtr->getException() != NULL ) {
- this->setException(
- dynamic_cast<BrokerError*>(
+ this->setException(
+ dynamic_cast<BrokerError*>(
srcPtr->getException()->cloneDataStructure() ) );
}
if( srcPtr->getConnectionId() != NULL ) {
- this->setConnectionId(
- dynamic_cast<ConnectionId*>(
+ this->setConnectionId(
+ dynamic_cast<ConnectionId*>(
srcPtr->getConnectionId()->cloneDataStructure() ) );
}
}
////////////////////////////////////////////////////////////////////////////////
unsigned char ConnectionError::getDataStructureType() const {
- return ConnectionError::ID_CONNECTIONERROR;
+ return ConnectionError::ID_CONNECTIONERROR;
}
////////////////////////////////////////////////////////////////////////////////
@@ -97,7 +97,7 @@
ostringstream stream;
stream << "Begin Class = ConnectionError" << std::endl;
- stream << " Value of ConnectionError::ID_CONNECTIONERROR = 16" << std::endl;
+ stream << " Value of ConnectionError::ID_CONNECTIONERROR = 16" << std::endl;
stream << " Value of Exception is Below:" << std::endl;
if( this->getException() != NULL ) {
stream << this->getException()->toString() << std::endl;
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConnectionError.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConnectionError.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConnectionError.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConnectionError.h Mon Nov 24 13:31:14 2008
@@ -23,6 +23,7 @@
#pragma warning( disable : 4290 )
#endif
+#include <activemq/util/Config.h>
#include <activemq/connector/openwire/commands/BaseCommand.h>
#include <activemq/connector/openwire/commands/BrokerError.h>
#include <activemq/connector/openwire/commands/ConnectionId.h>
@@ -44,7 +45,7 @@
* in the activemq-openwire-generator module
*
*/
- class ConnectionError : public BaseCommand<transport::Command>
+ class AMQCPP_API ConnectionError : public BaseCommand<transport::Command>
{
protected:
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConnectionId.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConnectionId.cpp?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConnectionId.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConnectionId.cpp Mon Nov 24 13:31:14 2008
@@ -66,7 +66,7 @@
const ConnectionId* srcPtr = dynamic_cast<const ConnectionId*>( src );
if( srcPtr == NULL || src == NULL ) {
-
+
throw decaf::lang::exceptions::NullPointerException(
__FILE__, __LINE__,
"ConnectionId::copyDataStructure - src is NULL or invalid" );
@@ -76,7 +76,7 @@
////////////////////////////////////////////////////////////////////////////////
unsigned char ConnectionId::getDataStructureType() const {
- return ConnectionId::ID_CONNECTIONID;
+ return ConnectionId::ID_CONNECTIONID;
}
////////////////////////////////////////////////////////////////////////////////
@@ -85,7 +85,7 @@
ostringstream stream;
stream << "Begin Class = ConnectionId" << std::endl;
- stream << " Value of ConnectionId::ID_CONNECTIONID = 120" << std::endl;
+ stream << " Value of ConnectionId::ID_CONNECTIONID = 120" << std::endl;
stream << " Value of Value = " << this->getValue() << std::endl;
stream << BaseDataStructure::toString();
stream << "End Class = ConnectionId" << std::endl;
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConnectionId.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConnectionId.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConnectionId.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConnectionId.h Mon Nov 24 13:31:14 2008
@@ -23,6 +23,7 @@
#pragma warning( disable : 4290 )
#endif
+#include <activemq/util/Config.h>
#include <activemq/connector/openwire/commands/BaseDataStructure.h>
#include <vector>
#include <string>
@@ -42,7 +43,7 @@
* in the activemq-openwire-generator module
*
*/
- class ConnectionId : public BaseDataStructure
+ class AMQCPP_API ConnectionId : public BaseDataStructure
{
protected:
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConnectionInfo.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConnectionInfo.cpp?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConnectionInfo.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConnectionInfo.cpp Mon Nov 24 13:31:14 2008
@@ -76,14 +76,14 @@
const ConnectionInfo* srcPtr = dynamic_cast<const ConnectionInfo*>( src );
if( srcPtr == NULL || src == NULL ) {
-
+
throw decaf::lang::exceptions::NullPointerException(
__FILE__, __LINE__,
"ConnectionInfo::copyDataStructure - src is NULL or invalid" );
}
if( srcPtr->getConnectionId() != NULL ) {
- this->setConnectionId(
- dynamic_cast<ConnectionId*>(
+ this->setConnectionId(
+ dynamic_cast<ConnectionId*>(
srcPtr->getConnectionId()->cloneDataStructure() ) );
}
this->setClientId( srcPtr->getClientId() );
@@ -91,8 +91,8 @@
this->setUserName( srcPtr->getUserName() );
for( size_t ibrokerPath = 0; ibrokerPath < srcPtr->getBrokerPath().size(); ++ibrokerPath ) {
if( srcPtr->getBrokerPath()[ibrokerPath] != NULL ) {
- this->getBrokerPath().push_back(
- dynamic_cast<BrokerId*>(
+ this->getBrokerPath().push_back(
+ dynamic_cast<BrokerId*>(
srcPtr->getBrokerPath()[ibrokerPath]->cloneDataStructure() ) );
} else {
this->getBrokerPath().push_back( NULL );
@@ -105,7 +105,7 @@
////////////////////////////////////////////////////////////////////////////////
unsigned char ConnectionInfo::getDataStructureType() const {
- return ConnectionInfo::ID_CONNECTIONINFO;
+ return ConnectionInfo::ID_CONNECTIONINFO;
}
////////////////////////////////////////////////////////////////////////////////
@@ -114,7 +114,7 @@
ostringstream stream;
stream << "Begin Class = ConnectionInfo" << std::endl;
- stream << " Value of ConnectionInfo::ID_CONNECTIONINFO = 3" << std::endl;
+ stream << " Value of ConnectionInfo::ID_CONNECTIONINFO = 3" << std::endl;
stream << " Value of ConnectionId is Below:" << std::endl;
if( this->getConnectionId() != NULL ) {
stream << this->getConnectionId()->toString() << std::endl;
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConnectionInfo.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConnectionInfo.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConnectionInfo.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConnectionInfo.h Mon Nov 24 13:31:14 2008
@@ -23,6 +23,7 @@
#pragma warning( disable : 4290 )
#endif
+#include <activemq/util/Config.h>
#include <activemq/connector/openwire/commands/BaseCommand.h>
#include <activemq/connector/openwire/commands/ConnectionId.h>
#include <activemq/connector/openwire/commands/BrokerId.h>
@@ -44,7 +45,7 @@
* in the activemq-openwire-generator module
*
*/
- class ConnectionInfo : public BaseCommand<transport::Command>
+ class AMQCPP_API ConnectionInfo : public BaseCommand<transport::Command>
{
protected:
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConsumerControl.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConsumerControl.cpp?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConsumerControl.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConsumerControl.cpp Mon Nov 24 13:31:14 2008
@@ -72,15 +72,15 @@
const ConsumerControl* srcPtr = dynamic_cast<const ConsumerControl*>( src );
if( srcPtr == NULL || src == NULL ) {
-
+
throw decaf::lang::exceptions::NullPointerException(
__FILE__, __LINE__,
"ConsumerControl::copyDataStructure - src is NULL or invalid" );
}
this->setClose( srcPtr->isClose() );
if( srcPtr->getConsumerId() != NULL ) {
- this->setConsumerId(
- dynamic_cast<ConsumerId*>(
+ this->setConsumerId(
+ dynamic_cast<ConsumerId*>(
srcPtr->getConsumerId()->cloneDataStructure() ) );
}
this->setPrefetch( srcPtr->getPrefetch() );
@@ -91,7 +91,7 @@
////////////////////////////////////////////////////////////////////////////////
unsigned char ConsumerControl::getDataStructureType() const {
- return ConsumerControl::ID_CONSUMERCONTROL;
+ return ConsumerControl::ID_CONSUMERCONTROL;
}
////////////////////////////////////////////////////////////////////////////////
@@ -100,7 +100,7 @@
ostringstream stream;
stream << "Begin Class = ConsumerControl" << std::endl;
- stream << " Value of ConsumerControl::ID_CONSUMERCONTROL = 17" << std::endl;
+ stream << " Value of ConsumerControl::ID_CONSUMERCONTROL = 17" << std::endl;
stream << " Value of Close = " << this->isClose() << std::endl;
stream << " Value of ConsumerId is Below:" << std::endl;
if( this->getConsumerId() != NULL ) {
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConsumerControl.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConsumerControl.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConsumerControl.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConsumerControl.h Mon Nov 24 13:31:14 2008
@@ -23,6 +23,7 @@
#pragma warning( disable : 4290 )
#endif
+#include <activemq/util/Config.h>
#include <activemq/connector/openwire/commands/BaseCommand.h>
#include <activemq/connector/openwire/commands/ConsumerId.h>
#include <vector>
@@ -43,7 +44,7 @@
* in the activemq-openwire-generator module
*
*/
- class ConsumerControl : public BaseCommand<transport::Command>
+ class AMQCPP_API ConsumerControl : public BaseCommand<transport::Command>
{
protected:
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConsumerId.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConsumerId.cpp?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConsumerId.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConsumerId.cpp Mon Nov 24 13:31:14 2008
@@ -68,7 +68,7 @@
const ConsumerId* srcPtr = dynamic_cast<const ConsumerId*>( src );
if( srcPtr == NULL || src == NULL ) {
-
+
throw decaf::lang::exceptions::NullPointerException(
__FILE__, __LINE__,
"ConsumerId::copyDataStructure - src is NULL or invalid" );
@@ -80,7 +80,7 @@
////////////////////////////////////////////////////////////////////////////////
unsigned char ConsumerId::getDataStructureType() const {
- return ConsumerId::ID_CONSUMERID;
+ return ConsumerId::ID_CONSUMERID;
}
////////////////////////////////////////////////////////////////////////////////
@@ -89,7 +89,7 @@
ostringstream stream;
stream << "Begin Class = ConsumerId" << std::endl;
- stream << " Value of ConsumerId::ID_CONSUMERID = 122" << std::endl;
+ stream << " Value of ConsumerId::ID_CONSUMERID = 122" << std::endl;
stream << " Value of ConnectionId = " << this->getConnectionId() << std::endl;
stream << " Value of SessionId = " << this->getSessionId() << std::endl;
stream << " Value of Value = " << this->getValue() << std::endl;
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConsumerId.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConsumerId.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConsumerId.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConsumerId.h Mon Nov 24 13:31:14 2008
@@ -23,6 +23,7 @@
#pragma warning( disable : 4290 )
#endif
+#include <activemq/util/Config.h>
#include <activemq/connector/openwire/commands/BaseDataStructure.h>
#include <vector>
#include <string>
@@ -42,7 +43,7 @@
* in the activemq-openwire-generator module
*
*/
- class ConsumerId : public BaseDataStructure
+ class AMQCPP_API ConsumerId : public BaseDataStructure
{
protected:
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConsumerInfo.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConsumerInfo.cpp?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConsumerInfo.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConsumerInfo.cpp Mon Nov 24 13:31:14 2008
@@ -87,20 +87,20 @@
const ConsumerInfo* srcPtr = dynamic_cast<const ConsumerInfo*>( src );
if( srcPtr == NULL || src == NULL ) {
-
+
throw decaf::lang::exceptions::NullPointerException(
__FILE__, __LINE__,
"ConsumerInfo::copyDataStructure - src is NULL or invalid" );
}
if( srcPtr->getConsumerId() != NULL ) {
- this->setConsumerId(
- dynamic_cast<ConsumerId*>(
+ this->setConsumerId(
+ dynamic_cast<ConsumerId*>(
srcPtr->getConsumerId()->cloneDataStructure() ) );
}
this->setBrowser( srcPtr->isBrowser() );
if( srcPtr->getDestination() != NULL ) {
- this->setDestination(
- dynamic_cast<ActiveMQDestination*>(
+ this->setDestination(
+ dynamic_cast<ActiveMQDestination*>(
srcPtr->getDestination()->cloneDataStructure() ) );
}
this->setPrefetchSize( srcPtr->getPrefetchSize() );
@@ -114,16 +114,16 @@
this->setPriority( srcPtr->getPriority() );
for( size_t ibrokerPath = 0; ibrokerPath < srcPtr->getBrokerPath().size(); ++ibrokerPath ) {
if( srcPtr->getBrokerPath()[ibrokerPath] != NULL ) {
- this->getBrokerPath().push_back(
- dynamic_cast<BrokerId*>(
+ this->getBrokerPath().push_back(
+ dynamic_cast<BrokerId*>(
srcPtr->getBrokerPath()[ibrokerPath]->cloneDataStructure() ) );
} else {
this->getBrokerPath().push_back( NULL );
}
}
if( srcPtr->getAdditionalPredicate() != NULL ) {
- this->setAdditionalPredicate(
- dynamic_cast<BooleanExpression*>(
+ this->setAdditionalPredicate(
+ dynamic_cast<BooleanExpression*>(
srcPtr->getAdditionalPredicate()->cloneDataStructure() ) );
}
this->setNetworkSubscription( srcPtr->isNetworkSubscription() );
@@ -133,7 +133,7 @@
////////////////////////////////////////////////////////////////////////////////
unsigned char ConsumerInfo::getDataStructureType() const {
- return ConsumerInfo::ID_CONSUMERINFO;
+ return ConsumerInfo::ID_CONSUMERINFO;
}
////////////////////////////////////////////////////////////////////////////////
@@ -142,7 +142,7 @@
ostringstream stream;
stream << "Begin Class = ConsumerInfo" << std::endl;
- stream << " Value of ConsumerInfo::ID_CONSUMERINFO = 5" << std::endl;
+ stream << " Value of ConsumerInfo::ID_CONSUMERINFO = 5" << std::endl;
stream << " Value of ConsumerId is Below:" << std::endl;
if( this->getConsumerId() != NULL ) {
stream << this->getConsumerId()->toString() << std::endl;
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConsumerInfo.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConsumerInfo.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConsumerInfo.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ConsumerInfo.h Mon Nov 24 13:31:14 2008
@@ -23,6 +23,7 @@
#pragma warning( disable : 4290 )
#endif
+#include <activemq/util/Config.h>
#include <activemq/connector/openwire/commands/BaseCommand.h>
#include <activemq/connector/openwire/commands/ConsumerId.h>
#include <activemq/connector/openwire/commands/ActiveMQDestination.h>
@@ -46,7 +47,7 @@
* in the activemq-openwire-generator module
*
*/
- class ConsumerInfo : public BaseCommand<transport::Command>
+ class AMQCPP_API ConsumerInfo : public BaseCommand<transport::Command>
{
protected:
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ControlCommand.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ControlCommand.cpp?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ControlCommand.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ControlCommand.cpp Mon Nov 24 13:31:14 2008
@@ -66,7 +66,7 @@
const ControlCommand* srcPtr = dynamic_cast<const ControlCommand*>( src );
if( srcPtr == NULL || src == NULL ) {
-
+
throw decaf::lang::exceptions::NullPointerException(
__FILE__, __LINE__,
"ControlCommand::copyDataStructure - src is NULL or invalid" );
@@ -76,7 +76,7 @@
////////////////////////////////////////////////////////////////////////////////
unsigned char ControlCommand::getDataStructureType() const {
- return ControlCommand::ID_CONTROLCOMMAND;
+ return ControlCommand::ID_CONTROLCOMMAND;
}
////////////////////////////////////////////////////////////////////////////////
@@ -85,7 +85,7 @@
ostringstream stream;
stream << "Begin Class = ControlCommand" << std::endl;
- stream << " Value of ControlCommand::ID_CONTROLCOMMAND = 14" << std::endl;
+ stream << " Value of ControlCommand::ID_CONTROLCOMMAND = 14" << std::endl;
stream << " Value of Command = " << this->getCommand() << std::endl;
stream << BaseCommand<transport::Command>::toString();
stream << "End Class = ControlCommand" << std::endl;
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ControlCommand.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ControlCommand.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ControlCommand.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ControlCommand.h Mon Nov 24 13:31:14 2008
@@ -23,6 +23,7 @@
#pragma warning( disable : 4290 )
#endif
+#include <activemq/util/Config.h>
#include <activemq/connector/openwire/commands/BaseCommand.h>
#include <vector>
#include <string>
@@ -42,7 +43,7 @@
* in the activemq-openwire-generator module
*
*/
- class ControlCommand : public BaseCommand<transport::Command>
+ class AMQCPP_API ControlCommand : public BaseCommand<transport::Command>
{
protected:
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/DataArrayResponse.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/DataArrayResponse.cpp?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/DataArrayResponse.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/DataArrayResponse.cpp Mon Nov 24 13:31:14 2008
@@ -68,15 +68,15 @@
const DataArrayResponse* srcPtr = dynamic_cast<const DataArrayResponse*>( src );
if( srcPtr == NULL || src == NULL ) {
-
+
throw decaf::lang::exceptions::NullPointerException(
__FILE__, __LINE__,
"DataArrayResponse::copyDataStructure - src is NULL or invalid" );
}
for( size_t idata = 0; idata < srcPtr->getData().size(); ++idata ) {
if( srcPtr->getData()[idata] != NULL ) {
- this->getData().push_back(
- dynamic_cast<DataStructure*>(
+ this->getData().push_back(
+ dynamic_cast<DataStructure*>(
srcPtr->getData()[idata]->cloneDataStructure() ) );
} else {
this->getData().push_back( NULL );
@@ -86,7 +86,7 @@
////////////////////////////////////////////////////////////////////////////////
unsigned char DataArrayResponse::getDataStructureType() const {
- return DataArrayResponse::ID_DATAARRAYRESPONSE;
+ return DataArrayResponse::ID_DATAARRAYRESPONSE;
}
////////////////////////////////////////////////////////////////////////////////
@@ -95,7 +95,7 @@
ostringstream stream;
stream << "Begin Class = DataArrayResponse" << std::endl;
- stream << " Value of DataArrayResponse::ID_DATAARRAYRESPONSE = 33" << std::endl;
+ stream << " Value of DataArrayResponse::ID_DATAARRAYRESPONSE = 33" << std::endl;
for( size_t idata = 0; idata < this->getData().size(); ++idata ) {
stream << " Value of Data[" << idata << "] is Below:" << std::endl;
if( this->getData()[idata] != NULL ) {
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/DataArrayResponse.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/DataArrayResponse.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/DataArrayResponse.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/DataArrayResponse.h Mon Nov 24 13:31:14 2008
@@ -23,6 +23,7 @@
#pragma warning( disable : 4290 )
#endif
+#include <activemq/util/Config.h>
#include <activemq/connector/openwire/commands/Response.h>
#include <activemq/connector/openwire/commands/DataStructure.h>
#include <vector>
@@ -43,7 +44,7 @@
* in the activemq-openwire-generator module
*
*/
- class DataArrayResponse : public Response
+ class AMQCPP_API DataArrayResponse : public Response
{
protected:
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/DataResponse.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/DataResponse.cpp?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/DataResponse.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/DataResponse.cpp Mon Nov 24 13:31:14 2008
@@ -67,21 +67,21 @@
const DataResponse* srcPtr = dynamic_cast<const DataResponse*>( src );
if( srcPtr == NULL || src == NULL ) {
-
+
throw decaf::lang::exceptions::NullPointerException(
__FILE__, __LINE__,
"DataResponse::copyDataStructure - src is NULL or invalid" );
}
if( srcPtr->getData() != NULL ) {
- this->setData(
- dynamic_cast<DataStructure*>(
+ this->setData(
+ dynamic_cast<DataStructure*>(
srcPtr->getData()->cloneDataStructure() ) );
}
}
////////////////////////////////////////////////////////////////////////////////
unsigned char DataResponse::getDataStructureType() const {
- return DataResponse::ID_DATARESPONSE;
+ return DataResponse::ID_DATARESPONSE;
}
////////////////////////////////////////////////////////////////////////////////
@@ -90,7 +90,7 @@
ostringstream stream;
stream << "Begin Class = DataResponse" << std::endl;
- stream << " Value of DataResponse::ID_DATARESPONSE = 32" << std::endl;
+ stream << " Value of DataResponse::ID_DATARESPONSE = 32" << std::endl;
stream << " Value of Data is Below:" << std::endl;
if( this->getData() != NULL ) {
stream << this->getData()->toString() << std::endl;
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/DataResponse.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/DataResponse.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/DataResponse.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/DataResponse.h Mon Nov 24 13:31:14 2008
@@ -23,6 +23,7 @@
#pragma warning( disable : 4290 )
#endif
+#include <activemq/util/Config.h>
#include <activemq/connector/openwire/commands/Response.h>
#include <activemq/connector/openwire/commands/DataStructure.h>
#include <vector>
@@ -43,7 +44,7 @@
* in the activemq-openwire-generator module
*
*/
- class DataResponse : public Response
+ class AMQCPP_API DataResponse : public Response
{
protected:
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/DataStructure.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/DataStructure.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/DataStructure.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/DataStructure.h Mon Nov 24 13:31:14 2008
@@ -18,6 +18,7 @@
#ifndef _ACTIVEMQ_CONNECTOR_OPENWIRE_COMMANDS_DATASTRUCTURE_H_
#define _ACTIVEMQ_CONNECTOR_OPENWIRE_COMMANDS_DATASTRUCTURE_H_
+#include <activemq/util/Config.h>
#include <activemq/connector/openwire/marshal/MarshalAware.h>
namespace activemq{
@@ -25,7 +26,7 @@
namespace openwire{
namespace commands{
- class DataStructure : public marshal::MarshalAware
+ class AMQCPP_API DataStructure : public marshal::MarshalAware
{
public:
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/DestinationInfo.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/DestinationInfo.cpp?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/DestinationInfo.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/DestinationInfo.cpp Mon Nov 24 13:31:14 2008
@@ -74,27 +74,27 @@
const DestinationInfo* srcPtr = dynamic_cast<const DestinationInfo*>( src );
if( srcPtr == NULL || src == NULL ) {
-
+
throw decaf::lang::exceptions::NullPointerException(
__FILE__, __LINE__,
"DestinationInfo::copyDataStructure - src is NULL or invalid" );
}
if( srcPtr->getConnectionId() != NULL ) {
- this->setConnectionId(
- dynamic_cast<ConnectionId*>(
+ this->setConnectionId(
+ dynamic_cast<ConnectionId*>(
srcPtr->getConnectionId()->cloneDataStructure() ) );
}
if( srcPtr->getDestination() != NULL ) {
- this->setDestination(
- dynamic_cast<ActiveMQDestination*>(
+ this->setDestination(
+ dynamic_cast<ActiveMQDestination*>(
srcPtr->getDestination()->cloneDataStructure() ) );
}
this->setOperationType( srcPtr->getOperationType() );
this->setTimeout( srcPtr->getTimeout() );
for( size_t ibrokerPath = 0; ibrokerPath < srcPtr->getBrokerPath().size(); ++ibrokerPath ) {
if( srcPtr->getBrokerPath()[ibrokerPath] != NULL ) {
- this->getBrokerPath().push_back(
- dynamic_cast<BrokerId*>(
+ this->getBrokerPath().push_back(
+ dynamic_cast<BrokerId*>(
srcPtr->getBrokerPath()[ibrokerPath]->cloneDataStructure() ) );
} else {
this->getBrokerPath().push_back( NULL );
@@ -104,7 +104,7 @@
////////////////////////////////////////////////////////////////////////////////
unsigned char DestinationInfo::getDataStructureType() const {
- return DestinationInfo::ID_DESTINATIONINFO;
+ return DestinationInfo::ID_DESTINATIONINFO;
}
////////////////////////////////////////////////////////////////////////////////
@@ -113,7 +113,7 @@
ostringstream stream;
stream << "Begin Class = DestinationInfo" << std::endl;
- stream << " Value of DestinationInfo::ID_DESTINATIONINFO = 8" << std::endl;
+ stream << " Value of DestinationInfo::ID_DESTINATIONINFO = 8" << std::endl;
stream << " Value of ConnectionId is Below:" << std::endl;
if( this->getConnectionId() != NULL ) {
stream << this->getConnectionId()->toString() << std::endl;
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/DestinationInfo.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/DestinationInfo.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/DestinationInfo.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/DestinationInfo.h Mon Nov 24 13:31:14 2008
@@ -23,6 +23,7 @@
#pragma warning( disable : 4290 )
#endif
+#include <activemq/util/Config.h>
#include <activemq/connector/openwire/commands/BaseCommand.h>
#include <activemq/connector/openwire/commands/ConnectionId.h>
#include <activemq/connector/openwire/commands/ActiveMQDestination.h>
@@ -45,7 +46,7 @@
* in the activemq-openwire-generator module
*
*/
- class DestinationInfo : public BaseCommand<transport::Command>
+ class AMQCPP_API DestinationInfo : public BaseCommand<transport::Command>
{
protected:
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/DiscoveryEvent.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/DiscoveryEvent.cpp?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/DiscoveryEvent.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/DiscoveryEvent.cpp Mon Nov 24 13:31:14 2008
@@ -67,7 +67,7 @@
const DiscoveryEvent* srcPtr = dynamic_cast<const DiscoveryEvent*>( src );
if( srcPtr == NULL || src == NULL ) {
-
+
throw decaf::lang::exceptions::NullPointerException(
__FILE__, __LINE__,
"DiscoveryEvent::copyDataStructure - src is NULL or invalid" );
@@ -78,7 +78,7 @@
////////////////////////////////////////////////////////////////////////////////
unsigned char DiscoveryEvent::getDataStructureType() const {
- return DiscoveryEvent::ID_DISCOVERYEVENT;
+ return DiscoveryEvent::ID_DISCOVERYEVENT;
}
////////////////////////////////////////////////////////////////////////////////
@@ -87,7 +87,7 @@
ostringstream stream;
stream << "Begin Class = DiscoveryEvent" << std::endl;
- stream << " Value of DiscoveryEvent::ID_DISCOVERYEVENT = 40" << std::endl;
+ stream << " Value of DiscoveryEvent::ID_DISCOVERYEVENT = 40" << std::endl;
stream << " Value of ServiceName = " << this->getServiceName() << std::endl;
stream << " Value of BrokerName = " << this->getBrokerName() << std::endl;
stream << BaseDataStructure::toString();
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/DiscoveryEvent.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/DiscoveryEvent.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/DiscoveryEvent.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/DiscoveryEvent.h Mon Nov 24 13:31:14 2008
@@ -23,6 +23,7 @@
#pragma warning( disable : 4290 )
#endif
+#include <activemq/util/Config.h>
#include <activemq/connector/openwire/commands/BaseDataStructure.h>
#include <vector>
#include <string>
@@ -42,7 +43,7 @@
* in the activemq-openwire-generator module
*
*/
- class DiscoveryEvent : public BaseDataStructure
+ class AMQCPP_API DiscoveryEvent : public BaseDataStructure
{
protected:
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ExceptionResponse.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ExceptionResponse.cpp?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ExceptionResponse.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ExceptionResponse.cpp Mon Nov 24 13:31:14 2008
@@ -67,21 +67,21 @@
const ExceptionResponse* srcPtr = dynamic_cast<const ExceptionResponse*>( src );
if( srcPtr == NULL || src == NULL ) {
-
+
throw decaf::lang::exceptions::NullPointerException(
__FILE__, __LINE__,
"ExceptionResponse::copyDataStructure - src is NULL or invalid" );
}
if( srcPtr->getException() != NULL ) {
- this->setException(
- dynamic_cast<BrokerError*>(
+ this->setException(
+ dynamic_cast<BrokerError*>(
srcPtr->getException()->cloneDataStructure() ) );
}
}
////////////////////////////////////////////////////////////////////////////////
unsigned char ExceptionResponse::getDataStructureType() const {
- return ExceptionResponse::ID_EXCEPTIONRESPONSE;
+ return ExceptionResponse::ID_EXCEPTIONRESPONSE;
}
////////////////////////////////////////////////////////////////////////////////
@@ -90,7 +90,7 @@
ostringstream stream;
stream << "Begin Class = ExceptionResponse" << std::endl;
- stream << " Value of ExceptionResponse::ID_EXCEPTIONRESPONSE = 31" << std::endl;
+ stream << " Value of ExceptionResponse::ID_EXCEPTIONRESPONSE = 31" << std::endl;
stream << " Value of Exception is Below:" << std::endl;
if( this->getException() != NULL ) {
stream << this->getException()->toString() << std::endl;
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ExceptionResponse.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ExceptionResponse.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ExceptionResponse.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ExceptionResponse.h Mon Nov 24 13:31:14 2008
@@ -23,6 +23,7 @@
#pragma warning( disable : 4290 )
#endif
+#include <activemq/util/Config.h>
#include <activemq/connector/openwire/commands/Response.h>
#include <activemq/connector/openwire/commands/BrokerError.h>
#include <vector>
@@ -43,7 +44,7 @@
* in the activemq-openwire-generator module
*
*/
- class ExceptionResponse : public Response
+ class AMQCPP_API ExceptionResponse : public Response
{
protected:
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/FlushCommand.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/FlushCommand.cpp?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/FlushCommand.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/FlushCommand.cpp Mon Nov 24 13:31:14 2008
@@ -65,7 +65,7 @@
const FlushCommand* srcPtr = dynamic_cast<const FlushCommand*>( src );
if( srcPtr == NULL || src == NULL ) {
-
+
throw decaf::lang::exceptions::NullPointerException(
__FILE__, __LINE__,
"FlushCommand::copyDataStructure - src is NULL or invalid" );
@@ -74,7 +74,7 @@
////////////////////////////////////////////////////////////////////////////////
unsigned char FlushCommand::getDataStructureType() const {
- return FlushCommand::ID_FLUSHCOMMAND;
+ return FlushCommand::ID_FLUSHCOMMAND;
}
////////////////////////////////////////////////////////////////////////////////
@@ -83,7 +83,7 @@
ostringstream stream;
stream << "Begin Class = FlushCommand" << std::endl;
- stream << " Value of FlushCommand::ID_FLUSHCOMMAND = 15" << std::endl;
+ stream << " Value of FlushCommand::ID_FLUSHCOMMAND = 15" << std::endl;
stream << BaseCommand<transport::Command>::toString();
stream << "End Class = FlushCommand" << std::endl;
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/FlushCommand.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/FlushCommand.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/FlushCommand.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/FlushCommand.h Mon Nov 24 13:31:14 2008
@@ -23,6 +23,7 @@
#pragma warning( disable : 4290 )
#endif
+#include <activemq/util/Config.h>
#include <activemq/connector/openwire/commands/BaseCommand.h>
#include <vector>
#include <string>
@@ -42,7 +43,7 @@
* in the activemq-openwire-generator module
*
*/
- class FlushCommand : public BaseCommand<transport::Command>
+ class AMQCPP_API FlushCommand : public BaseCommand<transport::Command>
{
protected:
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/IntegerResponse.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/IntegerResponse.cpp?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/IntegerResponse.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/IntegerResponse.cpp Mon Nov 24 13:31:14 2008
@@ -66,7 +66,7 @@
const IntegerResponse* srcPtr = dynamic_cast<const IntegerResponse*>( src );
if( srcPtr == NULL || src == NULL ) {
-
+
throw decaf::lang::exceptions::NullPointerException(
__FILE__, __LINE__,
"IntegerResponse::copyDataStructure - src is NULL or invalid" );
@@ -76,7 +76,7 @@
////////////////////////////////////////////////////////////////////////////////
unsigned char IntegerResponse::getDataStructureType() const {
- return IntegerResponse::ID_INTEGERRESPONSE;
+ return IntegerResponse::ID_INTEGERRESPONSE;
}
////////////////////////////////////////////////////////////////////////////////
@@ -85,7 +85,7 @@
ostringstream stream;
stream << "Begin Class = IntegerResponse" << std::endl;
- stream << " Value of IntegerResponse::ID_INTEGERRESPONSE = 34" << std::endl;
+ stream << " Value of IntegerResponse::ID_INTEGERRESPONSE = 34" << std::endl;
stream << " Value of Result = " << this->getResult() << std::endl;
stream << Response::toString();
stream << "End Class = IntegerResponse" << std::endl;
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/IntegerResponse.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/IntegerResponse.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/IntegerResponse.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/IntegerResponse.h Mon Nov 24 13:31:14 2008
@@ -23,6 +23,7 @@
#pragma warning( disable : 4290 )
#endif
+#include <activemq/util/Config.h>
#include <activemq/connector/openwire/commands/Response.h>
#include <vector>
#include <string>
@@ -42,7 +43,7 @@
* in the activemq-openwire-generator module
*
*/
- class IntegerResponse : public Response
+ class AMQCPP_API IntegerResponse : public Response
{
protected:
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/JournalQueueAck.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/JournalQueueAck.cpp?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/JournalQueueAck.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/JournalQueueAck.cpp Mon Nov 24 13:31:14 2008
@@ -69,26 +69,26 @@
const JournalQueueAck* srcPtr = dynamic_cast<const JournalQueueAck*>( src );
if( srcPtr == NULL || src == NULL ) {
-
+
throw decaf::lang::exceptions::NullPointerException(
__FILE__, __LINE__,
"JournalQueueAck::copyDataStructure - src is NULL or invalid" );
}
if( srcPtr->getDestination() != NULL ) {
- this->setDestination(
- dynamic_cast<ActiveMQDestination*>(
+ this->setDestination(
+ dynamic_cast<ActiveMQDestination*>(
srcPtr->getDestination()->cloneDataStructure() ) );
}
if( srcPtr->getMessageAck() != NULL ) {
- this->setMessageAck(
- dynamic_cast<MessageAck*>(
+ this->setMessageAck(
+ dynamic_cast<MessageAck*>(
srcPtr->getMessageAck()->cloneDataStructure() ) );
}
}
////////////////////////////////////////////////////////////////////////////////
unsigned char JournalQueueAck::getDataStructureType() const {
- return JournalQueueAck::ID_JOURNALQUEUEACK;
+ return JournalQueueAck::ID_JOURNALQUEUEACK;
}
////////////////////////////////////////////////////////////////////////////////
@@ -97,7 +97,7 @@
ostringstream stream;
stream << "Begin Class = JournalQueueAck" << std::endl;
- stream << " Value of JournalQueueAck::ID_JOURNALQUEUEACK = 52" << std::endl;
+ stream << " Value of JournalQueueAck::ID_JOURNALQUEUEACK = 52" << std::endl;
stream << " Value of Destination is Below:" << std::endl;
if( this->getDestination() != NULL ) {
stream << this->getDestination()->toString() << std::endl;
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/JournalQueueAck.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/JournalQueueAck.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/JournalQueueAck.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/JournalQueueAck.h Mon Nov 24 13:31:14 2008
@@ -23,6 +23,7 @@
#pragma warning( disable : 4290 )
#endif
+#include <activemq/util/Config.h>
#include <activemq/connector/openwire/commands/BaseDataStructure.h>
#include <activemq/connector/openwire/commands/ActiveMQDestination.h>
#include <activemq/connector/openwire/commands/MessageAck.h>
@@ -44,7 +45,7 @@
* in the activemq-openwire-generator module
*
*/
- class JournalQueueAck : public BaseDataStructure
+ class AMQCPP_API JournalQueueAck : public BaseDataStructure
{
protected: