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 [11/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/ExceptionResponseMarshaller.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ExceptionResponseMarshaller.cpp?rev=1460467&r1=1460466&r2=1460467&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ExceptionResponseMarshaller.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ExceptionResponseMarshaller.cpp Sun Mar 24 21:30:52 2013
@@ -51,84 +51,84 @@ unsigned char ExceptionResponseMarshalle
}
///////////////////////////////////////////////////////////////////////////////
-void ExceptionResponseMarshaller::tightUnmarshal( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn, BooleanStream* bs ) {
+void ExceptionResponseMarshaller::tightUnmarshal(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn, BooleanStream* bs) {
try {
- ResponseMarshaller::tightUnmarshal( wireFormat, dataStructure, dataIn, bs );
+ ResponseMarshaller::tightUnmarshal(wireFormat, dataStructure, dataIn, bs);
ExceptionResponse* info =
- dynamic_cast<ExceptionResponse*>( dataStructure );
- info->setException( Pointer<BrokerError>( dynamic_cast< BrokerError* >(
- tightUnmarshalBrokerError( wireFormat, dataIn, bs ) ) ) );
+ dynamic_cast<ExceptionResponse*>(dataStructure);
+ info->setException(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 ExceptionResponseMarshaller::tightMarshal1( OpenWireFormat* wireFormat, DataStructure* dataStructure, BooleanStream* bs ) {
+int ExceptionResponseMarshaller::tightMarshal1(OpenWireFormat* wireFormat, DataStructure* dataStructure, BooleanStream* bs) {
try {
ExceptionResponse* info =
- dynamic_cast<ExceptionResponse*>( dataStructure );
+ dynamic_cast<ExceptionResponse*>(dataStructure);
- int rc = ResponseMarshaller::tightMarshal1( wireFormat, dataStructure, bs );
- rc += tightMarshalBrokerError1( wireFormat, info->getException().get(), bs );
+ int rc = ResponseMarshaller::tightMarshal1(wireFormat, dataStructure, bs);
+ rc += tightMarshalBrokerError1(wireFormat, info->getException().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 ExceptionResponseMarshaller::tightMarshal2( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut, BooleanStream* bs ) {
+void ExceptionResponseMarshaller::tightMarshal2(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut, BooleanStream* bs) {
try {
- ResponseMarshaller::tightMarshal2( wireFormat, dataStructure, dataOut, bs );
+ ResponseMarshaller::tightMarshal2(wireFormat, dataStructure, dataOut, bs );
ExceptionResponse* info =
- dynamic_cast<ExceptionResponse*>( dataStructure );
- tightMarshalBrokerError2( wireFormat, info->getException().get(), dataOut, bs );
+ dynamic_cast<ExceptionResponse*>(dataStructure);
+ tightMarshalBrokerError2(wireFormat, info->getException().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 ExceptionResponseMarshaller::looseUnmarshal( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn ) {
+void ExceptionResponseMarshaller::looseUnmarshal(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn) {
try {
- ResponseMarshaller::looseUnmarshal( wireFormat, dataStructure, dataIn );
+ ResponseMarshaller::looseUnmarshal(wireFormat, dataStructure, dataIn);
ExceptionResponse* info =
- dynamic_cast<ExceptionResponse*>( dataStructure );
- info->setException( Pointer<BrokerError>( dynamic_cast< BrokerError* >(
- looseUnmarshalBrokerError( wireFormat, dataIn ) ) ) );
+ dynamic_cast<ExceptionResponse*>(dataStructure);
+ info->setException(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 ExceptionResponseMarshaller::looseMarshal( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut ) {
+void ExceptionResponseMarshaller::looseMarshal(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut) {
try {
ExceptionResponse* info =
- dynamic_cast<ExceptionResponse*>( dataStructure );
- ResponseMarshaller::looseMarshal( wireFormat, dataStructure, dataOut );
- looseMarshalBrokerError( wireFormat, info->getException().get(), dataOut );
+ dynamic_cast<ExceptionResponse*>(dataStructure);
+ ResponseMarshaller::looseMarshal(wireFormat, dataStructure, dataOut);
+ looseMarshalBrokerError(wireFormat, info->getException().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/ExceptionResponseMarshaller.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ExceptionResponseMarshaller.h?rev=1460467&r1=1460466&r2=1460467&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ExceptionResponseMarshaller.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ExceptionResponseMarshaller.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 ExceptionResponseMarshaller
@@ -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/FlushCommandMarshaller.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/FlushCommandMarshaller.cpp?rev=1460467&r1=1460466&r2=1460467&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/FlushCommandMarshaller.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/FlushCommandMarshaller.cpp Sun Mar 24 21:30:52 2013
@@ -51,66 +51,66 @@ unsigned char FlushCommandMarshaller::ge
}
///////////////////////////////////////////////////////////////////////////////
-void FlushCommandMarshaller::tightUnmarshal( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn, BooleanStream* bs ) {
+void FlushCommandMarshaller::tightUnmarshal(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn, BooleanStream* bs) {
try {
- BaseCommandMarshaller::tightUnmarshal( wireFormat, dataStructure, dataIn, bs );
+ BaseCommandMarshaller::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 FlushCommandMarshaller::tightMarshal1( OpenWireFormat* wireFormat, DataStructure* dataStructure, BooleanStream* bs ) {
+int FlushCommandMarshaller::tightMarshal1(OpenWireFormat* wireFormat, DataStructure* dataStructure, BooleanStream* bs) {
try {
- int rc = BaseCommandMarshaller::tightMarshal1( wireFormat, dataStructure, bs );
+ int rc = BaseCommandMarshaller::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 FlushCommandMarshaller::tightMarshal2( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut, BooleanStream* bs ) {
+void FlushCommandMarshaller::tightMarshal2(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut, BooleanStream* bs) {
try {
- BaseCommandMarshaller::tightMarshal2( wireFormat, dataStructure, dataOut, bs );
+ BaseCommandMarshaller::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 FlushCommandMarshaller::looseUnmarshal( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn ) {
+void FlushCommandMarshaller::looseUnmarshal(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn) {
try {
- BaseCommandMarshaller::looseUnmarshal( wireFormat, dataStructure, dataIn );
+ BaseCommandMarshaller::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 FlushCommandMarshaller::looseMarshal( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut ) {
+void FlushCommandMarshaller::looseMarshal(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut) {
try {
- BaseCommandMarshaller::looseMarshal( wireFormat, dataStructure, dataOut );
+ BaseCommandMarshaller::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/FlushCommandMarshaller.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/FlushCommandMarshaller.h?rev=1460467&r1=1460466&r2=1460467&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/FlushCommandMarshaller.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/FlushCommandMarshaller.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 FlushCommandMarshaller
@@ -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/IntegerResponseMarshaller.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/IntegerResponseMarshaller.cpp?rev=1460467&r1=1460466&r2=1460467&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/IntegerResponseMarshaller.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/IntegerResponseMarshaller.cpp Sun Mar 24 21:30:52 2013
@@ -51,78 +51,78 @@ unsigned char IntegerResponseMarshaller:
}
///////////////////////////////////////////////////////////////////////////////
-void IntegerResponseMarshaller::tightUnmarshal( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn, BooleanStream* bs ) {
+void IntegerResponseMarshaller::tightUnmarshal(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn, BooleanStream* bs) {
try {
- ResponseMarshaller::tightUnmarshal( wireFormat, dataStructure, dataIn, bs );
+ ResponseMarshaller::tightUnmarshal(wireFormat, dataStructure, dataIn, bs);
IntegerResponse* info =
- dynamic_cast<IntegerResponse*>( dataStructure );
- info->setResult( dataIn->readInt() );
+ dynamic_cast<IntegerResponse*>(dataStructure);
+ info->setResult(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 IntegerResponseMarshaller::tightMarshal1( OpenWireFormat* wireFormat, DataStructure* dataStructure, BooleanStream* bs ) {
+int IntegerResponseMarshaller::tightMarshal1(OpenWireFormat* wireFormat, DataStructure* dataStructure, BooleanStream* bs) {
try {
- int rc = ResponseMarshaller::tightMarshal1( wireFormat, dataStructure, bs );
+ int rc = ResponseMarshaller::tightMarshal1(wireFormat, dataStructure, 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 IntegerResponseMarshaller::tightMarshal2( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut, BooleanStream* bs ) {
+void IntegerResponseMarshaller::tightMarshal2(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut, BooleanStream* bs) {
try {
- ResponseMarshaller::tightMarshal2( wireFormat, dataStructure, dataOut, bs );
+ ResponseMarshaller::tightMarshal2(wireFormat, dataStructure, dataOut, bs );
IntegerResponse* info =
- dynamic_cast<IntegerResponse*>( dataStructure );
- dataOut->writeInt( info->getResult() );
+ dynamic_cast<IntegerResponse*>(dataStructure);
+ dataOut->writeInt(info->getResult());
}
- 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 IntegerResponseMarshaller::looseUnmarshal( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn ) {
+void IntegerResponseMarshaller::looseUnmarshal(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn) {
try {
- ResponseMarshaller::looseUnmarshal( wireFormat, dataStructure, dataIn );
+ ResponseMarshaller::looseUnmarshal(wireFormat, dataStructure, dataIn);
IntegerResponse* info =
- dynamic_cast<IntegerResponse*>( dataStructure );
- info->setResult( dataIn->readInt() );
+ dynamic_cast<IntegerResponse*>(dataStructure);
+ info->setResult(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 IntegerResponseMarshaller::looseMarshal( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut ) {
+void IntegerResponseMarshaller::looseMarshal(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut) {
try {
IntegerResponse* info =
- dynamic_cast<IntegerResponse*>( dataStructure );
- ResponseMarshaller::looseMarshal( wireFormat, dataStructure, dataOut );
- dataOut->writeInt( info->getResult() );
+ dynamic_cast<IntegerResponse*>(dataStructure);
+ ResponseMarshaller::looseMarshal(wireFormat, dataStructure, dataOut);
+ dataOut->writeInt(info->getResult());
}
- 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/IntegerResponseMarshaller.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/IntegerResponseMarshaller.h?rev=1460467&r1=1460466&r2=1460467&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/IntegerResponseMarshaller.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/IntegerResponseMarshaller.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 IntegerResponseMarshaller
@@ -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/JournalQueueAckMarshaller.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/JournalQueueAckMarshaller.cpp?rev=1460467&r1=1460466&r2=1460467&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/JournalQueueAckMarshaller.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/JournalQueueAckMarshaller.cpp Sun Mar 24 21:30:52 2013
@@ -51,91 +51,91 @@ unsigned char JournalQueueAckMarshaller:
}
///////////////////////////////////////////////////////////////////////////////
-void JournalQueueAckMarshaller::tightUnmarshal( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn, BooleanStream* bs ) {
+void JournalQueueAckMarshaller::tightUnmarshal(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn, BooleanStream* bs) {
try {
- BaseDataStreamMarshaller::tightUnmarshal( wireFormat, dataStructure, dataIn, bs );
+ BaseDataStreamMarshaller::tightUnmarshal(wireFormat, dataStructure, dataIn, bs);
JournalQueueAck* info =
- dynamic_cast<JournalQueueAck*>( dataStructure );
- info->setDestination( Pointer<ActiveMQDestination>( dynamic_cast< ActiveMQDestination* >(
- tightUnmarshalNestedObject( wireFormat, dataIn, bs ) ) ) );
- info->setMessageAck( Pointer<MessageAck>( dynamic_cast< MessageAck* >(
- tightUnmarshalNestedObject( wireFormat, dataIn, bs ) ) ) );
+ dynamic_cast<JournalQueueAck*>(dataStructure);
+ info->setDestination(Pointer<ActiveMQDestination>(dynamic_cast<ActiveMQDestination* >(
+ tightUnmarshalNestedObject(wireFormat, dataIn, bs))));
+ info->setMessageAck(Pointer<MessageAck>(dynamic_cast<MessageAck* >(
+ 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 JournalQueueAckMarshaller::tightMarshal1( OpenWireFormat* wireFormat, DataStructure* dataStructure, BooleanStream* bs ) {
+int JournalQueueAckMarshaller::tightMarshal1(OpenWireFormat* wireFormat, DataStructure* dataStructure, BooleanStream* bs) {
try {
JournalQueueAck* info =
- dynamic_cast<JournalQueueAck*>( dataStructure );
+ dynamic_cast<JournalQueueAck*>(dataStructure);
- int rc = BaseDataStreamMarshaller::tightMarshal1( wireFormat, dataStructure, bs );
- rc += tightMarshalNestedObject1( wireFormat, info->getDestination().get(), bs );
- rc += tightMarshalNestedObject1( wireFormat, info->getMessageAck().get(), bs );
+ int rc = BaseDataStreamMarshaller::tightMarshal1(wireFormat, dataStructure, bs);
+ rc += tightMarshalNestedObject1(wireFormat, info->getDestination().get(), bs);
+ rc += tightMarshalNestedObject1(wireFormat, info->getMessageAck().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 JournalQueueAckMarshaller::tightMarshal2( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut, BooleanStream* bs ) {
+void JournalQueueAckMarshaller::tightMarshal2(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut, BooleanStream* bs) {
try {
- BaseDataStreamMarshaller::tightMarshal2( wireFormat, dataStructure, dataOut, bs );
+ BaseDataStreamMarshaller::tightMarshal2(wireFormat, dataStructure, dataOut, bs );
JournalQueueAck* info =
- dynamic_cast<JournalQueueAck*>( dataStructure );
- tightMarshalNestedObject2( wireFormat, info->getDestination().get(), dataOut, bs );
- tightMarshalNestedObject2( wireFormat, info->getMessageAck().get(), dataOut, bs );
+ dynamic_cast<JournalQueueAck*>(dataStructure);
+ tightMarshalNestedObject2(wireFormat, info->getDestination().get(), dataOut, bs);
+ tightMarshalNestedObject2(wireFormat, info->getMessageAck().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 JournalQueueAckMarshaller::looseUnmarshal( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn ) {
+void JournalQueueAckMarshaller::looseUnmarshal(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn) {
try {
- BaseDataStreamMarshaller::looseUnmarshal( wireFormat, dataStructure, dataIn );
+ BaseDataStreamMarshaller::looseUnmarshal(wireFormat, dataStructure, dataIn);
JournalQueueAck* info =
- dynamic_cast<JournalQueueAck*>( dataStructure );
- info->setDestination( Pointer<ActiveMQDestination>( dynamic_cast< ActiveMQDestination* >(
- looseUnmarshalNestedObject( wireFormat, dataIn ) ) ) );
- info->setMessageAck( Pointer<MessageAck>( dynamic_cast< MessageAck* >(
- looseUnmarshalNestedObject( wireFormat, dataIn ) ) ) );
+ dynamic_cast<JournalQueueAck*>(dataStructure);
+ info->setDestination(Pointer<ActiveMQDestination>(dynamic_cast<ActiveMQDestination*>(
+ looseUnmarshalNestedObject(wireFormat, dataIn))));
+ info->setMessageAck(Pointer<MessageAck>(dynamic_cast<MessageAck*>(
+ 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 JournalQueueAckMarshaller::looseMarshal( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut ) {
+void JournalQueueAckMarshaller::looseMarshal(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut) {
try {
JournalQueueAck* info =
- dynamic_cast<JournalQueueAck*>( dataStructure );
- BaseDataStreamMarshaller::looseMarshal( wireFormat, dataStructure, dataOut );
- looseMarshalNestedObject( wireFormat, info->getDestination().get(), dataOut );
- looseMarshalNestedObject( wireFormat, info->getMessageAck().get(), dataOut );
+ dynamic_cast<JournalQueueAck*>(dataStructure);
+ BaseDataStreamMarshaller::looseMarshal(wireFormat, dataStructure, dataOut);
+ looseMarshalNestedObject(wireFormat, info->getDestination().get(), dataOut);
+ looseMarshalNestedObject(wireFormat, info->getMessageAck().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/JournalQueueAckMarshaller.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/JournalQueueAckMarshaller.h?rev=1460467&r1=1460466&r2=1460467&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/JournalQueueAckMarshaller.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/JournalQueueAckMarshaller.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 JournalQueueAckMarshaller
@@ -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/JournalTopicAckMarshaller.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/JournalTopicAckMarshaller.cpp?rev=1460467&r1=1460466&r2=1460467&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/JournalTopicAckMarshaller.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/JournalTopicAckMarshaller.cpp Sun Mar 24 21:30:52 2013
@@ -51,113 +51,113 @@ unsigned char JournalTopicAckMarshaller:
}
///////////////////////////////////////////////////////////////////////////////
-void JournalTopicAckMarshaller::tightUnmarshal( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn, BooleanStream* bs ) {
+void JournalTopicAckMarshaller::tightUnmarshal(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn, BooleanStream* bs) {
try {
- BaseDataStreamMarshaller::tightUnmarshal( wireFormat, dataStructure, dataIn, bs );
+ BaseDataStreamMarshaller::tightUnmarshal(wireFormat, dataStructure, dataIn, bs);
JournalTopicAck* info =
- dynamic_cast<JournalTopicAck*>( dataStructure );
- info->setDestination( Pointer<ActiveMQDestination>( dynamic_cast< ActiveMQDestination* >(
- tightUnmarshalNestedObject( wireFormat, dataIn, bs ) ) ) );
- info->setMessageId( Pointer<MessageId>( dynamic_cast< MessageId* >(
- tightUnmarshalNestedObject( wireFormat, dataIn, bs ) ) ) );
- info->setMessageSequenceId( tightUnmarshalLong( wireFormat, dataIn, bs ) );
- info->setSubscritionName( tightUnmarshalString( dataIn, bs ) );
- info->setClientId( tightUnmarshalString( dataIn, bs ) );
- info->setTransactionId( Pointer<TransactionId>( dynamic_cast< TransactionId* >(
- tightUnmarshalNestedObject( wireFormat, dataIn, bs ) ) ) );
+ dynamic_cast<JournalTopicAck*>(dataStructure);
+ info->setDestination(Pointer<ActiveMQDestination>(dynamic_cast<ActiveMQDestination* >(
+ tightUnmarshalNestedObject(wireFormat, dataIn, bs))));
+ info->setMessageId(Pointer<MessageId>(dynamic_cast<MessageId* >(
+ tightUnmarshalNestedObject(wireFormat, dataIn, bs))));
+ info->setMessageSequenceId(tightUnmarshalLong(wireFormat, dataIn, bs));
+ info->setSubscritionName(tightUnmarshalString(dataIn, bs));
+ info->setClientId(tightUnmarshalString(dataIn, bs));
+ info->setTransactionId(Pointer<TransactionId>(dynamic_cast<TransactionId* >(
+ 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 JournalTopicAckMarshaller::tightMarshal1( OpenWireFormat* wireFormat, DataStructure* dataStructure, BooleanStream* bs ) {
+int JournalTopicAckMarshaller::tightMarshal1(OpenWireFormat* wireFormat, DataStructure* dataStructure, BooleanStream* bs) {
try {
JournalTopicAck* info =
- dynamic_cast<JournalTopicAck*>( dataStructure );
+ dynamic_cast<JournalTopicAck*>(dataStructure);
- int rc = BaseDataStreamMarshaller::tightMarshal1( wireFormat, dataStructure, bs );
- rc += tightMarshalNestedObject1( wireFormat, info->getDestination().get(), bs );
- rc += tightMarshalNestedObject1( wireFormat, info->getMessageId().get(), bs );
- rc += tightMarshalLong1( wireFormat, info->getMessageSequenceId(), bs );
- rc += tightMarshalString1( info->getSubscritionName(), bs );
- rc += tightMarshalString1( info->getClientId(), bs );
- rc += tightMarshalNestedObject1( wireFormat, info->getTransactionId().get(), bs );
+ int rc = BaseDataStreamMarshaller::tightMarshal1(wireFormat, dataStructure, bs);
+ rc += tightMarshalNestedObject1(wireFormat, info->getDestination().get(), bs);
+ rc += tightMarshalNestedObject1(wireFormat, info->getMessageId().get(), bs);
+ rc += tightMarshalLong1(wireFormat, info->getMessageSequenceId(), bs);
+ rc += tightMarshalString1(info->getSubscritionName(), bs);
+ rc += tightMarshalString1(info->getClientId(), bs);
+ rc += tightMarshalNestedObject1(wireFormat, info->getTransactionId().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 JournalTopicAckMarshaller::tightMarshal2( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut, BooleanStream* bs ) {
+void JournalTopicAckMarshaller::tightMarshal2(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut, BooleanStream* bs) {
try {
- BaseDataStreamMarshaller::tightMarshal2( wireFormat, dataStructure, dataOut, bs );
+ BaseDataStreamMarshaller::tightMarshal2(wireFormat, dataStructure, dataOut, bs );
JournalTopicAck* info =
- dynamic_cast<JournalTopicAck*>( dataStructure );
- tightMarshalNestedObject2( wireFormat, info->getDestination().get(), dataOut, bs );
- tightMarshalNestedObject2( wireFormat, info->getMessageId().get(), dataOut, bs );
- tightMarshalLong2( wireFormat, info->getMessageSequenceId(), dataOut, bs );
- tightMarshalString2( info->getSubscritionName(), dataOut, bs );
- tightMarshalString2( info->getClientId(), dataOut, bs );
- tightMarshalNestedObject2( wireFormat, info->getTransactionId().get(), dataOut, bs );
+ dynamic_cast<JournalTopicAck*>(dataStructure);
+ tightMarshalNestedObject2(wireFormat, info->getDestination().get(), dataOut, bs);
+ tightMarshalNestedObject2(wireFormat, info->getMessageId().get(), dataOut, bs);
+ tightMarshalLong2(wireFormat, info->getMessageSequenceId(), dataOut, bs);
+ tightMarshalString2(info->getSubscritionName(), dataOut, bs);
+ tightMarshalString2(info->getClientId(), dataOut, bs);
+ tightMarshalNestedObject2(wireFormat, info->getTransactionId().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 JournalTopicAckMarshaller::looseUnmarshal( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn ) {
+void JournalTopicAckMarshaller::looseUnmarshal(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn) {
try {
- BaseDataStreamMarshaller::looseUnmarshal( wireFormat, dataStructure, dataIn );
+ BaseDataStreamMarshaller::looseUnmarshal(wireFormat, dataStructure, dataIn);
JournalTopicAck* info =
- dynamic_cast<JournalTopicAck*>( dataStructure );
- info->setDestination( Pointer<ActiveMQDestination>( dynamic_cast< ActiveMQDestination* >(
- looseUnmarshalNestedObject( wireFormat, dataIn ) ) ) );
- info->setMessageId( Pointer<MessageId>( dynamic_cast< MessageId* >(
- looseUnmarshalNestedObject( wireFormat, dataIn ) ) ) );
- info->setMessageSequenceId( looseUnmarshalLong( wireFormat, dataIn ) );
- info->setSubscritionName( looseUnmarshalString( dataIn ) );
- info->setClientId( looseUnmarshalString( dataIn ) );
- info->setTransactionId( Pointer<TransactionId>( dynamic_cast< TransactionId* >(
- looseUnmarshalNestedObject( wireFormat, dataIn ) ) ) );
+ dynamic_cast<JournalTopicAck*>(dataStructure);
+ info->setDestination(Pointer<ActiveMQDestination>(dynamic_cast<ActiveMQDestination*>(
+ looseUnmarshalNestedObject(wireFormat, dataIn))));
+ info->setMessageId(Pointer<MessageId>(dynamic_cast<MessageId*>(
+ looseUnmarshalNestedObject(wireFormat, dataIn))));
+ info->setMessageSequenceId(looseUnmarshalLong(wireFormat, dataIn));
+ info->setSubscritionName(looseUnmarshalString(dataIn));
+ info->setClientId(looseUnmarshalString(dataIn));
+ info->setTransactionId(Pointer<TransactionId>(dynamic_cast<TransactionId*>(
+ 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 JournalTopicAckMarshaller::looseMarshal( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut ) {
+void JournalTopicAckMarshaller::looseMarshal(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut) {
try {
JournalTopicAck* info =
- dynamic_cast<JournalTopicAck*>( dataStructure );
- BaseDataStreamMarshaller::looseMarshal( wireFormat, dataStructure, dataOut );
- looseMarshalNestedObject( wireFormat, info->getDestination().get(), dataOut );
- looseMarshalNestedObject( wireFormat, info->getMessageId().get(), dataOut );
- looseMarshalLong( wireFormat, info->getMessageSequenceId(), dataOut );
- looseMarshalString( info->getSubscritionName(), dataOut );
- looseMarshalString( info->getClientId(), dataOut );
- looseMarshalNestedObject( wireFormat, info->getTransactionId().get(), dataOut );
+ dynamic_cast<JournalTopicAck*>(dataStructure);
+ BaseDataStreamMarshaller::looseMarshal(wireFormat, dataStructure, dataOut);
+ looseMarshalNestedObject(wireFormat, info->getDestination().get(), dataOut);
+ looseMarshalNestedObject(wireFormat, info->getMessageId().get(), dataOut);
+ looseMarshalLong(wireFormat, info->getMessageSequenceId(), dataOut);
+ looseMarshalString(info->getSubscritionName(), dataOut);
+ looseMarshalString(info->getClientId(), dataOut);
+ looseMarshalNestedObject(wireFormat, info->getTransactionId().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/JournalTopicAckMarshaller.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/JournalTopicAckMarshaller.h?rev=1460467&r1=1460466&r2=1460467&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/JournalTopicAckMarshaller.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/JournalTopicAckMarshaller.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 JournalTopicAckMarshaller
@@ -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/JournalTraceMarshaller.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/JournalTraceMarshaller.cpp?rev=1460467&r1=1460466&r2=1460467&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/JournalTraceMarshaller.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/JournalTraceMarshaller.cpp Sun Mar 24 21:30:52 2013
@@ -51,82 +51,82 @@ unsigned char JournalTraceMarshaller::ge
}
///////////////////////////////////////////////////////////////////////////////
-void JournalTraceMarshaller::tightUnmarshal( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn, BooleanStream* bs ) {
+void JournalTraceMarshaller::tightUnmarshal(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn, BooleanStream* bs) {
try {
- BaseDataStreamMarshaller::tightUnmarshal( wireFormat, dataStructure, dataIn, bs );
+ BaseDataStreamMarshaller::tightUnmarshal(wireFormat, dataStructure, dataIn, bs);
JournalTrace* info =
- dynamic_cast<JournalTrace*>( dataStructure );
- info->setMessage( tightUnmarshalString( dataIn, bs ) );
+ dynamic_cast<JournalTrace*>(dataStructure);
+ info->setMessage(tightUnmarshalString(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 JournalTraceMarshaller::tightMarshal1( OpenWireFormat* wireFormat, DataStructure* dataStructure, BooleanStream* bs ) {
+int JournalTraceMarshaller::tightMarshal1(OpenWireFormat* wireFormat, DataStructure* dataStructure, BooleanStream* bs) {
try {
JournalTrace* info =
- dynamic_cast<JournalTrace*>( dataStructure );
+ dynamic_cast<JournalTrace*>(dataStructure);
- int rc = BaseDataStreamMarshaller::tightMarshal1( wireFormat, dataStructure, bs );
- rc += tightMarshalString1( info->getMessage(), bs );
+ int rc = BaseDataStreamMarshaller::tightMarshal1(wireFormat, dataStructure, bs);
+ rc += tightMarshalString1(info->getMessage(), 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 JournalTraceMarshaller::tightMarshal2( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut, BooleanStream* bs ) {
+void JournalTraceMarshaller::tightMarshal2(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut, BooleanStream* bs) {
try {
- BaseDataStreamMarshaller::tightMarshal2( wireFormat, dataStructure, dataOut, bs );
+ BaseDataStreamMarshaller::tightMarshal2(wireFormat, dataStructure, dataOut, bs );
JournalTrace* info =
- dynamic_cast<JournalTrace*>( dataStructure );
- tightMarshalString2( info->getMessage(), dataOut, bs );
+ dynamic_cast<JournalTrace*>(dataStructure);
+ tightMarshalString2(info->getMessage(), 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 JournalTraceMarshaller::looseUnmarshal( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn ) {
+void JournalTraceMarshaller::looseUnmarshal(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn) {
try {
- BaseDataStreamMarshaller::looseUnmarshal( wireFormat, dataStructure, dataIn );
+ BaseDataStreamMarshaller::looseUnmarshal(wireFormat, dataStructure, dataIn);
JournalTrace* info =
- dynamic_cast<JournalTrace*>( dataStructure );
- info->setMessage( looseUnmarshalString( dataIn ) );
+ dynamic_cast<JournalTrace*>(dataStructure);
+ info->setMessage(looseUnmarshalString(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 JournalTraceMarshaller::looseMarshal( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut ) {
+void JournalTraceMarshaller::looseMarshal(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut) {
try {
JournalTrace* info =
- dynamic_cast<JournalTrace*>( dataStructure );
- BaseDataStreamMarshaller::looseMarshal( wireFormat, dataStructure, dataOut );
- looseMarshalString( info->getMessage(), dataOut );
+ dynamic_cast<JournalTrace*>(dataStructure);
+ BaseDataStreamMarshaller::looseMarshal(wireFormat, dataStructure, dataOut);
+ looseMarshalString(info->getMessage(), 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/JournalTraceMarshaller.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/JournalTraceMarshaller.h?rev=1460467&r1=1460466&r2=1460467&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/JournalTraceMarshaller.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/JournalTraceMarshaller.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 JournalTraceMarshaller
@@ -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/JournalTransactionMarshaller.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/JournalTransactionMarshaller.cpp?rev=1460467&r1=1460466&r2=1460467&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/JournalTransactionMarshaller.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/JournalTransactionMarshaller.cpp Sun Mar 24 21:30:52 2013
@@ -51,93 +51,93 @@ unsigned char JournalTransactionMarshall
}
///////////////////////////////////////////////////////////////////////////////
-void JournalTransactionMarshaller::tightUnmarshal( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn, BooleanStream* bs ) {
+void JournalTransactionMarshaller::tightUnmarshal(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn, BooleanStream* bs) {
try {
- BaseDataStreamMarshaller::tightUnmarshal( wireFormat, dataStructure, dataIn, bs );
+ BaseDataStreamMarshaller::tightUnmarshal(wireFormat, dataStructure, dataIn, bs);
JournalTransaction* info =
- dynamic_cast<JournalTransaction*>( dataStructure );
- info->setTransactionId( Pointer<TransactionId>( dynamic_cast< TransactionId* >(
- tightUnmarshalNestedObject( wireFormat, dataIn, bs ) ) ) );
- info->setType( dataIn->readByte() );
- info->setWasPrepared( bs->readBoolean() );
+ dynamic_cast<JournalTransaction*>(dataStructure);
+ info->setTransactionId(Pointer<TransactionId>(dynamic_cast<TransactionId* >(
+ tightUnmarshalNestedObject(wireFormat, dataIn, bs))));
+ info->setType(dataIn->readByte());
+ info->setWasPrepared(bs->readBoolean());
}
- 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 JournalTransactionMarshaller::tightMarshal1( OpenWireFormat* wireFormat, DataStructure* dataStructure, BooleanStream* bs ) {
+int JournalTransactionMarshaller::tightMarshal1(OpenWireFormat* wireFormat, DataStructure* dataStructure, BooleanStream* bs) {
try {
JournalTransaction* info =
- dynamic_cast<JournalTransaction*>( dataStructure );
+ dynamic_cast<JournalTransaction*>(dataStructure);
- int rc = BaseDataStreamMarshaller::tightMarshal1( wireFormat, dataStructure, bs );
- rc += tightMarshalNestedObject1( wireFormat, info->getTransactionId().get(), bs );
- bs->writeBoolean( info->getWasPrepared() );
+ int rc = BaseDataStreamMarshaller::tightMarshal1(wireFormat, dataStructure, bs);
+ rc += tightMarshalNestedObject1(wireFormat, info->getTransactionId().get(), bs);
+ bs->writeBoolean(info->getWasPrepared());
return rc + 1;
}
- 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 JournalTransactionMarshaller::tightMarshal2( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut, BooleanStream* bs ) {
+void JournalTransactionMarshaller::tightMarshal2(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut, BooleanStream* bs) {
try {
- BaseDataStreamMarshaller::tightMarshal2( wireFormat, dataStructure, dataOut, bs );
+ BaseDataStreamMarshaller::tightMarshal2(wireFormat, dataStructure, dataOut, bs );
JournalTransaction* info =
- dynamic_cast<JournalTransaction*>( dataStructure );
- tightMarshalNestedObject2( wireFormat, info->getTransactionId().get(), dataOut, bs );
- dataOut->write( info->getType() );
+ dynamic_cast<JournalTransaction*>(dataStructure);
+ tightMarshalNestedObject2(wireFormat, info->getTransactionId().get(), dataOut, bs);
+ dataOut->write(info->getType());
bs->readBoolean();
}
- 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 JournalTransactionMarshaller::looseUnmarshal( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn ) {
+void JournalTransactionMarshaller::looseUnmarshal(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn) {
try {
- BaseDataStreamMarshaller::looseUnmarshal( wireFormat, dataStructure, dataIn );
+ BaseDataStreamMarshaller::looseUnmarshal(wireFormat, dataStructure, dataIn);
JournalTransaction* info =
- dynamic_cast<JournalTransaction*>( dataStructure );
- info->setTransactionId( Pointer<TransactionId>( dynamic_cast< TransactionId* >(
- looseUnmarshalNestedObject( wireFormat, dataIn ) ) ) );
- info->setType( dataIn->readByte() );
- info->setWasPrepared( dataIn->readBoolean() );
+ dynamic_cast<JournalTransaction*>(dataStructure);
+ info->setTransactionId(Pointer<TransactionId>(dynamic_cast<TransactionId*>(
+ looseUnmarshalNestedObject(wireFormat, dataIn))));
+ info->setType(dataIn->readByte());
+ info->setWasPrepared(dataIn->readBoolean());
}
- 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 JournalTransactionMarshaller::looseMarshal( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut ) {
+void JournalTransactionMarshaller::looseMarshal(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut) {
try {
JournalTransaction* info =
- dynamic_cast<JournalTransaction*>( dataStructure );
- BaseDataStreamMarshaller::looseMarshal( wireFormat, dataStructure, dataOut );
- looseMarshalNestedObject( wireFormat, info->getTransactionId().get(), dataOut );
- dataOut->write( info->getType() );
- dataOut->writeBoolean( info->getWasPrepared() );
+ dynamic_cast<JournalTransaction*>(dataStructure);
+ BaseDataStreamMarshaller::looseMarshal(wireFormat, dataStructure, dataOut);
+ looseMarshalNestedObject(wireFormat, info->getTransactionId().get(), dataOut);
+ dataOut->write(info->getType());
+ dataOut->writeBoolean(info->getWasPrepared());
}
- 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/JournalTransactionMarshaller.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/JournalTransactionMarshaller.h?rev=1460467&r1=1460466&r2=1460467&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/JournalTransactionMarshaller.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/JournalTransactionMarshaller.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 JournalTransactionMarshaller
@@ -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/KeepAliveInfoMarshaller.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/KeepAliveInfoMarshaller.cpp?rev=1460467&r1=1460466&r2=1460467&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/KeepAliveInfoMarshaller.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/KeepAliveInfoMarshaller.cpp Sun Mar 24 21:30:52 2013
@@ -51,66 +51,66 @@ unsigned char KeepAliveInfoMarshaller::g
}
///////////////////////////////////////////////////////////////////////////////
-void KeepAliveInfoMarshaller::tightUnmarshal( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn, BooleanStream* bs ) {
+void KeepAliveInfoMarshaller::tightUnmarshal(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn, BooleanStream* bs) {
try {
- BaseCommandMarshaller::tightUnmarshal( wireFormat, dataStructure, dataIn, bs );
+ BaseCommandMarshaller::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 KeepAliveInfoMarshaller::tightMarshal1( OpenWireFormat* wireFormat, DataStructure* dataStructure, BooleanStream* bs ) {
+int KeepAliveInfoMarshaller::tightMarshal1(OpenWireFormat* wireFormat, DataStructure* dataStructure, BooleanStream* bs) {
try {
- int rc = BaseCommandMarshaller::tightMarshal1( wireFormat, dataStructure, bs );
+ int rc = BaseCommandMarshaller::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 KeepAliveInfoMarshaller::tightMarshal2( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut, BooleanStream* bs ) {
+void KeepAliveInfoMarshaller::tightMarshal2(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut, BooleanStream* bs) {
try {
- BaseCommandMarshaller::tightMarshal2( wireFormat, dataStructure, dataOut, bs );
+ BaseCommandMarshaller::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 KeepAliveInfoMarshaller::looseUnmarshal( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn ) {
+void KeepAliveInfoMarshaller::looseUnmarshal(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn) {
try {
- BaseCommandMarshaller::looseUnmarshal( wireFormat, dataStructure, dataIn );
+ BaseCommandMarshaller::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 KeepAliveInfoMarshaller::looseMarshal( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut ) {
+void KeepAliveInfoMarshaller::looseMarshal(OpenWireFormat* wireFormat, DataStructure* dataStructure, DataOutputStream* dataOut) {
try {
- BaseCommandMarshaller::looseMarshal( wireFormat, dataStructure, dataOut );
+ BaseCommandMarshaller::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/KeepAliveInfoMarshaller.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/KeepAliveInfoMarshaller.h?rev=1460467&r1=1460466&r2=1460467&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/KeepAliveInfoMarshaller.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/KeepAliveInfoMarshaller.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 KeepAliveInfoMarshaller
@@ -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);
};