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 2013/03/24 22:30:56 UTC
svn commit: r1460467 [12/15] - in
/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq: commands/
wireformat/openwire/marshal/generated/
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/LastPartialCommandMarshaller.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/LastPartialCommandMarshaller.cpp?rev=1460467&r1=1460466&r2=1460467&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/LastPartialCommandMarshaller.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/LastPartialCommandMarshaller.cpp Sun Mar 24 21:30:52 2013
@@ -51,66 +51,66 @@ unsigned char LastPartialCommandMarshall
}
///////////////////////////////////////////////////////////////////////////////
-void LastPartialCommandMarshaller::tightUnmarshal( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn, BooleanStream* bs ) {
+void LastPartialCommandMarshaller::tightUnmarshal(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn, BooleanStream* bs) {
try {
- PartialCommandMarshaller::tightUnmarshal( wireFormat, dataStructure, dataIn, bs );
+ PartialCommandMarshaller::tightUnmarshal(wireFormat, dataStructure, dataIn, bs);
}
- AMQ_CATCH_RETHROW( decaf::io::IOException )
- AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )
- AMQ_CATCHALL_THROW( decaf::io::IOException )
+ AMQ_CATCH_RETHROW(decaf::io::IOException)
+ AMQ_CATCH_EXCEPTION_CONVERT(exceptions::ActiveMQException, decaf::io::IOException)
+ AMQ_CATCHALL_THROW(decaf::io::IOException)
}
///////////////////////////////////////////////////////////////////////////////
-int LastPartialCommandMarshaller::tightMarshal1( OpenWireFormat* wireFormat, DataStructure* dataStructure, BooleanStream* bs ) {
+int LastPartialCommandMarshaller::tightMarshal1(OpenWireFormat* wireFormat, DataStructure* dataStructure, BooleanStream* bs) {
try {
- int rc = PartialCommandMarshaller::tightMarshal1( wireFormat, dataStructure, bs );
+ int rc = PartialCommandMarshaller::tightMarshal1(wireFormat, dataStructure, bs);
return rc + 0;
}
- AMQ_CATCH_RETHROW( decaf::io::IOException )
- AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )
- AMQ_CATCHALL_THROW( decaf::io::IOException )
+ AMQ_CATCH_RETHROW(decaf::io::IOException)
+ AMQ_CATCH_EXCEPTION_CONVERT(exceptions::ActiveMQException, decaf::io::IOException)
+ AMQ_CATCHALL_THROW(decaf::io::IOException)
}
///////////////////////////////////////////////////////////////////////////////
-void LastPartialCommandMarshaller::tightMarshal2( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut, BooleanStream* bs ) {
+void LastPartialCommandMarshaller::tightMarshal2(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut, BooleanStream* bs) {
try {
- PartialCommandMarshaller::tightMarshal2( wireFormat, dataStructure, dataOut, bs );
+ PartialCommandMarshaller::tightMarshal2(wireFormat, dataStructure, dataOut, bs );
}
- AMQ_CATCH_RETHROW( decaf::io::IOException )
- AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )
- AMQ_CATCHALL_THROW( decaf::io::IOException )
+ AMQ_CATCH_RETHROW(decaf::io::IOException)
+ AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException)
+ AMQ_CATCHALL_THROW(decaf::io::IOException)
}
///////////////////////////////////////////////////////////////////////////////
-void LastPartialCommandMarshaller::looseUnmarshal( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn ) {
+void LastPartialCommandMarshaller::looseUnmarshal(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn) {
try {
- PartialCommandMarshaller::looseUnmarshal( wireFormat, dataStructure, dataIn );
+ PartialCommandMarshaller::looseUnmarshal(wireFormat, dataStructure, dataIn);
}
- AMQ_CATCH_RETHROW( decaf::io::IOException )
- AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )
- AMQ_CATCHALL_THROW( decaf::io::IOException )
+ AMQ_CATCH_RETHROW(decaf::io::IOException)
+ AMQ_CATCH_EXCEPTION_CONVERT(exceptions::ActiveMQException, decaf::io::IOException)
+ AMQ_CATCHALL_THROW(decaf::io::IOException)
}
///////////////////////////////////////////////////////////////////////////////
-void LastPartialCommandMarshaller::looseMarshal( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut ) {
+void LastPartialCommandMarshaller::looseMarshal(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut) {
try {
- PartialCommandMarshaller::looseMarshal( wireFormat, dataStructure, dataOut );
+ PartialCommandMarshaller::looseMarshal(wireFormat, dataStructure, dataOut);
}
- AMQ_CATCH_RETHROW( decaf::io::IOException )
- AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )
- AMQ_CATCHALL_THROW( decaf::io::IOException )
+ AMQ_CATCH_RETHROW(decaf::io::IOException)
+ AMQ_CATCH_EXCEPTION_CONVERT(exceptions::ActiveMQException, decaf::io::IOException)
+ AMQ_CATCHALL_THROW(decaf::io::IOException)
}
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/LastPartialCommandMarshaller.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/LastPartialCommandMarshaller.h?rev=1460467&r1=1460466&r2=1460467&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/LastPartialCommandMarshaller.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/LastPartialCommandMarshaller.h Sun Mar 24 21:30:52 2013
@@ -33,11 +33,11 @@
#include <activemq/wireformat/openwire/OpenWireFormat.h>
#include <activemq/wireformat/openwire/utils/BooleanStream.h>
-namespace activemq{
-namespace wireformat{
-namespace openwire{
-namespace marshal{
-namespace generated{
+namespace activemq {
+namespace wireformat {
+namespace openwire {
+namespace marshal {
+namespace generated {
/**
* Marshaling code for Open Wire Format for LastPartialCommandMarshaller
@@ -56,27 +56,27 @@ namespace generated{
virtual unsigned char getDataStructureType() const;
- virtual void tightUnmarshal( OpenWireFormat* wireFormat,
- commands::DataStructure* dataStructure,
- decaf::io::DataInputStream* dataIn,
- utils::BooleanStream* bs );
+ virtual void tightUnmarshal(OpenWireFormat* wireFormat,
+ commands::DataStructure* dataStructure,
+ decaf::io::DataInputStream* dataIn,
+ utils::BooleanStream* bs);
+
+ virtual int tightMarshal1(OpenWireFormat* wireFormat,
+ commands::DataStructure* dataStructure,
+ utils::BooleanStream* bs);
- virtual int tightMarshal1( OpenWireFormat* wireFormat,
+ virtual void tightMarshal2(OpenWireFormat* wireFormat,
commands::DataStructure* dataStructure,
- utils::BooleanStream* bs );
+ decaf::io::DataOutputStream* dataOut,
+ utils::BooleanStream* bs);
- virtual void tightMarshal2( OpenWireFormat* wireFormat,
+ virtual void looseUnmarshal(OpenWireFormat* wireFormat,
commands::DataStructure* dataStructure,
- decaf::io::DataOutputStream* dataOut,
- utils::BooleanStream* bs );
+ decaf::io::DataInputStream* dataIn);
- virtual void looseUnmarshal( OpenWireFormat* wireFormat,
- commands::DataStructure* dataStructure,
- decaf::io::DataInputStream* dataIn );
-
- virtual void looseMarshal( OpenWireFormat* wireFormat,
- commands::DataStructure* dataStructure,
- decaf::io::DataOutputStream* dataOut );
+ virtual void looseMarshal(OpenWireFormat* wireFormat,
+ commands::DataStructure* dataStructure,
+ decaf::io::DataOutputStream* dataOut);
};
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/LocalTransactionIdMarshaller.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/LocalTransactionIdMarshaller.cpp?rev=1460467&r1=1460466&r2=1460467&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/LocalTransactionIdMarshaller.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/LocalTransactionIdMarshaller.cpp Sun Mar 24 21:30:52 2013
@@ -51,89 +51,89 @@ unsigned char LocalTransactionIdMarshall
}
///////////////////////////////////////////////////////////////////////////////
-void LocalTransactionIdMarshaller::tightUnmarshal( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn, BooleanStream* bs ) {
+void LocalTransactionIdMarshaller::tightUnmarshal(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn, BooleanStream* bs) {
try {
- TransactionIdMarshaller::tightUnmarshal( wireFormat, dataStructure, dataIn, bs );
+ TransactionIdMarshaller::tightUnmarshal(wireFormat, dataStructure, dataIn, bs);
LocalTransactionId* info =
- dynamic_cast<LocalTransactionId*>( dataStructure );
- info->setValue( tightUnmarshalLong( wireFormat, dataIn, bs ) );
- info->setConnectionId( Pointer<ConnectionId>( dynamic_cast< ConnectionId* >(
- tightUnmarshalCachedObject( wireFormat, dataIn, bs ) ) ) );
+ dynamic_cast<LocalTransactionId*>(dataStructure);
+ info->setValue(tightUnmarshalLong(wireFormat, dataIn, bs));
+ info->setConnectionId(Pointer<ConnectionId>(dynamic_cast<ConnectionId* >(
+ tightUnmarshalCachedObject(wireFormat, dataIn, bs))));
}
- AMQ_CATCH_RETHROW( decaf::io::IOException )
- AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )
- AMQ_CATCHALL_THROW( decaf::io::IOException )
+ AMQ_CATCH_RETHROW(decaf::io::IOException)
+ AMQ_CATCH_EXCEPTION_CONVERT(exceptions::ActiveMQException, decaf::io::IOException)
+ AMQ_CATCHALL_THROW(decaf::io::IOException)
}
///////////////////////////////////////////////////////////////////////////////
-int LocalTransactionIdMarshaller::tightMarshal1( OpenWireFormat* wireFormat, DataStructure* dataStructure, BooleanStream* bs ) {
+int LocalTransactionIdMarshaller::tightMarshal1(OpenWireFormat* wireFormat, DataStructure* dataStructure, BooleanStream* bs) {
try {
LocalTransactionId* info =
- dynamic_cast<LocalTransactionId*>( dataStructure );
+ dynamic_cast<LocalTransactionId*>(dataStructure);
- int rc = TransactionIdMarshaller::tightMarshal1( wireFormat, dataStructure, bs );
- rc += tightMarshalLong1( wireFormat, info->getValue(), bs );
- rc += tightMarshalCachedObject1( wireFormat, info->getConnectionId().get(), bs );
+ int rc = TransactionIdMarshaller::tightMarshal1(wireFormat, dataStructure, bs);
+ rc += tightMarshalLong1(wireFormat, info->getValue(), bs);
+ rc += tightMarshalCachedObject1(wireFormat, info->getConnectionId().get(), bs);
return rc + 0;
}
- AMQ_CATCH_RETHROW( decaf::io::IOException )
- AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )
- AMQ_CATCHALL_THROW( decaf::io::IOException )
+ AMQ_CATCH_RETHROW(decaf::io::IOException)
+ AMQ_CATCH_EXCEPTION_CONVERT(exceptions::ActiveMQException, decaf::io::IOException)
+ AMQ_CATCHALL_THROW(decaf::io::IOException)
}
///////////////////////////////////////////////////////////////////////////////
-void LocalTransactionIdMarshaller::tightMarshal2( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut, BooleanStream* bs ) {
+void LocalTransactionIdMarshaller::tightMarshal2(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut, BooleanStream* bs) {
try {
- TransactionIdMarshaller::tightMarshal2( wireFormat, dataStructure, dataOut, bs );
+ TransactionIdMarshaller::tightMarshal2(wireFormat, dataStructure, dataOut, bs );
LocalTransactionId* info =
- dynamic_cast<LocalTransactionId*>( dataStructure );
- tightMarshalLong2( wireFormat, info->getValue(), dataOut, bs );
- tightMarshalCachedObject2( wireFormat, info->getConnectionId().get(), dataOut, bs );
+ dynamic_cast<LocalTransactionId*>(dataStructure);
+ tightMarshalLong2(wireFormat, info->getValue(), dataOut, bs);
+ tightMarshalCachedObject2(wireFormat, info->getConnectionId().get(), dataOut, bs);
}
- AMQ_CATCH_RETHROW( decaf::io::IOException )
- AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )
- AMQ_CATCHALL_THROW( decaf::io::IOException )
+ AMQ_CATCH_RETHROW(decaf::io::IOException)
+ AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException)
+ AMQ_CATCHALL_THROW(decaf::io::IOException)
}
///////////////////////////////////////////////////////////////////////////////
-void LocalTransactionIdMarshaller::looseUnmarshal( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn ) {
+void LocalTransactionIdMarshaller::looseUnmarshal(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn) {
try {
- TransactionIdMarshaller::looseUnmarshal( wireFormat, dataStructure, dataIn );
+ TransactionIdMarshaller::looseUnmarshal(wireFormat, dataStructure, dataIn);
LocalTransactionId* info =
- dynamic_cast<LocalTransactionId*>( dataStructure );
- info->setValue( looseUnmarshalLong( wireFormat, dataIn ) );
- info->setConnectionId( Pointer<ConnectionId>( dynamic_cast< ConnectionId* >(
- looseUnmarshalCachedObject( wireFormat, dataIn ) ) ) );
+ dynamic_cast<LocalTransactionId*>(dataStructure);
+ info->setValue(looseUnmarshalLong(wireFormat, dataIn));
+ info->setConnectionId(Pointer<ConnectionId>(dynamic_cast<ConnectionId*>(
+ looseUnmarshalCachedObject(wireFormat, dataIn))));
}
- AMQ_CATCH_RETHROW( decaf::io::IOException )
- AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )
- AMQ_CATCHALL_THROW( decaf::io::IOException )
+ AMQ_CATCH_RETHROW(decaf::io::IOException)
+ AMQ_CATCH_EXCEPTION_CONVERT(exceptions::ActiveMQException, decaf::io::IOException)
+ AMQ_CATCHALL_THROW(decaf::io::IOException)
}
///////////////////////////////////////////////////////////////////////////////
-void LocalTransactionIdMarshaller::looseMarshal( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut ) {
+void LocalTransactionIdMarshaller::looseMarshal(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut) {
try {
LocalTransactionId* info =
- dynamic_cast<LocalTransactionId*>( dataStructure );
- TransactionIdMarshaller::looseMarshal( wireFormat, dataStructure, dataOut );
- looseMarshalLong( wireFormat, info->getValue(), dataOut );
- looseMarshalCachedObject( wireFormat, info->getConnectionId().get(), dataOut );
+ dynamic_cast<LocalTransactionId*>(dataStructure);
+ TransactionIdMarshaller::looseMarshal(wireFormat, dataStructure, dataOut);
+ looseMarshalLong(wireFormat, info->getValue(), dataOut);
+ looseMarshalCachedObject(wireFormat, info->getConnectionId().get(), dataOut);
}
- AMQ_CATCH_RETHROW( decaf::io::IOException )
- AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )
- AMQ_CATCHALL_THROW( decaf::io::IOException )
+ AMQ_CATCH_RETHROW(decaf::io::IOException)
+ AMQ_CATCH_EXCEPTION_CONVERT(exceptions::ActiveMQException, decaf::io::IOException)
+ AMQ_CATCHALL_THROW(decaf::io::IOException)
}
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/LocalTransactionIdMarshaller.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/LocalTransactionIdMarshaller.h?rev=1460467&r1=1460466&r2=1460467&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/LocalTransactionIdMarshaller.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/LocalTransactionIdMarshaller.h Sun Mar 24 21:30:52 2013
@@ -33,11 +33,11 @@
#include <activemq/wireformat/openwire/OpenWireFormat.h>
#include <activemq/wireformat/openwire/utils/BooleanStream.h>
-namespace activemq{
-namespace wireformat{
-namespace openwire{
-namespace marshal{
-namespace generated{
+namespace activemq {
+namespace wireformat {
+namespace openwire {
+namespace marshal {
+namespace generated {
/**
* Marshaling code for Open Wire Format for LocalTransactionIdMarshaller
@@ -56,27 +56,27 @@ namespace generated{
virtual unsigned char getDataStructureType() const;
- virtual void tightUnmarshal( OpenWireFormat* wireFormat,
- commands::DataStructure* dataStructure,
- decaf::io::DataInputStream* dataIn,
- utils::BooleanStream* bs );
+ virtual void tightUnmarshal(OpenWireFormat* wireFormat,
+ commands::DataStructure* dataStructure,
+ decaf::io::DataInputStream* dataIn,
+ utils::BooleanStream* bs);
+
+ virtual int tightMarshal1(OpenWireFormat* wireFormat,
+ commands::DataStructure* dataStructure,
+ utils::BooleanStream* bs);
- virtual int tightMarshal1( OpenWireFormat* wireFormat,
+ virtual void tightMarshal2(OpenWireFormat* wireFormat,
commands::DataStructure* dataStructure,
- utils::BooleanStream* bs );
+ decaf::io::DataOutputStream* dataOut,
+ utils::BooleanStream* bs);
- virtual void tightMarshal2( OpenWireFormat* wireFormat,
+ virtual void looseUnmarshal(OpenWireFormat* wireFormat,
commands::DataStructure* dataStructure,
- decaf::io::DataOutputStream* dataOut,
- utils::BooleanStream* bs );
+ decaf::io::DataInputStream* dataIn);
- virtual void looseUnmarshal( OpenWireFormat* wireFormat,
- commands::DataStructure* dataStructure,
- decaf::io::DataInputStream* dataIn );
-
- virtual void looseMarshal( OpenWireFormat* wireFormat,
- commands::DataStructure* dataStructure,
- decaf::io::DataOutputStream* dataOut );
+ virtual void looseMarshal(OpenWireFormat* wireFormat,
+ commands::DataStructure* dataStructure,
+ decaf::io::DataOutputStream* dataOut);
};
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/MarshallerFactory.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/MarshallerFactory.cpp?rev=1460467&r1=1460466&r2=1460467&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/MarshallerFactory.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/MarshallerFactory.cpp Sun Mar 24 21:30:52 2013
@@ -90,63 +90,63 @@ using namespace activemq::wireformat::op
using namespace activemq::wireformat::openwire::marshal::generated;
///////////////////////////////////////////////////////////////////////////////
-void MarshallerFactory::configure( OpenWireFormat* format ) {
+void MarshallerFactory::configure(OpenWireFormat* format) {
- format->addMarshaller( new ActiveMQBlobMessageMarshaller() );
- format->addMarshaller( new ActiveMQBytesMessageMarshaller() );
- format->addMarshaller( new ActiveMQMapMessageMarshaller() );
- format->addMarshaller( new ActiveMQMessageMarshaller() );
- format->addMarshaller( new ActiveMQObjectMessageMarshaller() );
- format->addMarshaller( new ActiveMQQueueMarshaller() );
- format->addMarshaller( new ActiveMQStreamMessageMarshaller() );
- format->addMarshaller( new ActiveMQTempQueueMarshaller() );
- format->addMarshaller( new ActiveMQTempTopicMarshaller() );
- format->addMarshaller( new ActiveMQTextMessageMarshaller() );
- format->addMarshaller( new ActiveMQTopicMarshaller() );
- format->addMarshaller( new BrokerIdMarshaller() );
- format->addMarshaller( new BrokerInfoMarshaller() );
- format->addMarshaller( new ConnectionControlMarshaller() );
- format->addMarshaller( new ConnectionErrorMarshaller() );
- format->addMarshaller( new ConnectionIdMarshaller() );
- format->addMarshaller( new ConnectionInfoMarshaller() );
- format->addMarshaller( new ConsumerControlMarshaller() );
- format->addMarshaller( new ConsumerIdMarshaller() );
- format->addMarshaller( new ConsumerInfoMarshaller() );
- format->addMarshaller( new ControlCommandMarshaller() );
- format->addMarshaller( new DataArrayResponseMarshaller() );
- format->addMarshaller( new DataResponseMarshaller() );
- format->addMarshaller( new DestinationInfoMarshaller() );
- format->addMarshaller( new DiscoveryEventMarshaller() );
- format->addMarshaller( new ExceptionResponseMarshaller() );
- format->addMarshaller( new FlushCommandMarshaller() );
- format->addMarshaller( new IntegerResponseMarshaller() );
- format->addMarshaller( new JournalQueueAckMarshaller() );
- format->addMarshaller( new JournalTopicAckMarshaller() );
- format->addMarshaller( new JournalTraceMarshaller() );
- format->addMarshaller( new JournalTransactionMarshaller() );
- format->addMarshaller( new KeepAliveInfoMarshaller() );
- format->addMarshaller( new LastPartialCommandMarshaller() );
- format->addMarshaller( new LocalTransactionIdMarshaller() );
- format->addMarshaller( new MessageAckMarshaller() );
- format->addMarshaller( new MessageDispatchMarshaller() );
- format->addMarshaller( new MessageDispatchNotificationMarshaller() );
- format->addMarshaller( new MessageIdMarshaller() );
- format->addMarshaller( new MessagePullMarshaller() );
- format->addMarshaller( new NetworkBridgeFilterMarshaller() );
- format->addMarshaller( new PartialCommandMarshaller() );
- format->addMarshaller( new ProducerAckMarshaller() );
- format->addMarshaller( new ProducerIdMarshaller() );
- format->addMarshaller( new ProducerInfoMarshaller() );
- format->addMarshaller( new RemoveInfoMarshaller() );
- format->addMarshaller( new RemoveSubscriptionInfoMarshaller() );
- format->addMarshaller( new ReplayCommandMarshaller() );
- format->addMarshaller( new ResponseMarshaller() );
- format->addMarshaller( new SessionIdMarshaller() );
- format->addMarshaller( new SessionInfoMarshaller() );
- format->addMarshaller( new ShutdownInfoMarshaller() );
- format->addMarshaller( new SubscriptionInfoMarshaller() );
- format->addMarshaller( new TransactionInfoMarshaller() );
- format->addMarshaller( new WireFormatInfoMarshaller() );
- format->addMarshaller( new XATransactionIdMarshaller() );
+ format->addMarshaller(new ActiveMQBlobMessageMarshaller());
+ format->addMarshaller(new ActiveMQBytesMessageMarshaller());
+ format->addMarshaller(new ActiveMQMapMessageMarshaller());
+ format->addMarshaller(new ActiveMQMessageMarshaller());
+ format->addMarshaller(new ActiveMQObjectMessageMarshaller());
+ format->addMarshaller(new ActiveMQQueueMarshaller());
+ format->addMarshaller(new ActiveMQStreamMessageMarshaller());
+ format->addMarshaller(new ActiveMQTempQueueMarshaller());
+ format->addMarshaller(new ActiveMQTempTopicMarshaller());
+ format->addMarshaller(new ActiveMQTextMessageMarshaller());
+ format->addMarshaller(new ActiveMQTopicMarshaller());
+ format->addMarshaller(new BrokerIdMarshaller());
+ format->addMarshaller(new BrokerInfoMarshaller());
+ format->addMarshaller(new ConnectionControlMarshaller());
+ format->addMarshaller(new ConnectionErrorMarshaller());
+ format->addMarshaller(new ConnectionIdMarshaller());
+ format->addMarshaller(new ConnectionInfoMarshaller());
+ format->addMarshaller(new ConsumerControlMarshaller());
+ format->addMarshaller(new ConsumerIdMarshaller());
+ format->addMarshaller(new ConsumerInfoMarshaller());
+ format->addMarshaller(new ControlCommandMarshaller());
+ format->addMarshaller(new DataArrayResponseMarshaller());
+ format->addMarshaller(new DataResponseMarshaller());
+ format->addMarshaller(new DestinationInfoMarshaller());
+ format->addMarshaller(new DiscoveryEventMarshaller());
+ format->addMarshaller(new ExceptionResponseMarshaller());
+ format->addMarshaller(new FlushCommandMarshaller());
+ format->addMarshaller(new IntegerResponseMarshaller());
+ format->addMarshaller(new JournalQueueAckMarshaller());
+ format->addMarshaller(new JournalTopicAckMarshaller());
+ format->addMarshaller(new JournalTraceMarshaller());
+ format->addMarshaller(new JournalTransactionMarshaller());
+ format->addMarshaller(new KeepAliveInfoMarshaller());
+ format->addMarshaller(new LastPartialCommandMarshaller());
+ format->addMarshaller(new LocalTransactionIdMarshaller());
+ format->addMarshaller(new MessageAckMarshaller());
+ format->addMarshaller(new MessageDispatchMarshaller());
+ format->addMarshaller(new MessageDispatchNotificationMarshaller());
+ format->addMarshaller(new MessageIdMarshaller());
+ format->addMarshaller(new MessagePullMarshaller());
+ format->addMarshaller(new NetworkBridgeFilterMarshaller());
+ format->addMarshaller(new PartialCommandMarshaller());
+ format->addMarshaller(new ProducerAckMarshaller());
+ format->addMarshaller(new ProducerIdMarshaller());
+ format->addMarshaller(new ProducerInfoMarshaller());
+ format->addMarshaller(new RemoveInfoMarshaller());
+ format->addMarshaller(new RemoveSubscriptionInfoMarshaller());
+ format->addMarshaller(new ReplayCommandMarshaller());
+ format->addMarshaller(new ResponseMarshaller());
+ format->addMarshaller(new SessionIdMarshaller());
+ format->addMarshaller(new SessionInfoMarshaller());
+ format->addMarshaller(new ShutdownInfoMarshaller());
+ format->addMarshaller(new SubscriptionInfoMarshaller());
+ format->addMarshaller(new TransactionInfoMarshaller());
+ format->addMarshaller(new WireFormatInfoMarshaller());
+ format->addMarshaller(new XATransactionIdMarshaller());
}
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/MarshallerFactory.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/MarshallerFactory.h?rev=1460467&r1=1460466&r2=1460467&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/MarshallerFactory.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/MarshallerFactory.h Sun Mar 24 21:30:52 2013
@@ -24,11 +24,11 @@
#include <activemq/wireformat/openwire/OpenWireFormat.h>
-namespace activemq{
-namespace wireformat{
-namespace openwire{
-namespace marshal{
-namespace generated{
+namespace activemq {
+namespace wireformat {
+namespace openwire {
+namespace marshal {
+namespace generated {
/**
* Used to create marshallers for a specific version of the wire
@@ -43,7 +43,7 @@ namespace generated{
virtual ~MarshallerFactory() {};
- virtual void configure( OpenWireFormat* format );
+ virtual void configure(OpenWireFormat* format);
};
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/MessageAckMarshaller.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/MessageAckMarshaller.cpp?rev=1460467&r1=1460466&r2=1460467&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/MessageAckMarshaller.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/MessageAckMarshaller.cpp Sun Mar 24 21:30:52 2013
@@ -51,152 +51,152 @@ unsigned char MessageAckMarshaller::getD
}
///////////////////////////////////////////////////////////////////////////////
-void MessageAckMarshaller::tightUnmarshal( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn, BooleanStream* bs ) {
+void MessageAckMarshaller::tightUnmarshal(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn, BooleanStream* bs) {
try {
- BaseCommandMarshaller::tightUnmarshal( wireFormat, dataStructure, dataIn, bs );
+ BaseCommandMarshaller::tightUnmarshal(wireFormat, dataStructure, dataIn, bs);
MessageAck* info =
- dynamic_cast<MessageAck*>( dataStructure );
+ dynamic_cast<MessageAck*>(dataStructure);
int wireVersion = wireFormat->getVersion();
- info->setDestination( Pointer<ActiveMQDestination>( dynamic_cast< ActiveMQDestination* >(
- tightUnmarshalCachedObject( wireFormat, dataIn, bs ) ) ) );
- info->setTransactionId( Pointer<TransactionId>( dynamic_cast< TransactionId* >(
- tightUnmarshalCachedObject( wireFormat, dataIn, bs ) ) ) );
- info->setConsumerId( Pointer<ConsumerId>( dynamic_cast< ConsumerId* >(
- tightUnmarshalCachedObject( wireFormat, dataIn, bs ) ) ) );
- info->setAckType( dataIn->readByte() );
- info->setFirstMessageId( Pointer<MessageId>( dynamic_cast< MessageId* >(
- tightUnmarshalNestedObject( wireFormat, dataIn, bs ) ) ) );
- info->setLastMessageId( Pointer<MessageId>( dynamic_cast< MessageId* >(
- tightUnmarshalNestedObject( wireFormat, dataIn, bs ) ) ) );
- info->setMessageCount( dataIn->readInt() );
- if( wireVersion >= 7 ) {
- info->setPoisonCause( Pointer<BrokerError>( dynamic_cast< BrokerError* >(
- tightUnmarshalBrokerError( wireFormat, dataIn, bs ) ) ) );
+ info->setDestination(Pointer<ActiveMQDestination>(dynamic_cast<ActiveMQDestination* >(
+ tightUnmarshalCachedObject(wireFormat, dataIn, bs))));
+ info->setTransactionId(Pointer<TransactionId>(dynamic_cast<TransactionId* >(
+ tightUnmarshalCachedObject(wireFormat, dataIn, bs))));
+ info->setConsumerId(Pointer<ConsumerId>(dynamic_cast<ConsumerId* >(
+ tightUnmarshalCachedObject(wireFormat, dataIn, bs))));
+ info->setAckType(dataIn->readByte());
+ info->setFirstMessageId(Pointer<MessageId>(dynamic_cast<MessageId* >(
+ tightUnmarshalNestedObject(wireFormat, dataIn, bs))));
+ info->setLastMessageId(Pointer<MessageId>(dynamic_cast<MessageId* >(
+ tightUnmarshalNestedObject(wireFormat, dataIn, bs))));
+ info->setMessageCount(dataIn->readInt());
+ if (wireVersion >= 7) {
+ info->setPoisonCause(Pointer<BrokerError>(dynamic_cast<BrokerError* >(
+ tightUnmarshalBrokerError(wireFormat, dataIn, bs))));
}
}
- AMQ_CATCH_RETHROW( decaf::io::IOException )
- AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )
- AMQ_CATCHALL_THROW( decaf::io::IOException )
+ AMQ_CATCH_RETHROW(decaf::io::IOException)
+ AMQ_CATCH_EXCEPTION_CONVERT(exceptions::ActiveMQException, decaf::io::IOException)
+ AMQ_CATCHALL_THROW(decaf::io::IOException)
}
///////////////////////////////////////////////////////////////////////////////
-int MessageAckMarshaller::tightMarshal1( OpenWireFormat* wireFormat, DataStructure* dataStructure, BooleanStream* bs ) {
+int MessageAckMarshaller::tightMarshal1(OpenWireFormat* wireFormat, DataStructure* dataStructure, BooleanStream* bs) {
try {
MessageAck* info =
- dynamic_cast<MessageAck*>( dataStructure );
+ dynamic_cast<MessageAck*>(dataStructure);
- int rc = BaseCommandMarshaller::tightMarshal1( wireFormat, dataStructure, bs );
+ int rc = BaseCommandMarshaller::tightMarshal1(wireFormat, dataStructure, bs);
int wireVersion = wireFormat->getVersion();
- rc += tightMarshalCachedObject1( wireFormat, info->getDestination().get(), bs );
- rc += tightMarshalCachedObject1( wireFormat, info->getTransactionId().get(), bs );
- rc += tightMarshalCachedObject1( wireFormat, info->getConsumerId().get(), bs );
- rc += tightMarshalNestedObject1( wireFormat, info->getFirstMessageId().get(), bs );
- rc += tightMarshalNestedObject1( wireFormat, info->getLastMessageId().get(), bs );
- if( wireVersion >= 7 ) {
- rc += tightMarshalBrokerError1( wireFormat, info->getPoisonCause().get(), bs );
+ rc += tightMarshalCachedObject1(wireFormat, info->getDestination().get(), bs);
+ rc += tightMarshalCachedObject1(wireFormat, info->getTransactionId().get(), bs);
+ rc += tightMarshalCachedObject1(wireFormat, info->getConsumerId().get(), bs);
+ rc += tightMarshalNestedObject1(wireFormat, info->getFirstMessageId().get(), bs);
+ rc += tightMarshalNestedObject1(wireFormat, info->getLastMessageId().get(), bs);
+ if (wireVersion >= 7) {
+ rc += tightMarshalBrokerError1(wireFormat, info->getPoisonCause().get(), bs);
}
return rc + 5;
}
- AMQ_CATCH_RETHROW( decaf::io::IOException )
- AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )
- AMQ_CATCHALL_THROW( decaf::io::IOException )
+ AMQ_CATCH_RETHROW(decaf::io::IOException)
+ AMQ_CATCH_EXCEPTION_CONVERT(exceptions::ActiveMQException, decaf::io::IOException)
+ AMQ_CATCHALL_THROW(decaf::io::IOException)
}
///////////////////////////////////////////////////////////////////////////////
-void MessageAckMarshaller::tightMarshal2( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut, BooleanStream* bs ) {
+void MessageAckMarshaller::tightMarshal2(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut, BooleanStream* bs) {
try {
- BaseCommandMarshaller::tightMarshal2( wireFormat, dataStructure, dataOut, bs );
+ BaseCommandMarshaller::tightMarshal2(wireFormat, dataStructure, dataOut, bs );
MessageAck* info =
- dynamic_cast<MessageAck*>( dataStructure );
+ dynamic_cast<MessageAck*>(dataStructure);
int wireVersion = wireFormat->getVersion();
- tightMarshalCachedObject2( wireFormat, info->getDestination().get(), dataOut, bs );
- tightMarshalCachedObject2( wireFormat, info->getTransactionId().get(), dataOut, bs );
- tightMarshalCachedObject2( wireFormat, info->getConsumerId().get(), dataOut, bs );
- dataOut->write( info->getAckType() );
- tightMarshalNestedObject2( wireFormat, info->getFirstMessageId().get(), dataOut, bs );
- tightMarshalNestedObject2( wireFormat, info->getLastMessageId().get(), dataOut, bs );
- dataOut->writeInt( info->getMessageCount() );
- if( wireVersion >= 7 ) {
- tightMarshalBrokerError2( wireFormat, info->getPoisonCause().get(), dataOut, bs );
+ tightMarshalCachedObject2(wireFormat, info->getDestination().get(), dataOut, bs);
+ tightMarshalCachedObject2(wireFormat, info->getTransactionId().get(), dataOut, bs);
+ tightMarshalCachedObject2(wireFormat, info->getConsumerId().get(), dataOut, bs);
+ dataOut->write(info->getAckType());
+ tightMarshalNestedObject2(wireFormat, info->getFirstMessageId().get(), dataOut, bs);
+ tightMarshalNestedObject2(wireFormat, info->getLastMessageId().get(), dataOut, bs);
+ dataOut->writeInt(info->getMessageCount());
+ if (wireVersion >= 7) {
+ tightMarshalBrokerError2(wireFormat, info->getPoisonCause().get(), dataOut, bs);
}
}
- AMQ_CATCH_RETHROW( decaf::io::IOException )
- AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )
- AMQ_CATCHALL_THROW( decaf::io::IOException )
+ AMQ_CATCH_RETHROW(decaf::io::IOException)
+ AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException)
+ AMQ_CATCHALL_THROW(decaf::io::IOException)
}
///////////////////////////////////////////////////////////////////////////////
-void MessageAckMarshaller::looseUnmarshal( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn ) {
+void MessageAckMarshaller::looseUnmarshal(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn) {
try {
- BaseCommandMarshaller::looseUnmarshal( wireFormat, dataStructure, dataIn );
+ BaseCommandMarshaller::looseUnmarshal(wireFormat, dataStructure, dataIn);
MessageAck* info =
- dynamic_cast<MessageAck*>( dataStructure );
+ dynamic_cast<MessageAck*>(dataStructure);
int wireVersion = wireFormat->getVersion();
- info->setDestination( Pointer<ActiveMQDestination>( dynamic_cast< ActiveMQDestination* >(
- looseUnmarshalCachedObject( wireFormat, dataIn ) ) ) );
- info->setTransactionId( Pointer<TransactionId>( dynamic_cast< TransactionId* >(
- looseUnmarshalCachedObject( wireFormat, dataIn ) ) ) );
- info->setConsumerId( Pointer<ConsumerId>( dynamic_cast< ConsumerId* >(
- looseUnmarshalCachedObject( wireFormat, dataIn ) ) ) );
- info->setAckType( dataIn->readByte() );
- info->setFirstMessageId( Pointer<MessageId>( dynamic_cast< MessageId* >(
- looseUnmarshalNestedObject( wireFormat, dataIn ) ) ) );
- info->setLastMessageId( Pointer<MessageId>( dynamic_cast< MessageId* >(
- looseUnmarshalNestedObject( wireFormat, dataIn ) ) ) );
- info->setMessageCount( dataIn->readInt() );
- if( wireVersion >= 7 ) {
- info->setPoisonCause( Pointer<BrokerError>( dynamic_cast< BrokerError* >(
- looseUnmarshalBrokerError( wireFormat, dataIn ) ) ) );
+ info->setDestination(Pointer<ActiveMQDestination>(dynamic_cast<ActiveMQDestination*>(
+ looseUnmarshalCachedObject(wireFormat, dataIn))));
+ info->setTransactionId(Pointer<TransactionId>(dynamic_cast<TransactionId*>(
+ looseUnmarshalCachedObject(wireFormat, dataIn))));
+ info->setConsumerId(Pointer<ConsumerId>(dynamic_cast<ConsumerId*>(
+ looseUnmarshalCachedObject(wireFormat, dataIn))));
+ info->setAckType(dataIn->readByte());
+ info->setFirstMessageId(Pointer<MessageId>(dynamic_cast<MessageId*>(
+ looseUnmarshalNestedObject(wireFormat, dataIn))));
+ info->setLastMessageId(Pointer<MessageId>(dynamic_cast<MessageId*>(
+ looseUnmarshalNestedObject(wireFormat, dataIn))));
+ info->setMessageCount(dataIn->readInt());
+ if (wireVersion >= 7) {
+ info->setPoisonCause(Pointer<BrokerError>(dynamic_cast< BrokerError*>(
+ looseUnmarshalBrokerError(wireFormat, dataIn))));
}
}
- AMQ_CATCH_RETHROW( decaf::io::IOException )
- AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )
- AMQ_CATCHALL_THROW( decaf::io::IOException )
+ AMQ_CATCH_RETHROW(decaf::io::IOException)
+ AMQ_CATCH_EXCEPTION_CONVERT(exceptions::ActiveMQException, decaf::io::IOException)
+ AMQ_CATCHALL_THROW(decaf::io::IOException)
}
///////////////////////////////////////////////////////////////////////////////
-void MessageAckMarshaller::looseMarshal( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut ) {
+void MessageAckMarshaller::looseMarshal(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut) {
try {
MessageAck* info =
- dynamic_cast<MessageAck*>( dataStructure );
- BaseCommandMarshaller::looseMarshal( wireFormat, dataStructure, dataOut );
+ dynamic_cast<MessageAck*>(dataStructure);
+ BaseCommandMarshaller::looseMarshal(wireFormat, dataStructure, dataOut);
int wireVersion = wireFormat->getVersion();
- looseMarshalCachedObject( wireFormat, info->getDestination().get(), dataOut );
- looseMarshalCachedObject( wireFormat, info->getTransactionId().get(), dataOut );
- looseMarshalCachedObject( wireFormat, info->getConsumerId().get(), dataOut );
- dataOut->write( info->getAckType() );
- looseMarshalNestedObject( wireFormat, info->getFirstMessageId().get(), dataOut );
- looseMarshalNestedObject( wireFormat, info->getLastMessageId().get(), dataOut );
- dataOut->writeInt( info->getMessageCount() );
- if( wireVersion >= 7 ) {
- looseMarshalBrokerError( wireFormat, info->getPoisonCause().get(), dataOut );
+ looseMarshalCachedObject(wireFormat, info->getDestination().get(), dataOut);
+ looseMarshalCachedObject(wireFormat, info->getTransactionId().get(), dataOut);
+ looseMarshalCachedObject(wireFormat, info->getConsumerId().get(), dataOut);
+ dataOut->write(info->getAckType());
+ looseMarshalNestedObject(wireFormat, info->getFirstMessageId().get(), dataOut);
+ looseMarshalNestedObject(wireFormat, info->getLastMessageId().get(), dataOut);
+ dataOut->writeInt(info->getMessageCount());
+ if (wireVersion >= 7) {
+ looseMarshalBrokerError(wireFormat, info->getPoisonCause().get(), dataOut);
}
}
- AMQ_CATCH_RETHROW( decaf::io::IOException )
- AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )
- AMQ_CATCHALL_THROW( decaf::io::IOException )
+ AMQ_CATCH_RETHROW(decaf::io::IOException)
+ AMQ_CATCH_EXCEPTION_CONVERT(exceptions::ActiveMQException, decaf::io::IOException)
+ AMQ_CATCHALL_THROW(decaf::io::IOException)
}
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/MessageAckMarshaller.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/MessageAckMarshaller.h?rev=1460467&r1=1460466&r2=1460467&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/MessageAckMarshaller.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/MessageAckMarshaller.h Sun Mar 24 21:30:52 2013
@@ -33,11 +33,11 @@
#include <activemq/wireformat/openwire/OpenWireFormat.h>
#include <activemq/wireformat/openwire/utils/BooleanStream.h>
-namespace activemq{
-namespace wireformat{
-namespace openwire{
-namespace marshal{
-namespace generated{
+namespace activemq {
+namespace wireformat {
+namespace openwire {
+namespace marshal {
+namespace generated {
/**
* Marshaling code for Open Wire Format for MessageAckMarshaller
@@ -56,27 +56,27 @@ namespace generated{
virtual unsigned char getDataStructureType() const;
- virtual void tightUnmarshal( OpenWireFormat* wireFormat,
- commands::DataStructure* dataStructure,
- decaf::io::DataInputStream* dataIn,
- utils::BooleanStream* bs );
+ virtual void tightUnmarshal(OpenWireFormat* wireFormat,
+ commands::DataStructure* dataStructure,
+ decaf::io::DataInputStream* dataIn,
+ utils::BooleanStream* bs);
+
+ virtual int tightMarshal1(OpenWireFormat* wireFormat,
+ commands::DataStructure* dataStructure,
+ utils::BooleanStream* bs);
- virtual int tightMarshal1( OpenWireFormat* wireFormat,
+ virtual void tightMarshal2(OpenWireFormat* wireFormat,
commands::DataStructure* dataStructure,
- utils::BooleanStream* bs );
+ decaf::io::DataOutputStream* dataOut,
+ utils::BooleanStream* bs);
- virtual void tightMarshal2( OpenWireFormat* wireFormat,
+ virtual void looseUnmarshal(OpenWireFormat* wireFormat,
commands::DataStructure* dataStructure,
- decaf::io::DataOutputStream* dataOut,
- utils::BooleanStream* bs );
+ decaf::io::DataInputStream* dataIn);
- virtual void looseUnmarshal( OpenWireFormat* wireFormat,
- commands::DataStructure* dataStructure,
- decaf::io::DataInputStream* dataIn );
-
- virtual void looseMarshal( OpenWireFormat* wireFormat,
- commands::DataStructure* dataStructure,
- decaf::io::DataOutputStream* dataOut );
+ virtual void looseMarshal(OpenWireFormat* wireFormat,
+ commands::DataStructure* dataStructure,
+ decaf::io::DataOutputStream* dataOut);
};
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/MessageDispatchMarshaller.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/MessageDispatchMarshaller.cpp?rev=1460467&r1=1460466&r2=1460467&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/MessageDispatchMarshaller.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/MessageDispatchMarshaller.cpp Sun Mar 24 21:30:52 2013
@@ -51,102 +51,102 @@ unsigned char MessageDispatchMarshaller:
}
///////////////////////////////////////////////////////////////////////////////
-void MessageDispatchMarshaller::tightUnmarshal( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn, BooleanStream* bs ) {
+void MessageDispatchMarshaller::tightUnmarshal(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn, BooleanStream* bs) {
try {
- BaseCommandMarshaller::tightUnmarshal( wireFormat, dataStructure, dataIn, bs );
+ BaseCommandMarshaller::tightUnmarshal(wireFormat, dataStructure, dataIn, bs);
MessageDispatch* info =
- dynamic_cast<MessageDispatch*>( dataStructure );
- info->setConsumerId( Pointer<ConsumerId>( dynamic_cast< ConsumerId* >(
- tightUnmarshalCachedObject( wireFormat, dataIn, bs ) ) ) );
- info->setDestination( Pointer<ActiveMQDestination>( dynamic_cast< ActiveMQDestination* >(
- tightUnmarshalCachedObject( wireFormat, dataIn, bs ) ) ) );
- info->setMessage( Pointer<Message>( dynamic_cast< Message* >(
- tightUnmarshalNestedObject( wireFormat, dataIn, bs ) ) ) );
- info->setRedeliveryCounter( dataIn->readInt() );
+ dynamic_cast<MessageDispatch*>(dataStructure);
+ info->setConsumerId(Pointer<ConsumerId>(dynamic_cast<ConsumerId* >(
+ tightUnmarshalCachedObject(wireFormat, dataIn, bs))));
+ info->setDestination(Pointer<ActiveMQDestination>(dynamic_cast<ActiveMQDestination* >(
+ tightUnmarshalCachedObject(wireFormat, dataIn, bs))));
+ info->setMessage(Pointer<Message>(dynamic_cast<Message* >(
+ tightUnmarshalNestedObject(wireFormat, dataIn, bs))));
+ info->setRedeliveryCounter(dataIn->readInt());
}
- AMQ_CATCH_RETHROW( decaf::io::IOException )
- AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )
- AMQ_CATCHALL_THROW( decaf::io::IOException )
+ AMQ_CATCH_RETHROW(decaf::io::IOException)
+ AMQ_CATCH_EXCEPTION_CONVERT(exceptions::ActiveMQException, decaf::io::IOException)
+ AMQ_CATCHALL_THROW(decaf::io::IOException)
}
///////////////////////////////////////////////////////////////////////////////
-int MessageDispatchMarshaller::tightMarshal1( OpenWireFormat* wireFormat, DataStructure* dataStructure, BooleanStream* bs ) {
+int MessageDispatchMarshaller::tightMarshal1(OpenWireFormat* wireFormat, DataStructure* dataStructure, BooleanStream* bs) {
try {
MessageDispatch* info =
- dynamic_cast<MessageDispatch*>( dataStructure );
+ dynamic_cast<MessageDispatch*>(dataStructure);
- int rc = BaseCommandMarshaller::tightMarshal1( wireFormat, dataStructure, bs );
- rc += tightMarshalCachedObject1( wireFormat, info->getConsumerId().get(), bs );
- rc += tightMarshalCachedObject1( wireFormat, info->getDestination().get(), bs );
- rc += tightMarshalNestedObject1( wireFormat, info->getMessage().get(), bs );
+ int rc = BaseCommandMarshaller::tightMarshal1(wireFormat, dataStructure, bs);
+ rc += tightMarshalCachedObject1(wireFormat, info->getConsumerId().get(), bs);
+ rc += tightMarshalCachedObject1(wireFormat, info->getDestination().get(), bs);
+ rc += tightMarshalNestedObject1(wireFormat, info->getMessage().get(), bs);
return rc + 4;
}
- AMQ_CATCH_RETHROW( decaf::io::IOException )
- AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )
- AMQ_CATCHALL_THROW( decaf::io::IOException )
+ AMQ_CATCH_RETHROW(decaf::io::IOException)
+ AMQ_CATCH_EXCEPTION_CONVERT(exceptions::ActiveMQException, decaf::io::IOException)
+ AMQ_CATCHALL_THROW(decaf::io::IOException)
}
///////////////////////////////////////////////////////////////////////////////
-void MessageDispatchMarshaller::tightMarshal2( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut, BooleanStream* bs ) {
+void MessageDispatchMarshaller::tightMarshal2(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut, BooleanStream* bs) {
try {
- BaseCommandMarshaller::tightMarshal2( wireFormat, dataStructure, dataOut, bs );
+ BaseCommandMarshaller::tightMarshal2(wireFormat, dataStructure, dataOut, bs );
MessageDispatch* info =
- dynamic_cast<MessageDispatch*>( dataStructure );
- tightMarshalCachedObject2( wireFormat, info->getConsumerId().get(), dataOut, bs );
- tightMarshalCachedObject2( wireFormat, info->getDestination().get(), dataOut, bs );
- tightMarshalNestedObject2( wireFormat, info->getMessage().get(), dataOut, bs );
- dataOut->writeInt( info->getRedeliveryCounter() );
+ dynamic_cast<MessageDispatch*>(dataStructure);
+ tightMarshalCachedObject2(wireFormat, info->getConsumerId().get(), dataOut, bs);
+ tightMarshalCachedObject2(wireFormat, info->getDestination().get(), dataOut, bs);
+ tightMarshalNestedObject2(wireFormat, info->getMessage().get(), dataOut, bs);
+ dataOut->writeInt(info->getRedeliveryCounter());
}
- AMQ_CATCH_RETHROW( decaf::io::IOException )
- AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )
- AMQ_CATCHALL_THROW( decaf::io::IOException )
+ AMQ_CATCH_RETHROW(decaf::io::IOException)
+ AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException)
+ AMQ_CATCHALL_THROW(decaf::io::IOException)
}
///////////////////////////////////////////////////////////////////////////////
-void MessageDispatchMarshaller::looseUnmarshal( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn ) {
+void MessageDispatchMarshaller::looseUnmarshal(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn) {
try {
- BaseCommandMarshaller::looseUnmarshal( wireFormat, dataStructure, dataIn );
+ BaseCommandMarshaller::looseUnmarshal(wireFormat, dataStructure, dataIn);
MessageDispatch* info =
- dynamic_cast<MessageDispatch*>( dataStructure );
- info->setConsumerId( Pointer<ConsumerId>( dynamic_cast< ConsumerId* >(
- looseUnmarshalCachedObject( wireFormat, dataIn ) ) ) );
- info->setDestination( Pointer<ActiveMQDestination>( dynamic_cast< ActiveMQDestination* >(
- looseUnmarshalCachedObject( wireFormat, dataIn ) ) ) );
- info->setMessage( Pointer<Message>( dynamic_cast< Message* >(
- looseUnmarshalNestedObject( wireFormat, dataIn ) ) ) );
- info->setRedeliveryCounter( dataIn->readInt() );
+ dynamic_cast<MessageDispatch*>(dataStructure);
+ info->setConsumerId(Pointer<ConsumerId>(dynamic_cast<ConsumerId*>(
+ looseUnmarshalCachedObject(wireFormat, dataIn))));
+ info->setDestination(Pointer<ActiveMQDestination>(dynamic_cast<ActiveMQDestination*>(
+ looseUnmarshalCachedObject(wireFormat, dataIn))));
+ info->setMessage(Pointer<Message>(dynamic_cast<Message*>(
+ looseUnmarshalNestedObject(wireFormat, dataIn))));
+ info->setRedeliveryCounter(dataIn->readInt());
}
- AMQ_CATCH_RETHROW( decaf::io::IOException )
- AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )
- AMQ_CATCHALL_THROW( decaf::io::IOException )
+ AMQ_CATCH_RETHROW(decaf::io::IOException)
+ AMQ_CATCH_EXCEPTION_CONVERT(exceptions::ActiveMQException, decaf::io::IOException)
+ AMQ_CATCHALL_THROW(decaf::io::IOException)
}
///////////////////////////////////////////////////////////////////////////////
-void MessageDispatchMarshaller::looseMarshal( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut ) {
+void MessageDispatchMarshaller::looseMarshal(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut) {
try {
MessageDispatch* info =
- dynamic_cast<MessageDispatch*>( dataStructure );
- BaseCommandMarshaller::looseMarshal( wireFormat, dataStructure, dataOut );
- looseMarshalCachedObject( wireFormat, info->getConsumerId().get(), dataOut );
- looseMarshalCachedObject( wireFormat, info->getDestination().get(), dataOut );
- looseMarshalNestedObject( wireFormat, info->getMessage().get(), dataOut );
- dataOut->writeInt( info->getRedeliveryCounter() );
+ dynamic_cast<MessageDispatch*>(dataStructure);
+ BaseCommandMarshaller::looseMarshal(wireFormat, dataStructure, dataOut);
+ looseMarshalCachedObject(wireFormat, info->getConsumerId().get(), dataOut);
+ looseMarshalCachedObject(wireFormat, info->getDestination().get(), dataOut);
+ looseMarshalNestedObject(wireFormat, info->getMessage().get(), dataOut);
+ dataOut->writeInt(info->getRedeliveryCounter());
}
- AMQ_CATCH_RETHROW( decaf::io::IOException )
- AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )
- AMQ_CATCHALL_THROW( decaf::io::IOException )
+ AMQ_CATCH_RETHROW(decaf::io::IOException)
+ AMQ_CATCH_EXCEPTION_CONVERT(exceptions::ActiveMQException, decaf::io::IOException)
+ AMQ_CATCHALL_THROW(decaf::io::IOException)
}
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/MessageDispatchMarshaller.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/MessageDispatchMarshaller.h?rev=1460467&r1=1460466&r2=1460467&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/MessageDispatchMarshaller.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/MessageDispatchMarshaller.h Sun Mar 24 21:30:52 2013
@@ -33,11 +33,11 @@
#include <activemq/wireformat/openwire/OpenWireFormat.h>
#include <activemq/wireformat/openwire/utils/BooleanStream.h>
-namespace activemq{
-namespace wireformat{
-namespace openwire{
-namespace marshal{
-namespace generated{
+namespace activemq {
+namespace wireformat {
+namespace openwire {
+namespace marshal {
+namespace generated {
/**
* Marshaling code for Open Wire Format for MessageDispatchMarshaller
@@ -56,27 +56,27 @@ namespace generated{
virtual unsigned char getDataStructureType() const;
- virtual void tightUnmarshal( OpenWireFormat* wireFormat,
- commands::DataStructure* dataStructure,
- decaf::io::DataInputStream* dataIn,
- utils::BooleanStream* bs );
+ virtual void tightUnmarshal(OpenWireFormat* wireFormat,
+ commands::DataStructure* dataStructure,
+ decaf::io::DataInputStream* dataIn,
+ utils::BooleanStream* bs);
+
+ virtual int tightMarshal1(OpenWireFormat* wireFormat,
+ commands::DataStructure* dataStructure,
+ utils::BooleanStream* bs);
- virtual int tightMarshal1( OpenWireFormat* wireFormat,
+ virtual void tightMarshal2(OpenWireFormat* wireFormat,
commands::DataStructure* dataStructure,
- utils::BooleanStream* bs );
+ decaf::io::DataOutputStream* dataOut,
+ utils::BooleanStream* bs);
- virtual void tightMarshal2( OpenWireFormat* wireFormat,
+ virtual void looseUnmarshal(OpenWireFormat* wireFormat,
commands::DataStructure* dataStructure,
- decaf::io::DataOutputStream* dataOut,
- utils::BooleanStream* bs );
+ decaf::io::DataInputStream* dataIn);
- virtual void looseUnmarshal( OpenWireFormat* wireFormat,
- commands::DataStructure* dataStructure,
- decaf::io::DataInputStream* dataIn );
-
- virtual void looseMarshal( OpenWireFormat* wireFormat,
- commands::DataStructure* dataStructure,
- decaf::io::DataOutputStream* dataOut );
+ virtual void looseMarshal(OpenWireFormat* wireFormat,
+ commands::DataStructure* dataStructure,
+ decaf::io::DataOutputStream* dataOut);
};
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/MessageDispatchNotificationMarshaller.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/MessageDispatchNotificationMarshaller.cpp?rev=1460467&r1=1460466&r2=1460467&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/MessageDispatchNotificationMarshaller.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/MessageDispatchNotificationMarshaller.cpp Sun Mar 24 21:30:52 2013
@@ -51,103 +51,103 @@ unsigned char MessageDispatchNotificatio
}
///////////////////////////////////////////////////////////////////////////////
-void MessageDispatchNotificationMarshaller::tightUnmarshal( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn, BooleanStream* bs ) {
+void MessageDispatchNotificationMarshaller::tightUnmarshal(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn, BooleanStream* bs) {
try {
- BaseCommandMarshaller::tightUnmarshal( wireFormat, dataStructure, dataIn, bs );
+ BaseCommandMarshaller::tightUnmarshal(wireFormat, dataStructure, dataIn, bs);
MessageDispatchNotification* info =
- dynamic_cast<MessageDispatchNotification*>( dataStructure );
- info->setConsumerId( Pointer<ConsumerId>( dynamic_cast< ConsumerId* >(
- tightUnmarshalCachedObject( wireFormat, dataIn, bs ) ) ) );
- info->setDestination( Pointer<ActiveMQDestination>( dynamic_cast< ActiveMQDestination* >(
- tightUnmarshalCachedObject( wireFormat, dataIn, bs ) ) ) );
- info->setDeliverySequenceId( tightUnmarshalLong( wireFormat, dataIn, bs ) );
- info->setMessageId( Pointer<MessageId>( dynamic_cast< MessageId* >(
- tightUnmarshalNestedObject( wireFormat, dataIn, bs ) ) ) );
+ dynamic_cast<MessageDispatchNotification*>(dataStructure);
+ info->setConsumerId(Pointer<ConsumerId>(dynamic_cast<ConsumerId* >(
+ tightUnmarshalCachedObject(wireFormat, dataIn, bs))));
+ info->setDestination(Pointer<ActiveMQDestination>(dynamic_cast<ActiveMQDestination* >(
+ tightUnmarshalCachedObject(wireFormat, dataIn, bs))));
+ info->setDeliverySequenceId(tightUnmarshalLong(wireFormat, dataIn, bs));
+ info->setMessageId(Pointer<MessageId>(dynamic_cast<MessageId* >(
+ tightUnmarshalNestedObject(wireFormat, dataIn, bs))));
}
- AMQ_CATCH_RETHROW( decaf::io::IOException )
- AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )
- AMQ_CATCHALL_THROW( decaf::io::IOException )
+ AMQ_CATCH_RETHROW(decaf::io::IOException)
+ AMQ_CATCH_EXCEPTION_CONVERT(exceptions::ActiveMQException, decaf::io::IOException)
+ AMQ_CATCHALL_THROW(decaf::io::IOException)
}
///////////////////////////////////////////////////////////////////////////////
-int MessageDispatchNotificationMarshaller::tightMarshal1( OpenWireFormat* wireFormat, DataStructure* dataStructure, BooleanStream* bs ) {
+int MessageDispatchNotificationMarshaller::tightMarshal1(OpenWireFormat* wireFormat, DataStructure* dataStructure, BooleanStream* bs) {
try {
MessageDispatchNotification* info =
- dynamic_cast<MessageDispatchNotification*>( dataStructure );
+ dynamic_cast<MessageDispatchNotification*>(dataStructure);
- int rc = BaseCommandMarshaller::tightMarshal1( wireFormat, dataStructure, bs );
- rc += tightMarshalCachedObject1( wireFormat, info->getConsumerId().get(), bs );
- rc += tightMarshalCachedObject1( wireFormat, info->getDestination().get(), bs );
- rc += tightMarshalLong1( wireFormat, info->getDeliverySequenceId(), bs );
- rc += tightMarshalNestedObject1( wireFormat, info->getMessageId().get(), bs );
+ int rc = BaseCommandMarshaller::tightMarshal1(wireFormat, dataStructure, bs);
+ rc += tightMarshalCachedObject1(wireFormat, info->getConsumerId().get(), bs);
+ rc += tightMarshalCachedObject1(wireFormat, info->getDestination().get(), bs);
+ rc += tightMarshalLong1(wireFormat, info->getDeliverySequenceId(), bs);
+ rc += tightMarshalNestedObject1(wireFormat, info->getMessageId().get(), bs);
return rc + 0;
}
- AMQ_CATCH_RETHROW( decaf::io::IOException )
- AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )
- AMQ_CATCHALL_THROW( decaf::io::IOException )
+ AMQ_CATCH_RETHROW(decaf::io::IOException)
+ AMQ_CATCH_EXCEPTION_CONVERT(exceptions::ActiveMQException, decaf::io::IOException)
+ AMQ_CATCHALL_THROW(decaf::io::IOException)
}
///////////////////////////////////////////////////////////////////////////////
-void MessageDispatchNotificationMarshaller::tightMarshal2( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut, BooleanStream* bs ) {
+void MessageDispatchNotificationMarshaller::tightMarshal2(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut, BooleanStream* bs) {
try {
- BaseCommandMarshaller::tightMarshal2( wireFormat, dataStructure, dataOut, bs );
+ BaseCommandMarshaller::tightMarshal2(wireFormat, dataStructure, dataOut, bs );
MessageDispatchNotification* info =
- dynamic_cast<MessageDispatchNotification*>( dataStructure );
- tightMarshalCachedObject2( wireFormat, info->getConsumerId().get(), dataOut, bs );
- tightMarshalCachedObject2( wireFormat, info->getDestination().get(), dataOut, bs );
- tightMarshalLong2( wireFormat, info->getDeliverySequenceId(), dataOut, bs );
- tightMarshalNestedObject2( wireFormat, info->getMessageId().get(), dataOut, bs );
+ dynamic_cast<MessageDispatchNotification*>(dataStructure);
+ tightMarshalCachedObject2(wireFormat, info->getConsumerId().get(), dataOut, bs);
+ tightMarshalCachedObject2(wireFormat, info->getDestination().get(), dataOut, bs);
+ tightMarshalLong2(wireFormat, info->getDeliverySequenceId(), dataOut, bs);
+ tightMarshalNestedObject2(wireFormat, info->getMessageId().get(), dataOut, bs);
}
- AMQ_CATCH_RETHROW( decaf::io::IOException )
- AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )
- AMQ_CATCHALL_THROW( decaf::io::IOException )
+ AMQ_CATCH_RETHROW(decaf::io::IOException)
+ AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException)
+ AMQ_CATCHALL_THROW(decaf::io::IOException)
}
///////////////////////////////////////////////////////////////////////////////
-void MessageDispatchNotificationMarshaller::looseUnmarshal( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn ) {
+void MessageDispatchNotificationMarshaller::looseUnmarshal(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn) {
try {
- BaseCommandMarshaller::looseUnmarshal( wireFormat, dataStructure, dataIn );
+ BaseCommandMarshaller::looseUnmarshal(wireFormat, dataStructure, dataIn);
MessageDispatchNotification* info =
- dynamic_cast<MessageDispatchNotification*>( dataStructure );
- info->setConsumerId( Pointer<ConsumerId>( dynamic_cast< ConsumerId* >(
- looseUnmarshalCachedObject( wireFormat, dataIn ) ) ) );
- info->setDestination( Pointer<ActiveMQDestination>( dynamic_cast< ActiveMQDestination* >(
- looseUnmarshalCachedObject( wireFormat, dataIn ) ) ) );
- info->setDeliverySequenceId( looseUnmarshalLong( wireFormat, dataIn ) );
- info->setMessageId( Pointer<MessageId>( dynamic_cast< MessageId* >(
- looseUnmarshalNestedObject( wireFormat, dataIn ) ) ) );
+ dynamic_cast<MessageDispatchNotification*>(dataStructure);
+ info->setConsumerId(Pointer<ConsumerId>(dynamic_cast<ConsumerId*>(
+ looseUnmarshalCachedObject(wireFormat, dataIn))));
+ info->setDestination(Pointer<ActiveMQDestination>(dynamic_cast<ActiveMQDestination*>(
+ looseUnmarshalCachedObject(wireFormat, dataIn))));
+ info->setDeliverySequenceId(looseUnmarshalLong(wireFormat, dataIn));
+ info->setMessageId(Pointer<MessageId>(dynamic_cast<MessageId*>(
+ looseUnmarshalNestedObject(wireFormat, dataIn))));
}
- AMQ_CATCH_RETHROW( decaf::io::IOException )
- AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )
- AMQ_CATCHALL_THROW( decaf::io::IOException )
+ AMQ_CATCH_RETHROW(decaf::io::IOException)
+ AMQ_CATCH_EXCEPTION_CONVERT(exceptions::ActiveMQException, decaf::io::IOException)
+ AMQ_CATCHALL_THROW(decaf::io::IOException)
}
///////////////////////////////////////////////////////////////////////////////
-void MessageDispatchNotificationMarshaller::looseMarshal( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut ) {
+void MessageDispatchNotificationMarshaller::looseMarshal(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut) {
try {
MessageDispatchNotification* info =
- dynamic_cast<MessageDispatchNotification*>( dataStructure );
- BaseCommandMarshaller::looseMarshal( wireFormat, dataStructure, dataOut );
- looseMarshalCachedObject( wireFormat, info->getConsumerId().get(), dataOut );
- looseMarshalCachedObject( wireFormat, info->getDestination().get(), dataOut );
- looseMarshalLong( wireFormat, info->getDeliverySequenceId(), dataOut );
- looseMarshalNestedObject( wireFormat, info->getMessageId().get(), dataOut );
+ dynamic_cast<MessageDispatchNotification*>(dataStructure);
+ BaseCommandMarshaller::looseMarshal(wireFormat, dataStructure, dataOut);
+ looseMarshalCachedObject(wireFormat, info->getConsumerId().get(), dataOut);
+ looseMarshalCachedObject(wireFormat, info->getDestination().get(), dataOut);
+ looseMarshalLong(wireFormat, info->getDeliverySequenceId(), dataOut);
+ looseMarshalNestedObject(wireFormat, info->getMessageId().get(), dataOut);
}
- AMQ_CATCH_RETHROW( decaf::io::IOException )
- AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )
- AMQ_CATCHALL_THROW( decaf::io::IOException )
+ AMQ_CATCH_RETHROW(decaf::io::IOException)
+ AMQ_CATCH_EXCEPTION_CONVERT(exceptions::ActiveMQException, decaf::io::IOException)
+ AMQ_CATCHALL_THROW(decaf::io::IOException)
}
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/MessageDispatchNotificationMarshaller.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/MessageDispatchNotificationMarshaller.h?rev=1460467&r1=1460466&r2=1460467&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/MessageDispatchNotificationMarshaller.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/MessageDispatchNotificationMarshaller.h Sun Mar 24 21:30:52 2013
@@ -33,11 +33,11 @@
#include <activemq/wireformat/openwire/OpenWireFormat.h>
#include <activemq/wireformat/openwire/utils/BooleanStream.h>
-namespace activemq{
-namespace wireformat{
-namespace openwire{
-namespace marshal{
-namespace generated{
+namespace activemq {
+namespace wireformat {
+namespace openwire {
+namespace marshal {
+namespace generated {
/**
* Marshaling code for Open Wire Format for MessageDispatchNotificationMarshaller
@@ -56,27 +56,27 @@ namespace generated{
virtual unsigned char getDataStructureType() const;
- virtual void tightUnmarshal( OpenWireFormat* wireFormat,
- commands::DataStructure* dataStructure,
- decaf::io::DataInputStream* dataIn,
- utils::BooleanStream* bs );
+ virtual void tightUnmarshal(OpenWireFormat* wireFormat,
+ commands::DataStructure* dataStructure,
+ decaf::io::DataInputStream* dataIn,
+ utils::BooleanStream* bs);
+
+ virtual int tightMarshal1(OpenWireFormat* wireFormat,
+ commands::DataStructure* dataStructure,
+ utils::BooleanStream* bs);
- virtual int tightMarshal1( OpenWireFormat* wireFormat,
+ virtual void tightMarshal2(OpenWireFormat* wireFormat,
commands::DataStructure* dataStructure,
- utils::BooleanStream* bs );
+ decaf::io::DataOutputStream* dataOut,
+ utils::BooleanStream* bs);
- virtual void tightMarshal2( OpenWireFormat* wireFormat,
+ virtual void looseUnmarshal(OpenWireFormat* wireFormat,
commands::DataStructure* dataStructure,
- decaf::io::DataOutputStream* dataOut,
- utils::BooleanStream* bs );
+ decaf::io::DataInputStream* dataIn);
- virtual void looseUnmarshal( OpenWireFormat* wireFormat,
- commands::DataStructure* dataStructure,
- decaf::io::DataInputStream* dataIn );
-
- virtual void looseMarshal( OpenWireFormat* wireFormat,
- commands::DataStructure* dataStructure,
- decaf::io::DataOutputStream* dataOut );
+ virtual void looseMarshal(OpenWireFormat* wireFormat,
+ commands::DataStructure* dataStructure,
+ decaf::io::DataOutputStream* dataOut);
};
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/MessageIdMarshaller.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/MessageIdMarshaller.cpp?rev=1460467&r1=1460466&r2=1460467&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/MessageIdMarshaller.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/MessageIdMarshaller.cpp Sun Mar 24 21:30:52 2013
@@ -51,94 +51,94 @@ unsigned char MessageIdMarshaller::getDa
}
///////////////////////////////////////////////////////////////////////////////
-void MessageIdMarshaller::tightUnmarshal( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn, BooleanStream* bs ) {
+void MessageIdMarshaller::tightUnmarshal(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn, BooleanStream* bs) {
try {
- BaseDataStreamMarshaller::tightUnmarshal( wireFormat, dataStructure, dataIn, bs );
+ BaseDataStreamMarshaller::tightUnmarshal(wireFormat, dataStructure, dataIn, bs);
MessageId* info =
- dynamic_cast<MessageId*>( dataStructure );
- info->setProducerId( Pointer<ProducerId>( dynamic_cast< ProducerId* >(
- tightUnmarshalCachedObject( wireFormat, dataIn, bs ) ) ) );
- info->setProducerSequenceId( tightUnmarshalLong( wireFormat, dataIn, bs ) );
- info->setBrokerSequenceId( tightUnmarshalLong( wireFormat, dataIn, bs ) );
+ dynamic_cast<MessageId*>(dataStructure);
+ info->setProducerId(Pointer<ProducerId>(dynamic_cast<ProducerId* >(
+ tightUnmarshalCachedObject(wireFormat, dataIn, bs))));
+ info->setProducerSequenceId(tightUnmarshalLong(wireFormat, dataIn, bs));
+ info->setBrokerSequenceId(tightUnmarshalLong(wireFormat, dataIn, bs));
}
- AMQ_CATCH_RETHROW( decaf::io::IOException )
- AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )
- AMQ_CATCHALL_THROW( decaf::io::IOException )
+ AMQ_CATCH_RETHROW(decaf::io::IOException)
+ AMQ_CATCH_EXCEPTION_CONVERT(exceptions::ActiveMQException, decaf::io::IOException)
+ AMQ_CATCHALL_THROW(decaf::io::IOException)
}
///////////////////////////////////////////////////////////////////////////////
-int MessageIdMarshaller::tightMarshal1( OpenWireFormat* wireFormat, DataStructure* dataStructure, BooleanStream* bs ) {
+int MessageIdMarshaller::tightMarshal1(OpenWireFormat* wireFormat, DataStructure* dataStructure, BooleanStream* bs) {
try {
MessageId* info =
- dynamic_cast<MessageId*>( dataStructure );
+ dynamic_cast<MessageId*>(dataStructure);
- int rc = BaseDataStreamMarshaller::tightMarshal1( wireFormat, dataStructure, bs );
- rc += tightMarshalCachedObject1( wireFormat, info->getProducerId().get(), bs );
- rc += tightMarshalLong1( wireFormat, info->getProducerSequenceId(), bs );
- rc += tightMarshalLong1( wireFormat, info->getBrokerSequenceId(), bs );
+ int rc = BaseDataStreamMarshaller::tightMarshal1(wireFormat, dataStructure, bs);
+ rc += tightMarshalCachedObject1(wireFormat, info->getProducerId().get(), bs);
+ rc += tightMarshalLong1(wireFormat, info->getProducerSequenceId(), bs);
+ rc += tightMarshalLong1(wireFormat, info->getBrokerSequenceId(), bs);
return rc + 0;
}
- AMQ_CATCH_RETHROW( decaf::io::IOException )
- AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )
- AMQ_CATCHALL_THROW( decaf::io::IOException )
+ AMQ_CATCH_RETHROW(decaf::io::IOException)
+ AMQ_CATCH_EXCEPTION_CONVERT(exceptions::ActiveMQException, decaf::io::IOException)
+ AMQ_CATCHALL_THROW(decaf::io::IOException)
}
///////////////////////////////////////////////////////////////////////////////
-void MessageIdMarshaller::tightMarshal2( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut, BooleanStream* bs ) {
+void MessageIdMarshaller::tightMarshal2(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut, BooleanStream* bs) {
try {
- BaseDataStreamMarshaller::tightMarshal2( wireFormat, dataStructure, dataOut, bs );
+ BaseDataStreamMarshaller::tightMarshal2(wireFormat, dataStructure, dataOut, bs );
MessageId* info =
- dynamic_cast<MessageId*>( dataStructure );
- tightMarshalCachedObject2( wireFormat, info->getProducerId().get(), dataOut, bs );
- tightMarshalLong2( wireFormat, info->getProducerSequenceId(), dataOut, bs );
- tightMarshalLong2( wireFormat, info->getBrokerSequenceId(), dataOut, bs );
+ dynamic_cast<MessageId*>(dataStructure);
+ tightMarshalCachedObject2(wireFormat, info->getProducerId().get(), dataOut, bs);
+ tightMarshalLong2(wireFormat, info->getProducerSequenceId(), dataOut, bs);
+ tightMarshalLong2(wireFormat, info->getBrokerSequenceId(), dataOut, bs);
}
- AMQ_CATCH_RETHROW( decaf::io::IOException )
- AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )
- AMQ_CATCHALL_THROW( decaf::io::IOException )
+ AMQ_CATCH_RETHROW(decaf::io::IOException)
+ AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException)
+ AMQ_CATCHALL_THROW(decaf::io::IOException)
}
///////////////////////////////////////////////////////////////////////////////
-void MessageIdMarshaller::looseUnmarshal( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn ) {
+void MessageIdMarshaller::looseUnmarshal(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn) {
try {
- BaseDataStreamMarshaller::looseUnmarshal( wireFormat, dataStructure, dataIn );
+ BaseDataStreamMarshaller::looseUnmarshal(wireFormat, dataStructure, dataIn);
MessageId* info =
- dynamic_cast<MessageId*>( dataStructure );
- info->setProducerId( Pointer<ProducerId>( dynamic_cast< ProducerId* >(
- looseUnmarshalCachedObject( wireFormat, dataIn ) ) ) );
- info->setProducerSequenceId( looseUnmarshalLong( wireFormat, dataIn ) );
- info->setBrokerSequenceId( looseUnmarshalLong( wireFormat, dataIn ) );
+ dynamic_cast<MessageId*>(dataStructure);
+ info->setProducerId(Pointer<ProducerId>(dynamic_cast<ProducerId*>(
+ looseUnmarshalCachedObject(wireFormat, dataIn))));
+ info->setProducerSequenceId(looseUnmarshalLong(wireFormat, dataIn));
+ info->setBrokerSequenceId(looseUnmarshalLong(wireFormat, dataIn));
}
- AMQ_CATCH_RETHROW( decaf::io::IOException )
- AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )
- AMQ_CATCHALL_THROW( decaf::io::IOException )
+ AMQ_CATCH_RETHROW(decaf::io::IOException)
+ AMQ_CATCH_EXCEPTION_CONVERT(exceptions::ActiveMQException, decaf::io::IOException)
+ AMQ_CATCHALL_THROW(decaf::io::IOException)
}
///////////////////////////////////////////////////////////////////////////////
-void MessageIdMarshaller::looseMarshal( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut ) {
+void MessageIdMarshaller::looseMarshal(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut) {
try {
MessageId* info =
- dynamic_cast<MessageId*>( dataStructure );
- BaseDataStreamMarshaller::looseMarshal( wireFormat, dataStructure, dataOut );
- looseMarshalCachedObject( wireFormat, info->getProducerId().get(), dataOut );
- looseMarshalLong( wireFormat, info->getProducerSequenceId(), dataOut );
- looseMarshalLong( wireFormat, info->getBrokerSequenceId(), dataOut );
+ dynamic_cast<MessageId*>(dataStructure);
+ BaseDataStreamMarshaller::looseMarshal(wireFormat, dataStructure, dataOut);
+ looseMarshalCachedObject(wireFormat, info->getProducerId().get(), dataOut);
+ looseMarshalLong(wireFormat, info->getProducerSequenceId(), dataOut);
+ looseMarshalLong(wireFormat, info->getBrokerSequenceId(), dataOut);
}
- AMQ_CATCH_RETHROW( decaf::io::IOException )
- AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )
- AMQ_CATCHALL_THROW( decaf::io::IOException )
+ AMQ_CATCH_RETHROW(decaf::io::IOException)
+ AMQ_CATCH_EXCEPTION_CONVERT(exceptions::ActiveMQException, decaf::io::IOException)
+ AMQ_CATCHALL_THROW(decaf::io::IOException)
}
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/MessageIdMarshaller.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/MessageIdMarshaller.h?rev=1460467&r1=1460466&r2=1460467&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/MessageIdMarshaller.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/MessageIdMarshaller.h Sun Mar 24 21:30:52 2013
@@ -33,11 +33,11 @@
#include <activemq/wireformat/openwire/OpenWireFormat.h>
#include <activemq/wireformat/openwire/utils/BooleanStream.h>
-namespace activemq{
-namespace wireformat{
-namespace openwire{
-namespace marshal{
-namespace generated{
+namespace activemq {
+namespace wireformat {
+namespace openwire {
+namespace marshal {
+namespace generated {
/**
* Marshaling code for Open Wire Format for MessageIdMarshaller
@@ -56,27 +56,27 @@ namespace generated{
virtual unsigned char getDataStructureType() const;
- virtual void tightUnmarshal( OpenWireFormat* wireFormat,
- commands::DataStructure* dataStructure,
- decaf::io::DataInputStream* dataIn,
- utils::BooleanStream* bs );
+ virtual void tightUnmarshal(OpenWireFormat* wireFormat,
+ commands::DataStructure* dataStructure,
+ decaf::io::DataInputStream* dataIn,
+ utils::BooleanStream* bs);
+
+ virtual int tightMarshal1(OpenWireFormat* wireFormat,
+ commands::DataStructure* dataStructure,
+ utils::BooleanStream* bs);
- virtual int tightMarshal1( OpenWireFormat* wireFormat,
+ virtual void tightMarshal2(OpenWireFormat* wireFormat,
commands::DataStructure* dataStructure,
- utils::BooleanStream* bs );
+ decaf::io::DataOutputStream* dataOut,
+ utils::BooleanStream* bs);
- virtual void tightMarshal2( OpenWireFormat* wireFormat,
+ virtual void looseUnmarshal(OpenWireFormat* wireFormat,
commands::DataStructure* dataStructure,
- decaf::io::DataOutputStream* dataOut,
- utils::BooleanStream* bs );
+ decaf::io::DataInputStream* dataIn);
- virtual void looseUnmarshal( OpenWireFormat* wireFormat,
- commands::DataStructure* dataStructure,
- decaf::io::DataInputStream* dataIn );
-
- virtual void looseMarshal( OpenWireFormat* wireFormat,
- commands::DataStructure* dataStructure,
- decaf::io::DataOutputStream* dataOut );
+ virtual void looseMarshal(OpenWireFormat* wireFormat,
+ commands::DataStructure* dataStructure,
+ decaf::io::DataOutputStream* dataOut);
};