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 [2/2] -
/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/JournalTopicAck.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/JournalTopicAck.cpp?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/JournalTopicAck.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/JournalTopicAck.cpp Mon Nov 24 13:31:14 2008
@@ -74,34 +74,34 @@
const JournalTopicAck* srcPtr = dynamic_cast<const JournalTopicAck*>( src );
if( srcPtr == NULL || src == NULL ) {
-
+
throw decaf::lang::exceptions::NullPointerException(
__FILE__, __LINE__,
"JournalTopicAck::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->getMessageId() != NULL ) {
- this->setMessageId(
- dynamic_cast<MessageId*>(
+ this->setMessageId(
+ dynamic_cast<MessageId*>(
srcPtr->getMessageId()->cloneDataStructure() ) );
}
this->setMessageSequenceId( srcPtr->getMessageSequenceId() );
this->setSubscritionName( srcPtr->getSubscritionName() );
this->setClientId( srcPtr->getClientId() );
if( srcPtr->getTransactionId() != NULL ) {
- this->setTransactionId(
- dynamic_cast<TransactionId*>(
+ this->setTransactionId(
+ dynamic_cast<TransactionId*>(
srcPtr->getTransactionId()->cloneDataStructure() ) );
}
}
////////////////////////////////////////////////////////////////////////////////
unsigned char JournalTopicAck::getDataStructureType() const {
- return JournalTopicAck::ID_JOURNALTOPICACK;
+ return JournalTopicAck::ID_JOURNALTOPICACK;
}
////////////////////////////////////////////////////////////////////////////////
@@ -110,7 +110,7 @@
ostringstream stream;
stream << "Begin Class = JournalTopicAck" << std::endl;
- stream << " Value of JournalTopicAck::ID_JOURNALTOPICACK = 50" << std::endl;
+ stream << " Value of JournalTopicAck::ID_JOURNALTOPICACK = 50" << 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/JournalTopicAck.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/JournalTopicAck.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/JournalTopicAck.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/JournalTopicAck.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/MessageId.h>
@@ -45,7 +46,7 @@
* in the activemq-openwire-generator module
*
*/
- class JournalTopicAck : public BaseDataStructure
+ class AMQCPP_API JournalTopicAck : public BaseDataStructure
{
protected:
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/JournalTrace.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/JournalTrace.cpp?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/JournalTrace.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/JournalTrace.cpp Mon Nov 24 13:31:14 2008
@@ -66,7 +66,7 @@
const JournalTrace* srcPtr = dynamic_cast<const JournalTrace*>( src );
if( srcPtr == NULL || src == NULL ) {
-
+
throw decaf::lang::exceptions::NullPointerException(
__FILE__, __LINE__,
"JournalTrace::copyDataStructure - src is NULL or invalid" );
@@ -76,7 +76,7 @@
////////////////////////////////////////////////////////////////////////////////
unsigned char JournalTrace::getDataStructureType() const {
- return JournalTrace::ID_JOURNALTRACE;
+ return JournalTrace::ID_JOURNALTRACE;
}
////////////////////////////////////////////////////////////////////////////////
@@ -85,7 +85,7 @@
ostringstream stream;
stream << "Begin Class = JournalTrace" << std::endl;
- stream << " Value of JournalTrace::ID_JOURNALTRACE = 53" << std::endl;
+ stream << " Value of JournalTrace::ID_JOURNALTRACE = 53" << std::endl;
stream << " Value of Message = " << this->getMessage() << std::endl;
stream << BaseDataStructure::toString();
stream << "End Class = JournalTrace" << std::endl;
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/JournalTrace.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/JournalTrace.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/JournalTrace.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/JournalTrace.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 JournalTrace : public BaseDataStructure
+ class AMQCPP_API JournalTrace : public BaseDataStructure
{
protected:
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/JournalTransaction.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/JournalTransaction.cpp?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/JournalTransaction.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/JournalTransaction.cpp Mon Nov 24 13:31:14 2008
@@ -69,14 +69,14 @@
const JournalTransaction* srcPtr = dynamic_cast<const JournalTransaction*>( src );
if( srcPtr == NULL || src == NULL ) {
-
+
throw decaf::lang::exceptions::NullPointerException(
__FILE__, __LINE__,
"JournalTransaction::copyDataStructure - src is NULL or invalid" );
}
if( srcPtr->getTransactionId() != NULL ) {
- this->setTransactionId(
- dynamic_cast<TransactionId*>(
+ this->setTransactionId(
+ dynamic_cast<TransactionId*>(
srcPtr->getTransactionId()->cloneDataStructure() ) );
}
this->setType( srcPtr->getType() );
@@ -85,7 +85,7 @@
////////////////////////////////////////////////////////////////////////////////
unsigned char JournalTransaction::getDataStructureType() const {
- return JournalTransaction::ID_JOURNALTRANSACTION;
+ return JournalTransaction::ID_JOURNALTRANSACTION;
}
////////////////////////////////////////////////////////////////////////////////
@@ -94,7 +94,7 @@
ostringstream stream;
stream << "Begin Class = JournalTransaction" << std::endl;
- stream << " Value of JournalTransaction::ID_JOURNALTRANSACTION = 54" << std::endl;
+ stream << " Value of JournalTransaction::ID_JOURNALTRANSACTION = 54" << std::endl;
stream << " Value of TransactionId is Below:" << std::endl;
if( this->getTransactionId() != NULL ) {
stream << this->getTransactionId()->toString() << std::endl;
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/JournalTransaction.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/JournalTransaction.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/JournalTransaction.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/JournalTransaction.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/TransactionId.h>
#include <vector>
@@ -43,7 +44,7 @@
* in the activemq-openwire-generator module
*
*/
- class JournalTransaction : public BaseDataStructure
+ class AMQCPP_API JournalTransaction : public BaseDataStructure
{
protected:
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/KeepAliveInfo.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/KeepAliveInfo.cpp?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/KeepAliveInfo.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/KeepAliveInfo.cpp Mon Nov 24 13:31:14 2008
@@ -65,7 +65,7 @@
const KeepAliveInfo* srcPtr = dynamic_cast<const KeepAliveInfo*>( src );
if( srcPtr == NULL || src == NULL ) {
-
+
throw decaf::lang::exceptions::NullPointerException(
__FILE__, __LINE__,
"KeepAliveInfo::copyDataStructure - src is NULL or invalid" );
@@ -74,7 +74,7 @@
////////////////////////////////////////////////////////////////////////////////
unsigned char KeepAliveInfo::getDataStructureType() const {
- return KeepAliveInfo::ID_KEEPALIVEINFO;
+ return KeepAliveInfo::ID_KEEPALIVEINFO;
}
////////////////////////////////////////////////////////////////////////////////
@@ -83,7 +83,7 @@
ostringstream stream;
stream << "Begin Class = KeepAliveInfo" << std::endl;
- stream << " Value of KeepAliveInfo::ID_KEEPALIVEINFO = 10" << std::endl;
+ stream << " Value of KeepAliveInfo::ID_KEEPALIVEINFO = 10" << std::endl;
stream << BaseCommand<transport::Command>::toString();
stream << "End Class = KeepAliveInfo" << std::endl;
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/KeepAliveInfo.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/KeepAliveInfo.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/KeepAliveInfo.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/KeepAliveInfo.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 KeepAliveInfo : public BaseCommand<transport::Command>
+ class AMQCPP_API KeepAliveInfo : public BaseCommand<transport::Command>
{
protected:
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/LastPartialCommand.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/LastPartialCommand.cpp?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/LastPartialCommand.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/LastPartialCommand.cpp Mon Nov 24 13:31:14 2008
@@ -65,7 +65,7 @@
const LastPartialCommand* srcPtr = dynamic_cast<const LastPartialCommand*>( src );
if( srcPtr == NULL || src == NULL ) {
-
+
throw decaf::lang::exceptions::NullPointerException(
__FILE__, __LINE__,
"LastPartialCommand::copyDataStructure - src is NULL or invalid" );
@@ -74,7 +74,7 @@
////////////////////////////////////////////////////////////////////////////////
unsigned char LastPartialCommand::getDataStructureType() const {
- return LastPartialCommand::ID_LASTPARTIALCOMMAND;
+ return LastPartialCommand::ID_LASTPARTIALCOMMAND;
}
////////////////////////////////////////////////////////////////////////////////
@@ -83,7 +83,7 @@
ostringstream stream;
stream << "Begin Class = LastPartialCommand" << std::endl;
- stream << " Value of LastPartialCommand::ID_LASTPARTIALCOMMAND = 61" << std::endl;
+ stream << " Value of LastPartialCommand::ID_LASTPARTIALCOMMAND = 61" << std::endl;
stream << PartialCommand::toString();
stream << "End Class = LastPartialCommand" << std::endl;
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/LastPartialCommand.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/LastPartialCommand.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/LastPartialCommand.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/LastPartialCommand.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/PartialCommand.h>
#include <vector>
#include <string>
@@ -42,7 +43,7 @@
* in the activemq-openwire-generator module
*
*/
- class LastPartialCommand : public PartialCommand
+ class AMQCPP_API LastPartialCommand : public PartialCommand
{
protected:
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/LocalTransactionId.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/LocalTransactionId.cpp?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/LocalTransactionId.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/LocalTransactionId.cpp Mon Nov 24 13:31:14 2008
@@ -68,22 +68,22 @@
const LocalTransactionId* srcPtr = dynamic_cast<const LocalTransactionId*>( src );
if( srcPtr == NULL || src == NULL ) {
-
+
throw decaf::lang::exceptions::NullPointerException(
__FILE__, __LINE__,
"LocalTransactionId::copyDataStructure - src is NULL or invalid" );
}
this->setValue( srcPtr->getValue() );
if( srcPtr->getConnectionId() != NULL ) {
- this->setConnectionId(
- dynamic_cast<ConnectionId*>(
+ this->setConnectionId(
+ dynamic_cast<ConnectionId*>(
srcPtr->getConnectionId()->cloneDataStructure() ) );
}
}
////////////////////////////////////////////////////////////////////////////////
unsigned char LocalTransactionId::getDataStructureType() const {
- return LocalTransactionId::ID_LOCALTRANSACTIONID;
+ return LocalTransactionId::ID_LOCALTRANSACTIONID;
}
////////////////////////////////////////////////////////////////////////////////
@@ -92,7 +92,7 @@
ostringstream stream;
stream << "Begin Class = LocalTransactionId" << std::endl;
- stream << " Value of LocalTransactionId::ID_LOCALTRANSACTIONID = 111" << std::endl;
+ stream << " Value of LocalTransactionId::ID_LOCALTRANSACTIONID = 111" << std::endl;
stream << " Value of Value = " << this->getValue() << std::endl;
stream << " Value of ConnectionId is Below:" << std::endl;
if( this->getConnectionId() != NULL ) {
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/LocalTransactionId.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/LocalTransactionId.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/LocalTransactionId.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/LocalTransactionId.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/TransactionId.h>
#include <activemq/connector/openwire/commands/ConnectionId.h>
#include <vector>
@@ -43,7 +44,7 @@
* in the activemq-openwire-generator module
*
*/
- class LocalTransactionId : public TransactionId
+ class AMQCPP_API LocalTransactionId : public TransactionId
{
protected:
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/Message.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/Message.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/Message.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/Message.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/ProducerId.h>
#include <activemq/connector/openwire/commands/ActiveMQDestination.h>
@@ -53,7 +54,7 @@
* in the activemq-openwire-generator module
*
*/
- class Message : public BaseCommand<transport::Command>
+ class AMQCPP_API Message : public BaseCommand<transport::Command>
{
protected:
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/MessageAck.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/MessageAck.cpp?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/MessageAck.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/MessageAck.cpp Mon Nov 24 13:31:14 2008
@@ -77,35 +77,35 @@
const MessageAck* srcPtr = dynamic_cast<const MessageAck*>( src );
if( srcPtr == NULL || src == NULL ) {
-
+
throw decaf::lang::exceptions::NullPointerException(
__FILE__, __LINE__,
"MessageAck::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->getTransactionId() != NULL ) {
- this->setTransactionId(
- dynamic_cast<TransactionId*>(
+ this->setTransactionId(
+ dynamic_cast<TransactionId*>(
srcPtr->getTransactionId()->cloneDataStructure() ) );
}
if( srcPtr->getConsumerId() != NULL ) {
- this->setConsumerId(
- dynamic_cast<ConsumerId*>(
+ this->setConsumerId(
+ dynamic_cast<ConsumerId*>(
srcPtr->getConsumerId()->cloneDataStructure() ) );
}
this->setAckType( srcPtr->getAckType() );
if( srcPtr->getFirstMessageId() != NULL ) {
- this->setFirstMessageId(
- dynamic_cast<MessageId*>(
+ this->setFirstMessageId(
+ dynamic_cast<MessageId*>(
srcPtr->getFirstMessageId()->cloneDataStructure() ) );
}
if( srcPtr->getLastMessageId() != NULL ) {
- this->setLastMessageId(
- dynamic_cast<MessageId*>(
+ this->setLastMessageId(
+ dynamic_cast<MessageId*>(
srcPtr->getLastMessageId()->cloneDataStructure() ) );
}
this->setMessageCount( srcPtr->getMessageCount() );
@@ -113,7 +113,7 @@
////////////////////////////////////////////////////////////////////////////////
unsigned char MessageAck::getDataStructureType() const {
- return MessageAck::ID_MESSAGEACK;
+ return MessageAck::ID_MESSAGEACK;
}
////////////////////////////////////////////////////////////////////////////////
@@ -122,7 +122,7 @@
ostringstream stream;
stream << "Begin Class = MessageAck" << std::endl;
- stream << " Value of MessageAck::ID_MESSAGEACK = 22" << std::endl;
+ stream << " Value of MessageAck::ID_MESSAGEACK = 22" << 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/MessageAck.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/MessageAck.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/MessageAck.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/MessageAck.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/ActiveMQDestination.h>
#include <activemq/connector/openwire/commands/TransactionId.h>
@@ -47,7 +48,7 @@
* in the activemq-openwire-generator module
*
*/
- class MessageAck : public BaseCommand<transport::Command>
+ class AMQCPP_API MessageAck : public BaseCommand<transport::Command>
{
protected:
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/MessageDispatch.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/MessageDispatch.cpp?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/MessageDispatch.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/MessageDispatch.cpp Mon Nov 24 13:31:14 2008
@@ -72,24 +72,24 @@
const MessageDispatch* srcPtr = dynamic_cast<const MessageDispatch*>( src );
if( srcPtr == NULL || src == NULL ) {
-
+
throw decaf::lang::exceptions::NullPointerException(
__FILE__, __LINE__,
"MessageDispatch::copyDataStructure - src is NULL or invalid" );
}
if( srcPtr->getConsumerId() != NULL ) {
- this->setConsumerId(
- dynamic_cast<ConsumerId*>(
+ this->setConsumerId(
+ dynamic_cast<ConsumerId*>(
srcPtr->getConsumerId()->cloneDataStructure() ) );
}
if( srcPtr->getDestination() != NULL ) {
- this->setDestination(
- dynamic_cast<ActiveMQDestination*>(
+ this->setDestination(
+ dynamic_cast<ActiveMQDestination*>(
srcPtr->getDestination()->cloneDataStructure() ) );
}
if( srcPtr->getMessage() != NULL ) {
- this->setMessage(
- dynamic_cast<Message*>(
+ this->setMessage(
+ dynamic_cast<Message*>(
srcPtr->getMessage()->cloneDataStructure() ) );
}
this->setRedeliveryCounter( srcPtr->getRedeliveryCounter() );
@@ -97,7 +97,7 @@
////////////////////////////////////////////////////////////////////////////////
unsigned char MessageDispatch::getDataStructureType() const {
- return MessageDispatch::ID_MESSAGEDISPATCH;
+ return MessageDispatch::ID_MESSAGEDISPATCH;
}
////////////////////////////////////////////////////////////////////////////////
@@ -106,7 +106,7 @@
ostringstream stream;
stream << "Begin Class = MessageDispatch" << std::endl;
- stream << " Value of MessageDispatch::ID_MESSAGEDISPATCH = 21" << std::endl;
+ stream << " Value of MessageDispatch::ID_MESSAGEDISPATCH = 21" << 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/MessageDispatch.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/MessageDispatch.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/MessageDispatch.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/MessageDispatch.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>
@@ -45,7 +46,7 @@
* in the activemq-openwire-generator module
*
*/
- class MessageDispatch : public BaseCommand<transport::Command>
+ class AMQCPP_API MessageDispatch : public BaseCommand<transport::Command>
{
protected:
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/MessageDispatchNotification.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/MessageDispatchNotification.cpp?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/MessageDispatchNotification.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/MessageDispatchNotification.cpp Mon Nov 24 13:31:14 2008
@@ -72,32 +72,32 @@
const MessageDispatchNotification* srcPtr = dynamic_cast<const MessageDispatchNotification*>( src );
if( srcPtr == NULL || src == NULL ) {
-
+
throw decaf::lang::exceptions::NullPointerException(
__FILE__, __LINE__,
"MessageDispatchNotification::copyDataStructure - src is NULL or invalid" );
}
if( srcPtr->getConsumerId() != NULL ) {
- this->setConsumerId(
- dynamic_cast<ConsumerId*>(
+ this->setConsumerId(
+ dynamic_cast<ConsumerId*>(
srcPtr->getConsumerId()->cloneDataStructure() ) );
}
if( srcPtr->getDestination() != NULL ) {
- this->setDestination(
- dynamic_cast<ActiveMQDestination*>(
+ this->setDestination(
+ dynamic_cast<ActiveMQDestination*>(
srcPtr->getDestination()->cloneDataStructure() ) );
}
this->setDeliverySequenceId( srcPtr->getDeliverySequenceId() );
if( srcPtr->getMessageId() != NULL ) {
- this->setMessageId(
- dynamic_cast<MessageId*>(
+ this->setMessageId(
+ dynamic_cast<MessageId*>(
srcPtr->getMessageId()->cloneDataStructure() ) );
}
}
////////////////////////////////////////////////////////////////////////////////
unsigned char MessageDispatchNotification::getDataStructureType() const {
- return MessageDispatchNotification::ID_MESSAGEDISPATCHNOTIFICATION;
+ return MessageDispatchNotification::ID_MESSAGEDISPATCHNOTIFICATION;
}
////////////////////////////////////////////////////////////////////////////////
@@ -106,7 +106,7 @@
ostringstream stream;
stream << "Begin Class = MessageDispatchNotification" << std::endl;
- stream << " Value of MessageDispatchNotification::ID_MESSAGEDISPATCHNOTIFICATION = 90" << std::endl;
+ stream << " Value of MessageDispatchNotification::ID_MESSAGEDISPATCHNOTIFICATION = 90" << 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/MessageDispatchNotification.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/MessageDispatchNotification.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/MessageDispatchNotification.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/MessageDispatchNotification.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>
@@ -45,7 +46,7 @@
* in the activemq-openwire-generator module
*
*/
- class MessageDispatchNotification : public BaseCommand<transport::Command>
+ class AMQCPP_API MessageDispatchNotification : public BaseCommand<transport::Command>
{
protected:
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/MessageId.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/MessageId.cpp?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/MessageId.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/MessageId.cpp Mon Nov 24 13:31:14 2008
@@ -69,14 +69,14 @@
const MessageId* srcPtr = dynamic_cast<const MessageId*>( src );
if( srcPtr == NULL || src == NULL ) {
-
+
throw decaf::lang::exceptions::NullPointerException(
__FILE__, __LINE__,
"MessageId::copyDataStructure - src is NULL or invalid" );
}
if( srcPtr->getProducerId() != NULL ) {
- this->setProducerId(
- dynamic_cast<ProducerId*>(
+ this->setProducerId(
+ dynamic_cast<ProducerId*>(
srcPtr->getProducerId()->cloneDataStructure() ) );
}
this->setProducerSequenceId( srcPtr->getProducerSequenceId() );
@@ -85,7 +85,7 @@
////////////////////////////////////////////////////////////////////////////////
unsigned char MessageId::getDataStructureType() const {
- return MessageId::ID_MESSAGEID;
+ return MessageId::ID_MESSAGEID;
}
////////////////////////////////////////////////////////////////////////////////
@@ -94,7 +94,7 @@
ostringstream stream;
stream << "Begin Class = MessageId" << std::endl;
- stream << " Value of MessageId::ID_MESSAGEID = 110" << std::endl;
+ stream << " Value of MessageId::ID_MESSAGEID = 110" << std::endl;
stream << " Value of ProducerId is Below:" << std::endl;
if( this->getProducerId() != NULL ) {
stream << this->getProducerId()->toString() << std::endl;
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/MessageId.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/MessageId.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/MessageId.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/MessageId.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/ProducerId.h>
#include <vector>
@@ -43,7 +44,7 @@
* in the activemq-openwire-generator module
*
*/
- class MessageId : public BaseDataStructure
+ class AMQCPP_API MessageId : public BaseDataStructure
{
protected:
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/MessagePull.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/MessagePull.cpp?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/MessagePull.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/MessagePull.cpp Mon Nov 24 13:31:14 2008
@@ -73,33 +73,33 @@
const MessagePull* srcPtr = dynamic_cast<const MessagePull*>( src );
if( srcPtr == NULL || src == NULL ) {
-
+
throw decaf::lang::exceptions::NullPointerException(
__FILE__, __LINE__,
"MessagePull::copyDataStructure - src is NULL or invalid" );
}
if( srcPtr->getConsumerId() != NULL ) {
- this->setConsumerId(
- dynamic_cast<ConsumerId*>(
+ this->setConsumerId(
+ dynamic_cast<ConsumerId*>(
srcPtr->getConsumerId()->cloneDataStructure() ) );
}
if( srcPtr->getDestination() != NULL ) {
- this->setDestination(
- dynamic_cast<ActiveMQDestination*>(
+ this->setDestination(
+ dynamic_cast<ActiveMQDestination*>(
srcPtr->getDestination()->cloneDataStructure() ) );
}
this->setTimeout( srcPtr->getTimeout() );
this->setCorrelationId( srcPtr->getCorrelationId() );
if( srcPtr->getMessageId() != NULL ) {
- this->setMessageId(
- dynamic_cast<MessageId*>(
+ this->setMessageId(
+ dynamic_cast<MessageId*>(
srcPtr->getMessageId()->cloneDataStructure() ) );
}
}
////////////////////////////////////////////////////////////////////////////////
unsigned char MessagePull::getDataStructureType() const {
- return MessagePull::ID_MESSAGEPULL;
+ return MessagePull::ID_MESSAGEPULL;
}
////////////////////////////////////////////////////////////////////////////////
@@ -108,7 +108,7 @@
ostringstream stream;
stream << "Begin Class = MessagePull" << std::endl;
- stream << " Value of MessagePull::ID_MESSAGEPULL = 20" << std::endl;
+ stream << " Value of MessagePull::ID_MESSAGEPULL = 20" << 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/MessagePull.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/MessagePull.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/MessagePull.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/MessagePull.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>
@@ -45,7 +46,7 @@
* in the activemq-openwire-generator module
*
*/
- class MessagePull : public BaseCommand<transport::Command>
+ class AMQCPP_API MessagePull : public BaseCommand<transport::Command>
{
protected:
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/NetworkBridgeFilter.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/NetworkBridgeFilter.cpp?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/NetworkBridgeFilter.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/NetworkBridgeFilter.cpp Mon Nov 24 13:31:14 2008
@@ -68,22 +68,22 @@
const NetworkBridgeFilter* srcPtr = dynamic_cast<const NetworkBridgeFilter*>( src );
if( srcPtr == NULL || src == NULL ) {
-
+
throw decaf::lang::exceptions::NullPointerException(
__FILE__, __LINE__,
"NetworkBridgeFilter::copyDataStructure - src is NULL or invalid" );
}
this->setNetworkTTL( srcPtr->getNetworkTTL() );
if( srcPtr->getNetworkBrokerId() != NULL ) {
- this->setNetworkBrokerId(
- dynamic_cast<BrokerId*>(
+ this->setNetworkBrokerId(
+ dynamic_cast<BrokerId*>(
srcPtr->getNetworkBrokerId()->cloneDataStructure() ) );
}
}
////////////////////////////////////////////////////////////////////////////////
unsigned char NetworkBridgeFilter::getDataStructureType() const {
- return NetworkBridgeFilter::ID_NETWORKBRIDGEFILTER;
+ return NetworkBridgeFilter::ID_NETWORKBRIDGEFILTER;
}
////////////////////////////////////////////////////////////////////////////////
@@ -92,7 +92,7 @@
ostringstream stream;
stream << "Begin Class = NetworkBridgeFilter" << std::endl;
- stream << " Value of NetworkBridgeFilter::ID_NETWORKBRIDGEFILTER = 91" << std::endl;
+ stream << " Value of NetworkBridgeFilter::ID_NETWORKBRIDGEFILTER = 91" << std::endl;
stream << " Value of NetworkTTL = " << this->getNetworkTTL() << std::endl;
stream << " Value of NetworkBrokerId is Below:" << std::endl;
if( this->getNetworkBrokerId() != NULL ) {
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/NetworkBridgeFilter.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/NetworkBridgeFilter.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/NetworkBridgeFilter.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/NetworkBridgeFilter.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/BrokerId.h>
#include <vector>
@@ -43,7 +44,7 @@
* in the activemq-openwire-generator module
*
*/
- class NetworkBridgeFilter : public BaseDataStructure
+ class AMQCPP_API NetworkBridgeFilter : public BaseDataStructure
{
protected:
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/PartialCommand.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/PartialCommand.cpp?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/PartialCommand.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/PartialCommand.cpp Mon Nov 24 13:31:14 2008
@@ -66,7 +66,7 @@
const PartialCommand* srcPtr = dynamic_cast<const PartialCommand*>( src );
if( srcPtr == NULL || src == NULL ) {
-
+
throw decaf::lang::exceptions::NullPointerException(
__FILE__, __LINE__,
"PartialCommand::copyDataStructure - src is NULL or invalid" );
@@ -77,7 +77,7 @@
////////////////////////////////////////////////////////////////////////////////
unsigned char PartialCommand::getDataStructureType() const {
- return PartialCommand::ID_PARTIALCOMMAND;
+ return PartialCommand::ID_PARTIALCOMMAND;
}
////////////////////////////////////////////////////////////////////////////////
@@ -86,7 +86,7 @@
ostringstream stream;
stream << "Begin Class = PartialCommand" << std::endl;
- stream << " Value of PartialCommand::ID_PARTIALCOMMAND = 60" << std::endl;
+ stream << " Value of PartialCommand::ID_PARTIALCOMMAND = 60" << std::endl;
stream << " Value of CommandId = " << this->getCommandId() << std::endl;
for( size_t idata = 0; idata < this->getData().size(); ++idata ) {
stream << " Value of Data[" << idata << "] = " << this->getData()[idata] << std::endl;
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/PartialCommand.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/PartialCommand.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/PartialCommand.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/PartialCommand.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 PartialCommand : public BaseDataStructure
+ class AMQCPP_API PartialCommand : public BaseDataStructure
{
protected:
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ProducerAck.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ProducerAck.cpp?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ProducerAck.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ProducerAck.cpp Mon Nov 24 13:31:14 2008
@@ -68,14 +68,14 @@
const ProducerAck* srcPtr = dynamic_cast<const ProducerAck*>( src );
if( srcPtr == NULL || src == NULL ) {
-
+
throw decaf::lang::exceptions::NullPointerException(
__FILE__, __LINE__,
"ProducerAck::copyDataStructure - src is NULL or invalid" );
}
if( srcPtr->getProducerId() != NULL ) {
- this->setProducerId(
- dynamic_cast<ProducerId*>(
+ this->setProducerId(
+ dynamic_cast<ProducerId*>(
srcPtr->getProducerId()->cloneDataStructure() ) );
}
this->setSize( srcPtr->getSize() );
@@ -83,7 +83,7 @@
////////////////////////////////////////////////////////////////////////////////
unsigned char ProducerAck::getDataStructureType() const {
- return ProducerAck::ID_PRODUCERACK;
+ return ProducerAck::ID_PRODUCERACK;
}
////////////////////////////////////////////////////////////////////////////////
@@ -92,7 +92,7 @@
ostringstream stream;
stream << "Begin Class = ProducerAck" << std::endl;
- stream << " Value of ProducerAck::ID_PRODUCERACK = 19" << std::endl;
+ stream << " Value of ProducerAck::ID_PRODUCERACK = 19" << std::endl;
stream << " Value of ProducerId is Below:" << std::endl;
if( this->getProducerId() != NULL ) {
stream << this->getProducerId()->toString() << std::endl;
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ProducerAck.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ProducerAck.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ProducerAck.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ProducerAck.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/ProducerId.h>
#include <vector>
@@ -43,7 +44,7 @@
* in the activemq-openwire-generator module
*
*/
- class ProducerAck : public BaseCommand<transport::Command>
+ class AMQCPP_API ProducerAck : public BaseCommand<transport::Command>
{
protected:
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ProducerId.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ProducerId.cpp?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ProducerId.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ProducerId.cpp Mon Nov 24 13:31:14 2008
@@ -68,7 +68,7 @@
const ProducerId* srcPtr = dynamic_cast<const ProducerId*>( src );
if( srcPtr == NULL || src == NULL ) {
-
+
throw decaf::lang::exceptions::NullPointerException(
__FILE__, __LINE__,
"ProducerId::copyDataStructure - src is NULL or invalid" );
@@ -80,7 +80,7 @@
////////////////////////////////////////////////////////////////////////////////
unsigned char ProducerId::getDataStructureType() const {
- return ProducerId::ID_PRODUCERID;
+ return ProducerId::ID_PRODUCERID;
}
////////////////////////////////////////////////////////////////////////////////
@@ -89,7 +89,7 @@
ostringstream stream;
stream << "Begin Class = ProducerId" << std::endl;
- stream << " Value of ProducerId::ID_PRODUCERID = 123" << std::endl;
+ stream << " Value of ProducerId::ID_PRODUCERID = 123" << std::endl;
stream << " Value of ConnectionId = " << this->getConnectionId() << std::endl;
stream << " Value of Value = " << this->getValue() << std::endl;
stream << " Value of SessionId = " << this->getSessionId() << std::endl;
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ProducerId.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ProducerId.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ProducerId.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ProducerId.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 ProducerId : public BaseDataStructure
+ class AMQCPP_API ProducerId : public BaseDataStructure
{
protected:
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ProducerInfo.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ProducerInfo.cpp?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ProducerInfo.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ProducerInfo.cpp Mon Nov 24 13:31:14 2008
@@ -74,25 +74,25 @@
const ProducerInfo* srcPtr = dynamic_cast<const ProducerInfo*>( src );
if( srcPtr == NULL || src == NULL ) {
-
+
throw decaf::lang::exceptions::NullPointerException(
__FILE__, __LINE__,
"ProducerInfo::copyDataStructure - src is NULL or invalid" );
}
if( srcPtr->getProducerId() != NULL ) {
- this->setProducerId(
- dynamic_cast<ProducerId*>(
+ this->setProducerId(
+ dynamic_cast<ProducerId*>(
srcPtr->getProducerId()->cloneDataStructure() ) );
}
if( srcPtr->getDestination() != NULL ) {
- this->setDestination(
- dynamic_cast<ActiveMQDestination*>(
+ this->setDestination(
+ dynamic_cast<ActiveMQDestination*>(
srcPtr->getDestination()->cloneDataStructure() ) );
}
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 ProducerInfo::getDataStructureType() const {
- return ProducerInfo::ID_PRODUCERINFO;
+ return ProducerInfo::ID_PRODUCERINFO;
}
////////////////////////////////////////////////////////////////////////////////
@@ -113,7 +113,7 @@
ostringstream stream;
stream << "Begin Class = ProducerInfo" << std::endl;
- stream << " Value of ProducerInfo::ID_PRODUCERINFO = 6" << std::endl;
+ stream << " Value of ProducerInfo::ID_PRODUCERINFO = 6" << std::endl;
stream << " Value of ProducerId is Below:" << std::endl;
if( this->getProducerId() != NULL ) {
stream << this->getProducerId()->toString() << std::endl;
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ProducerInfo.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ProducerInfo.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ProducerInfo.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ProducerInfo.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/ProducerId.h>
#include <activemq/connector/openwire/commands/ActiveMQDestination.h>
@@ -45,7 +46,7 @@
* in the activemq-openwire-generator module
*
*/
- class ProducerInfo : public BaseCommand<transport::Command>
+ class AMQCPP_API ProducerInfo : public BaseCommand<transport::Command>
{
protected:
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/RemoveInfo.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/RemoveInfo.cpp?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/RemoveInfo.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/RemoveInfo.cpp Mon Nov 24 13:31:14 2008
@@ -67,21 +67,21 @@
const RemoveInfo* srcPtr = dynamic_cast<const RemoveInfo*>( src );
if( srcPtr == NULL || src == NULL ) {
-
+
throw decaf::lang::exceptions::NullPointerException(
__FILE__, __LINE__,
"RemoveInfo::copyDataStructure - src is NULL or invalid" );
}
if( srcPtr->getObjectId() != NULL ) {
- this->setObjectId(
- dynamic_cast<DataStructure*>(
+ this->setObjectId(
+ dynamic_cast<DataStructure*>(
srcPtr->getObjectId()->cloneDataStructure() ) );
}
}
////////////////////////////////////////////////////////////////////////////////
unsigned char RemoveInfo::getDataStructureType() const {
- return RemoveInfo::ID_REMOVEINFO;
+ return RemoveInfo::ID_REMOVEINFO;
}
////////////////////////////////////////////////////////////////////////////////
@@ -90,7 +90,7 @@
ostringstream stream;
stream << "Begin Class = RemoveInfo" << std::endl;
- stream << " Value of RemoveInfo::ID_REMOVEINFO = 12" << std::endl;
+ stream << " Value of RemoveInfo::ID_REMOVEINFO = 12" << std::endl;
stream << " Value of ObjectId is Below:" << std::endl;
if( this->getObjectId() != NULL ) {
stream << this->getObjectId()->toString() << std::endl;
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/RemoveInfo.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/RemoveInfo.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/RemoveInfo.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/RemoveInfo.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/DataStructure.h>
#include <vector>
@@ -43,7 +44,7 @@
* in the activemq-openwire-generator module
*
*/
- class RemoveInfo : public BaseCommand<transport::Command>
+ class AMQCPP_API RemoveInfo : public BaseCommand<transport::Command>
{
protected:
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/RemoveSubscriptionInfo.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/RemoveSubscriptionInfo.cpp?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/RemoveSubscriptionInfo.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/RemoveSubscriptionInfo.cpp Mon Nov 24 13:31:14 2008
@@ -69,14 +69,14 @@
const RemoveSubscriptionInfo* srcPtr = dynamic_cast<const RemoveSubscriptionInfo*>( src );
if( srcPtr == NULL || src == NULL ) {
-
+
throw decaf::lang::exceptions::NullPointerException(
__FILE__, __LINE__,
"RemoveSubscriptionInfo::copyDataStructure - src is NULL or invalid" );
}
if( srcPtr->getConnectionId() != NULL ) {
- this->setConnectionId(
- dynamic_cast<ConnectionId*>(
+ this->setConnectionId(
+ dynamic_cast<ConnectionId*>(
srcPtr->getConnectionId()->cloneDataStructure() ) );
}
this->setSubcriptionName( srcPtr->getSubcriptionName() );
@@ -85,7 +85,7 @@
////////////////////////////////////////////////////////////////////////////////
unsigned char RemoveSubscriptionInfo::getDataStructureType() const {
- return RemoveSubscriptionInfo::ID_REMOVESUBSCRIPTIONINFO;
+ return RemoveSubscriptionInfo::ID_REMOVESUBSCRIPTIONINFO;
}
////////////////////////////////////////////////////////////////////////////////
@@ -94,7 +94,7 @@
ostringstream stream;
stream << "Begin Class = RemoveSubscriptionInfo" << std::endl;
- stream << " Value of RemoveSubscriptionInfo::ID_REMOVESUBSCRIPTIONINFO = 9" << std::endl;
+ stream << " Value of RemoveSubscriptionInfo::ID_REMOVESUBSCRIPTIONINFO = 9" << 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/RemoveSubscriptionInfo.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/RemoveSubscriptionInfo.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/RemoveSubscriptionInfo.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/RemoveSubscriptionInfo.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 <vector>
@@ -43,7 +44,7 @@
* in the activemq-openwire-generator module
*
*/
- class RemoveSubscriptionInfo : public BaseCommand<transport::Command>
+ class AMQCPP_API RemoveSubscriptionInfo : public BaseCommand<transport::Command>
{
protected:
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ReplayCommand.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ReplayCommand.cpp?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ReplayCommand.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ReplayCommand.cpp Mon Nov 24 13:31:14 2008
@@ -67,7 +67,7 @@
const ReplayCommand* srcPtr = dynamic_cast<const ReplayCommand*>( src );
if( srcPtr == NULL || src == NULL ) {
-
+
throw decaf::lang::exceptions::NullPointerException(
__FILE__, __LINE__,
"ReplayCommand::copyDataStructure - src is NULL or invalid" );
@@ -78,7 +78,7 @@
////////////////////////////////////////////////////////////////////////////////
unsigned char ReplayCommand::getDataStructureType() const {
- return ReplayCommand::ID_REPLAYCOMMAND;
+ return ReplayCommand::ID_REPLAYCOMMAND;
}
////////////////////////////////////////////////////////////////////////////////
@@ -87,7 +87,7 @@
ostringstream stream;
stream << "Begin Class = ReplayCommand" << std::endl;
- stream << " Value of ReplayCommand::ID_REPLAYCOMMAND = 65" << std::endl;
+ stream << " Value of ReplayCommand::ID_REPLAYCOMMAND = 65" << std::endl;
stream << " Value of FirstNakNumber = " << this->getFirstNakNumber() << std::endl;
stream << " Value of LastNakNumber = " << this->getLastNakNumber() << std::endl;
stream << BaseCommand<transport::Command>::toString();
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ReplayCommand.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ReplayCommand.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ReplayCommand.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ReplayCommand.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 ReplayCommand : public BaseCommand<transport::Command>
+ class AMQCPP_API ReplayCommand : public BaseCommand<transport::Command>
{
protected:
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/Response.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/Response.cpp?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/Response.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/Response.cpp Mon Nov 24 13:31:14 2008
@@ -66,7 +66,7 @@
const Response* srcPtr = dynamic_cast<const Response*>( src );
if( srcPtr == NULL || src == NULL ) {
-
+
throw decaf::lang::exceptions::NullPointerException(
__FILE__, __LINE__,
"Response::copyDataStructure - src is NULL or invalid" );
@@ -76,7 +76,7 @@
////////////////////////////////////////////////////////////////////////////////
unsigned char Response::getDataStructureType() const {
- return Response::ID_RESPONSE;
+ return Response::ID_RESPONSE;
}
////////////////////////////////////////////////////////////////////////////////
@@ -85,7 +85,7 @@
ostringstream stream;
stream << "Begin Class = Response" << std::endl;
- stream << " Value of Response::ID_RESPONSE = 30" << std::endl;
+ stream << " Value of Response::ID_RESPONSE = 30" << std::endl;
stream << " Value of CorrelationId = " << this->getCorrelationId() << std::endl;
stream << BaseCommand<transport::Response>::toString();
stream << "End Class = Response" << std::endl;
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/Response.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/Response.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/Response.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/Response.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 Response : public BaseCommand<transport::Response>
+ class AMQCPP_API Response : public BaseCommand<transport::Response>
{
protected:
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/SessionId.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/SessionId.cpp?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/SessionId.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/SessionId.cpp Mon Nov 24 13:31:14 2008
@@ -67,7 +67,7 @@
const SessionId* srcPtr = dynamic_cast<const SessionId*>( src );
if( srcPtr == NULL || src == NULL ) {
-
+
throw decaf::lang::exceptions::NullPointerException(
__FILE__, __LINE__,
"SessionId::copyDataStructure - src is NULL or invalid" );
@@ -78,7 +78,7 @@
////////////////////////////////////////////////////////////////////////////////
unsigned char SessionId::getDataStructureType() const {
- return SessionId::ID_SESSIONID;
+ return SessionId::ID_SESSIONID;
}
////////////////////////////////////////////////////////////////////////////////
@@ -87,7 +87,7 @@
ostringstream stream;
stream << "Begin Class = SessionId" << std::endl;
- stream << " Value of SessionId::ID_SESSIONID = 121" << std::endl;
+ stream << " Value of SessionId::ID_SESSIONID = 121" << std::endl;
stream << " Value of ConnectionId = " << this->getConnectionId() << std::endl;
stream << " Value of Value = " << this->getValue() << std::endl;
stream << BaseDataStructure::toString();
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/SessionId.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/SessionId.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/SessionId.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/SessionId.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 SessionId : public BaseDataStructure
+ class AMQCPP_API SessionId : public BaseDataStructure
{
protected:
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/SessionInfo.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/SessionInfo.cpp?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/SessionInfo.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/SessionInfo.cpp Mon Nov 24 13:31:14 2008
@@ -67,21 +67,21 @@
const SessionInfo* srcPtr = dynamic_cast<const SessionInfo*>( src );
if( srcPtr == NULL || src == NULL ) {
-
+
throw decaf::lang::exceptions::NullPointerException(
__FILE__, __LINE__,
"SessionInfo::copyDataStructure - src is NULL or invalid" );
}
if( srcPtr->getSessionId() != NULL ) {
- this->setSessionId(
- dynamic_cast<SessionId*>(
+ this->setSessionId(
+ dynamic_cast<SessionId*>(
srcPtr->getSessionId()->cloneDataStructure() ) );
}
}
////////////////////////////////////////////////////////////////////////////////
unsigned char SessionInfo::getDataStructureType() const {
- return SessionInfo::ID_SESSIONINFO;
+ return SessionInfo::ID_SESSIONINFO;
}
////////////////////////////////////////////////////////////////////////////////
@@ -90,7 +90,7 @@
ostringstream stream;
stream << "Begin Class = SessionInfo" << std::endl;
- stream << " Value of SessionInfo::ID_SESSIONINFO = 4" << std::endl;
+ stream << " Value of SessionInfo::ID_SESSIONINFO = 4" << std::endl;
stream << " Value of SessionId is Below:" << std::endl;
if( this->getSessionId() != NULL ) {
stream << this->getSessionId()->toString() << std::endl;
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/SessionInfo.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/SessionInfo.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/SessionInfo.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/SessionInfo.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/SessionId.h>
#include <vector>
@@ -43,7 +44,7 @@
* in the activemq-openwire-generator module
*
*/
- class SessionInfo : public BaseCommand<transport::Command>
+ class AMQCPP_API SessionInfo : public BaseCommand<transport::Command>
{
protected:
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ShutdownInfo.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ShutdownInfo.cpp?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ShutdownInfo.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ShutdownInfo.cpp Mon Nov 24 13:31:14 2008
@@ -65,7 +65,7 @@
const ShutdownInfo* srcPtr = dynamic_cast<const ShutdownInfo*>( src );
if( srcPtr == NULL || src == NULL ) {
-
+
throw decaf::lang::exceptions::NullPointerException(
__FILE__, __LINE__,
"ShutdownInfo::copyDataStructure - src is NULL or invalid" );
@@ -74,7 +74,7 @@
////////////////////////////////////////////////////////////////////////////////
unsigned char ShutdownInfo::getDataStructureType() const {
- return ShutdownInfo::ID_SHUTDOWNINFO;
+ return ShutdownInfo::ID_SHUTDOWNINFO;
}
////////////////////////////////////////////////////////////////////////////////
@@ -83,7 +83,7 @@
ostringstream stream;
stream << "Begin Class = ShutdownInfo" << std::endl;
- stream << " Value of ShutdownInfo::ID_SHUTDOWNINFO = 11" << std::endl;
+ stream << " Value of ShutdownInfo::ID_SHUTDOWNINFO = 11" << std::endl;
stream << BaseCommand<transport::Command>::toString();
stream << "End Class = ShutdownInfo" << std::endl;
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ShutdownInfo.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ShutdownInfo.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ShutdownInfo.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ShutdownInfo.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 ShutdownInfo : public BaseCommand<transport::Command>
+ class AMQCPP_API ShutdownInfo : public BaseCommand<transport::Command>
{
protected:
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/SubscriptionInfo.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/SubscriptionInfo.cpp?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/SubscriptionInfo.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/SubscriptionInfo.cpp Mon Nov 24 13:31:14 2008
@@ -72,29 +72,29 @@
const SubscriptionInfo* srcPtr = dynamic_cast<const SubscriptionInfo*>( src );
if( srcPtr == NULL || src == NULL ) {
-
+
throw decaf::lang::exceptions::NullPointerException(
__FILE__, __LINE__,
"SubscriptionInfo::copyDataStructure - src is NULL or invalid" );
}
this->setClientId( srcPtr->getClientId() );
if( srcPtr->getDestination() != NULL ) {
- this->setDestination(
- dynamic_cast<ActiveMQDestination*>(
+ this->setDestination(
+ dynamic_cast<ActiveMQDestination*>(
srcPtr->getDestination()->cloneDataStructure() ) );
}
this->setSelector( srcPtr->getSelector() );
this->setSubcriptionName( srcPtr->getSubcriptionName() );
if( srcPtr->getSubscribedDestination() != NULL ) {
- this->setSubscribedDestination(
- dynamic_cast<ActiveMQDestination*>(
+ this->setSubscribedDestination(
+ dynamic_cast<ActiveMQDestination*>(
srcPtr->getSubscribedDestination()->cloneDataStructure() ) );
}
}
////////////////////////////////////////////////////////////////////////////////
unsigned char SubscriptionInfo::getDataStructureType() const {
- return SubscriptionInfo::ID_SUBSCRIPTIONINFO;
+ return SubscriptionInfo::ID_SUBSCRIPTIONINFO;
}
////////////////////////////////////////////////////////////////////////////////
@@ -103,7 +103,7 @@
ostringstream stream;
stream << "Begin Class = SubscriptionInfo" << std::endl;
- stream << " Value of SubscriptionInfo::ID_SUBSCRIPTIONINFO = 55" << std::endl;
+ stream << " Value of SubscriptionInfo::ID_SUBSCRIPTIONINFO = 55" << std::endl;
stream << " Value of ClientId = " << this->getClientId() << std::endl;
stream << " Value of Destination is Below:" << std::endl;
if( this->getDestination() != NULL ) {
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/SubscriptionInfo.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/SubscriptionInfo.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/SubscriptionInfo.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/SubscriptionInfo.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/ActiveMQDestination.h>
@@ -44,7 +45,7 @@
* in the activemq-openwire-generator module
*
*/
- class SubscriptionInfo : public BaseDataStructure
+ class AMQCPP_API SubscriptionInfo : public BaseDataStructure
{
protected:
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/TransactionId.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/TransactionId.cpp?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/TransactionId.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/TransactionId.cpp Mon Nov 24 13:31:14 2008
@@ -65,7 +65,7 @@
const TransactionId* srcPtr = dynamic_cast<const TransactionId*>( src );
if( srcPtr == NULL || src == NULL ) {
-
+
throw decaf::lang::exceptions::NullPointerException(
__FILE__, __LINE__,
"TransactionId::copyDataStructure - src is NULL or invalid" );
@@ -74,7 +74,7 @@
////////////////////////////////////////////////////////////////////////////////
unsigned char TransactionId::getDataStructureType() const {
- return TransactionId::ID_TRANSACTIONID;
+ return TransactionId::ID_TRANSACTIONID;
}
////////////////////////////////////////////////////////////////////////////////
@@ -83,7 +83,7 @@
ostringstream stream;
stream << "Begin Class = TransactionId" << std::endl;
- stream << " Value of TransactionId::ID_TRANSACTIONID = 0" << std::endl;
+ stream << " Value of TransactionId::ID_TRANSACTIONID = 0" << std::endl;
stream << BaseDataStructure::toString();
stream << "End Class = TransactionId" << std::endl;
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/TransactionId.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/TransactionId.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/TransactionId.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/TransactionId.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 TransactionId : public BaseDataStructure
+ class AMQCPP_API TransactionId : public BaseDataStructure
{
protected:
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/TransactionInfo.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/TransactionInfo.cpp?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/TransactionInfo.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/TransactionInfo.cpp Mon Nov 24 13:31:14 2008
@@ -70,19 +70,19 @@
const TransactionInfo* srcPtr = dynamic_cast<const TransactionInfo*>( src );
if( srcPtr == NULL || src == NULL ) {
-
+
throw decaf::lang::exceptions::NullPointerException(
__FILE__, __LINE__,
"TransactionInfo::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->getTransactionId() != NULL ) {
- this->setTransactionId(
- dynamic_cast<TransactionId*>(
+ this->setTransactionId(
+ dynamic_cast<TransactionId*>(
srcPtr->getTransactionId()->cloneDataStructure() ) );
}
this->setType( srcPtr->getType() );
@@ -90,7 +90,7 @@
////////////////////////////////////////////////////////////////////////////////
unsigned char TransactionInfo::getDataStructureType() const {
- return TransactionInfo::ID_TRANSACTIONINFO;
+ return TransactionInfo::ID_TRANSACTIONINFO;
}
////////////////////////////////////////////////////////////////////////////////
@@ -99,7 +99,7 @@
ostringstream stream;
stream << "Begin Class = TransactionInfo" << std::endl;
- stream << " Value of TransactionInfo::ID_TRANSACTIONINFO = 7" << std::endl;
+ stream << " Value of TransactionInfo::ID_TRANSACTIONINFO = 7" << 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/TransactionInfo.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/TransactionInfo.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/TransactionInfo.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/TransactionInfo.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/TransactionId.h>
@@ -44,7 +45,7 @@
* in the activemq-openwire-generator module
*
*/
- class TransactionInfo : public BaseCommand<transport::Command>
+ class AMQCPP_API TransactionInfo : public BaseCommand<transport::Command>
{
protected:
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/WireFormatInfo.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/WireFormatInfo.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/WireFormatInfo.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/WireFormatInfo.h Mon Nov 24 13:31:14 2008
@@ -18,6 +18,7 @@
#ifndef _ACTIVEMQ_CONNECTOR_OPENWIRE_COMMANDS_WIREFORMATINFO_H_
#define _ACTIVEMQ_CONNECTOR_OPENWIRE_COMMANDS_WIREFORMATINFO_H_
+#include <activemq/util/Config.h>
#include <activemq/connector/openwire/commands/BaseCommand.h>
#include <activemq/connector/openwire/marshal/PrimitiveMapMarshaller.h>
#include <activemq/transport/Command.h>
@@ -31,8 +32,7 @@
namespace openwire{
namespace commands{
- class WireFormatInfo : public BaseCommand<transport::Command>
- {
+ class AMQCPP_API WireFormatInfo : public BaseCommand<transport::Command> {
public:
const static unsigned char ID_WIREFORMATINFO = 1;
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/XATransactionId.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/XATransactionId.cpp?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/XATransactionId.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/XATransactionId.cpp Mon Nov 24 13:31:14 2008
@@ -66,7 +66,7 @@
const XATransactionId* srcPtr = dynamic_cast<const XATransactionId*>( src );
if( srcPtr == NULL || src == NULL ) {
-
+
throw decaf::lang::exceptions::NullPointerException(
__FILE__, __LINE__,
"XATransactionId::copyDataStructure - src is NULL or invalid" );
@@ -78,7 +78,7 @@
////////////////////////////////////////////////////////////////////////////////
unsigned char XATransactionId::getDataStructureType() const {
- return XATransactionId::ID_XATRANSACTIONID;
+ return XATransactionId::ID_XATRANSACTIONID;
}
////////////////////////////////////////////////////////////////////////////////
@@ -87,7 +87,7 @@
ostringstream stream;
stream << "Begin Class = XATransactionId" << std::endl;
- stream << " Value of XATransactionId::ID_XATRANSACTIONID = 112" << std::endl;
+ stream << " Value of XATransactionId::ID_XATRANSACTIONID = 112" << std::endl;
stream << " Value of FormatId = " << this->getFormatId() << std::endl;
for( size_t iglobalTransactionId = 0; iglobalTransactionId < this->getGlobalTransactionId().size(); ++iglobalTransactionId ) {
stream << " Value of GlobalTransactionId[" << iglobalTransactionId << "] = " << this->getGlobalTransactionId()[iglobalTransactionId] << std::endl;
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/XATransactionId.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/XATransactionId.h?rev=720296&r1=720295&r2=720296&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/XATransactionId.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/XATransactionId.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/TransactionId.h>
#include <vector>
#include <string>
@@ -42,7 +43,7 @@
* in the activemq-openwire-generator module
*
*/
- class XATransactionId : public TransactionId
+ class AMQCPP_API XATransactionId : public TransactionId
{
protected: