activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r733487 [9/10] - /activemq/activemq-cpp/trunk/src/main/activemq/commands/
Date Sun, 11 Jan 2009 16:36:05 GMT
Added: activemq/activemq-cpp/trunk/src/main/activemq/commands/RemoveInfo.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/RemoveInfo.h?rev=733487&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/commands/RemoveInfo.h (added)
+++ activemq/activemq-cpp/trunk/src/main/activemq/commands/RemoveInfo.h Sun Jan 11 08:36:02 2009
@@ -0,0 +1,105 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef _ACTIVEMQ_COMMANDS_REMOVEINFO_H_
+#define _ACTIVEMQ_COMMANDS_REMOVEINFO_H_
+
+// Turn off warning message for ignored exception specification
+#ifdef _MSC_VER
+#pragma warning( disable : 4290 )
+#endif
+
+#include <activemq/util/Config.h>
+#include <activemq/commands/BaseCommand.h>
+#include <activemq/commands/DataStructure.h>
+#include <vector>
+#include <string>
+
+namespace activemq{
+namespace commands{
+
+    /*
+     *
+     *  Command and marshaling code for OpenWire format for RemoveInfo
+     *
+     *
+     *  NOTE!: This file is autogenerated - do not modify!
+     *         if you need to make a change, please see the Java Classes
+     *         in the activemq-openwire-generator module
+     *
+     */
+    class AMQCPP_API RemoveInfo : public BaseCommand<transport::Command>
+    {
+    protected:
+
+        DataStructure* objectId;
+
+    public:
+
+        const static unsigned char ID_REMOVEINFO = 12;
+
+    public:
+
+        RemoveInfo();
+        virtual ~RemoveInfo();
+
+        /**
+         * Get the unique identifier that this object and its own
+         * Marshaller share.
+         * @returns new DataStructure type copy.
+         */
+        virtual unsigned char getDataStructureType() const;
+
+        /**
+         * Clone this object and return a new instance that the
+         * caller now owns, this will be an exact copy of this one
+         * @returns new copy of this object.
+         */
+        virtual RemoveInfo* cloneDataStructure() const;
+
+        /**
+         * Copy the contents of the passed object into this object's
+         * members, overwriting any existing data.
+         * @param src - Source Object
+         */
+        virtual void copyDataStructure( const DataStructure* src );
+
+        /**
+         * Returns a string containing the information for this DataStructure
+         * such as its type and value of its elements.
+         * @return formatted string useful for debugging.
+         */
+        virtual std::string toString() const;
+
+        /**
+         * Compares the DataStructure passed in to this one, and returns if
+         * they are equivalent.  Equivalent here means that they are of the
+         * same type, and that each element of the objects are the same.
+         * @returns true if DataStructure's are Equal.
+         */
+        virtual bool equals( const DataStructure* value ) const;
+
+        virtual const DataStructure* getObjectId() const;
+        virtual DataStructure* getObjectId();
+        virtual void setObjectId( DataStructure* objectId );
+
+    };
+
+}}
+
+#endif /*_ACTIVEMQ_COMMANDS_REMOVEINFO_H_*/
+

Propchange: activemq/activemq-cpp/trunk/src/main/activemq/commands/RemoveInfo.h
------------------------------------------------------------------------------
    svn:eol-style = native

Added: activemq/activemq-cpp/trunk/src/main/activemq/commands/RemoveSubscriptionInfo.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/RemoveSubscriptionInfo.cpp?rev=733487&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/commands/RemoveSubscriptionInfo.cpp (added)
+++ activemq/activemq-cpp/trunk/src/main/activemq/commands/RemoveSubscriptionInfo.cpp Sun Jan 11 08:36:02 2009
@@ -0,0 +1,180 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+#include <activemq/commands/RemoveSubscriptionInfo.h>
+#include <activemq/exceptions/ActiveMQException.h>
+#include <decaf/lang/exceptions/NullPointerException.h>
+
+using namespace std;
+using namespace activemq;
+using namespace activemq::exceptions;
+using namespace activemq::commands;
+using namespace decaf::lang::exceptions;
+
+/*
+ *
+ *  Command and marshaling code for OpenWire format for RemoveSubscriptionInfo
+ *
+ *
+ *  NOTE!: This file is autogenerated - do not modify!
+ *         if you need to make a change, please see the Java Classes in the
+ *         activemq-core module
+ *
+ */
+////////////////////////////////////////////////////////////////////////////////
+RemoveSubscriptionInfo::RemoveSubscriptionInfo()
+{
+    this->connectionId = NULL;
+    this->subcriptionName = "";
+    this->clientId = "";
+}
+
+////////////////////////////////////////////////////////////////////////////////
+RemoveSubscriptionInfo::~RemoveSubscriptionInfo()
+{
+    delete this->connectionId;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+RemoveSubscriptionInfo* RemoveSubscriptionInfo::cloneDataStructure() const {
+    RemoveSubscriptionInfo* removeSubscriptionInfo = new RemoveSubscriptionInfo();
+
+    // Copy the data from the base class or classes
+    removeSubscriptionInfo->copyDataStructure( this );
+
+    return removeSubscriptionInfo;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void RemoveSubscriptionInfo::copyDataStructure( const DataStructure* src ) {
+
+    // Copy the data of the base class or classes
+    BaseCommand<transport::Command>::copyDataStructure( src );
+
+    const RemoveSubscriptionInfo* srcPtr = dynamic_cast<const RemoveSubscriptionInfo*>( src );
+
+    if( srcPtr == NULL || src == NULL ) {
+
+        throw decaf::lang::exceptions::NullPointerException(
+            __FILE__, __LINE__,
+            "RemoveSubscriptionInfo::copyDataStructure - src is NULL or invalid" );
+    }
+    if( srcPtr->getConnectionId() != NULL ) {
+        this->setConnectionId(
+            dynamic_cast<ConnectionId*>(
+                srcPtr->getConnectionId()->cloneDataStructure() ) );
+    }
+    this->setSubcriptionName( srcPtr->getSubcriptionName() );
+    this->setClientId( srcPtr->getClientId() );
+}
+
+////////////////////////////////////////////////////////////////////////////////
+unsigned char RemoveSubscriptionInfo::getDataStructureType() const {
+    return RemoveSubscriptionInfo::ID_REMOVESUBSCRIPTIONINFO;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+std::string RemoveSubscriptionInfo::toString() const {
+
+    ostringstream stream;
+
+    stream << "Begin Class = RemoveSubscriptionInfo" << std::endl;
+    stream << " Value of RemoveSubscriptionInfo::ID_REMOVESUBSCRIPTIONINFO = 9" << std::endl;
+    stream << " Value of ConnectionId is Below:" << std::endl;
+    if( this->getConnectionId() != NULL ) {
+        stream << this->getConnectionId()->toString() << std::endl;
+    } else {
+        stream << "   Object is NULL" << std::endl;
+    }
+    stream << " Value of SubcriptionName = " << this->getSubcriptionName() << std::endl;
+    stream << " Value of ClientId = " << this->getClientId() << std::endl;
+    stream << BaseCommand<transport::Command>::toString();
+    stream << "End Class = RemoveSubscriptionInfo" << std::endl;
+
+    return stream.str();
+}
+
+////////////////////////////////////////////////////////////////////////////////
+bool RemoveSubscriptionInfo::equals( const DataStructure* value ) const {
+    const RemoveSubscriptionInfo* valuePtr = dynamic_cast<const RemoveSubscriptionInfo*>( value );
+
+    if( valuePtr == NULL || value == NULL ) {
+        return false;
+    }
+    if( this->getConnectionId() != NULL ) {
+        if( !this->getConnectionId()->equals( valuePtr->getConnectionId() ) ) {
+            return false;
+        }
+    } else if( valuePtr->getConnectionId() != NULL ) {
+        return false;
+    }
+    if( this->getSubcriptionName() != valuePtr->getSubcriptionName() ) {
+        return false;
+    }
+    if( this->getClientId() != valuePtr->getClientId() ) {
+        return false;
+    }
+    if( !BaseCommand<transport::Command>::equals( value ) ) {
+        return false;
+    }
+    return true;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+const ConnectionId* RemoveSubscriptionInfo::getConnectionId() const {
+    return connectionId;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+ConnectionId* RemoveSubscriptionInfo::getConnectionId() {
+    return connectionId;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void RemoveSubscriptionInfo::setConnectionId(ConnectionId* connectionId ) {
+    this->connectionId = connectionId;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+const std::string& RemoveSubscriptionInfo::getSubcriptionName() const {
+    return subcriptionName;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+std::string& RemoveSubscriptionInfo::getSubcriptionName() {
+    return subcriptionName;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void RemoveSubscriptionInfo::setSubcriptionName(const std::string& subcriptionName ) {
+    this->subcriptionName = subcriptionName;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+const std::string& RemoveSubscriptionInfo::getClientId() const {
+    return clientId;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+std::string& RemoveSubscriptionInfo::getClientId() {
+    return clientId;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void RemoveSubscriptionInfo::setClientId(const std::string& clientId ) {
+    this->clientId = clientId;
+}
+

Propchange: activemq/activemq-cpp/trunk/src/main/activemq/commands/RemoveSubscriptionInfo.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: activemq/activemq-cpp/trunk/src/main/activemq/commands/RemoveSubscriptionInfo.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/RemoveSubscriptionInfo.h?rev=733487&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/commands/RemoveSubscriptionInfo.h (added)
+++ activemq/activemq-cpp/trunk/src/main/activemq/commands/RemoveSubscriptionInfo.h Sun Jan 11 08:36:02 2009
@@ -0,0 +1,115 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef _ACTIVEMQ_COMMANDS_REMOVESUBSCRIPTIONINFO_H_
+#define _ACTIVEMQ_COMMANDS_REMOVESUBSCRIPTIONINFO_H_
+
+// Turn off warning message for ignored exception specification
+#ifdef _MSC_VER
+#pragma warning( disable : 4290 )
+#endif
+
+#include <activemq/util/Config.h>
+#include <activemq/commands/BaseCommand.h>
+#include <activemq/commands/ConnectionId.h>
+#include <vector>
+#include <string>
+
+namespace activemq{
+namespace commands{
+
+    /*
+     *
+     *  Command and marshaling code for OpenWire format for RemoveSubscriptionInfo
+     *
+     *
+     *  NOTE!: This file is autogenerated - do not modify!
+     *         if you need to make a change, please see the Java Classes
+     *         in the activemq-openwire-generator module
+     *
+     */
+    class AMQCPP_API RemoveSubscriptionInfo : public BaseCommand<transport::Command>
+    {
+    protected:
+
+        ConnectionId* connectionId;
+        std::string subcriptionName;
+        std::string clientId;
+
+    public:
+
+        const static unsigned char ID_REMOVESUBSCRIPTIONINFO = 9;
+
+    public:
+
+        RemoveSubscriptionInfo();
+        virtual ~RemoveSubscriptionInfo();
+
+        /**
+         * Get the unique identifier that this object and its own
+         * Marshaller share.
+         * @returns new DataStructure type copy.
+         */
+        virtual unsigned char getDataStructureType() const;
+
+        /**
+         * Clone this object and return a new instance that the
+         * caller now owns, this will be an exact copy of this one
+         * @returns new copy of this object.
+         */
+        virtual RemoveSubscriptionInfo* cloneDataStructure() const;
+
+        /**
+         * Copy the contents of the passed object into this object's
+         * members, overwriting any existing data.
+         * @param src - Source Object
+         */
+        virtual void copyDataStructure( const DataStructure* src );
+
+        /**
+         * Returns a string containing the information for this DataStructure
+         * such as its type and value of its elements.
+         * @return formatted string useful for debugging.
+         */
+        virtual std::string toString() const;
+
+        /**
+         * Compares the DataStructure passed in to this one, and returns if
+         * they are equivalent.  Equivalent here means that they are of the
+         * same type, and that each element of the objects are the same.
+         * @returns true if DataStructure's are Equal.
+         */
+        virtual bool equals( const DataStructure* value ) const;
+
+        virtual const ConnectionId* getConnectionId() const;
+        virtual ConnectionId* getConnectionId();
+        virtual void setConnectionId( ConnectionId* connectionId );
+
+        virtual const std::string& getSubcriptionName() const;
+        virtual std::string& getSubcriptionName();
+        virtual void setSubcriptionName( const std::string& subcriptionName );
+
+        virtual const std::string& getClientId() const;
+        virtual std::string& getClientId();
+        virtual void setClientId( const std::string& clientId );
+
+    };
+
+}}
+
+#endif /*_ACTIVEMQ_COMMANDS_REMOVESUBSCRIPTIONINFO_H_*/
+

Propchange: activemq/activemq-cpp/trunk/src/main/activemq/commands/RemoveSubscriptionInfo.h
------------------------------------------------------------------------------
    svn:eol-style = native

Added: activemq/activemq-cpp/trunk/src/main/activemq/commands/ReplayCommand.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/ReplayCommand.cpp?rev=733487&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/commands/ReplayCommand.cpp (added)
+++ activemq/activemq-cpp/trunk/src/main/activemq/commands/ReplayCommand.cpp Sun Jan 11 08:36:02 2009
@@ -0,0 +1,135 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+#include <activemq/commands/ReplayCommand.h>
+#include <activemq/exceptions/ActiveMQException.h>
+#include <decaf/lang/exceptions/NullPointerException.h>
+
+using namespace std;
+using namespace activemq;
+using namespace activemq::exceptions;
+using namespace activemq::commands;
+using namespace decaf::lang::exceptions;
+
+/*
+ *
+ *  Command and marshaling code for OpenWire format for ReplayCommand
+ *
+ *
+ *  NOTE!: This file is autogenerated - do not modify!
+ *         if you need to make a change, please see the Java Classes in the
+ *         activemq-core module
+ *
+ */
+////////////////////////////////////////////////////////////////////////////////
+ReplayCommand::ReplayCommand()
+{
+    this->firstNakNumber = 0;
+    this->lastNakNumber = 0;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+ReplayCommand::~ReplayCommand()
+{
+}
+
+////////////////////////////////////////////////////////////////////////////////
+ReplayCommand* ReplayCommand::cloneDataStructure() const {
+    ReplayCommand* replayCommand = new ReplayCommand();
+
+    // Copy the data from the base class or classes
+    replayCommand->copyDataStructure( this );
+
+    return replayCommand;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void ReplayCommand::copyDataStructure( const DataStructure* src ) {
+
+    // Copy the data of the base class or classes
+    BaseCommand<transport::Command>::copyDataStructure( src );
+
+    const ReplayCommand* srcPtr = dynamic_cast<const ReplayCommand*>( src );
+
+    if( srcPtr == NULL || src == NULL ) {
+
+        throw decaf::lang::exceptions::NullPointerException(
+            __FILE__, __LINE__,
+            "ReplayCommand::copyDataStructure - src is NULL or invalid" );
+    }
+    this->setFirstNakNumber( srcPtr->getFirstNakNumber() );
+    this->setLastNakNumber( srcPtr->getLastNakNumber() );
+}
+
+////////////////////////////////////////////////////////////////////////////////
+unsigned char ReplayCommand::getDataStructureType() const {
+    return ReplayCommand::ID_REPLAYCOMMAND;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+std::string ReplayCommand::toString() const {
+
+    ostringstream stream;
+
+    stream << "Begin Class = ReplayCommand" << std::endl;
+    stream << " Value of ReplayCommand::ID_REPLAYCOMMAND = 65" << std::endl;
+    stream << " Value of FirstNakNumber = " << this->getFirstNakNumber() << std::endl;
+    stream << " Value of LastNakNumber = " << this->getLastNakNumber() << std::endl;
+    stream << BaseCommand<transport::Command>::toString();
+    stream << "End Class = ReplayCommand" << std::endl;
+
+    return stream.str();
+}
+
+////////////////////////////////////////////////////////////////////////////////
+bool ReplayCommand::equals( const DataStructure* value ) const {
+    const ReplayCommand* valuePtr = dynamic_cast<const ReplayCommand*>( value );
+
+    if( valuePtr == NULL || value == NULL ) {
+        return false;
+    }
+    if( this->getFirstNakNumber() != valuePtr->getFirstNakNumber() ) {
+        return false;
+    }
+    if( this->getLastNakNumber() != valuePtr->getLastNakNumber() ) {
+        return false;
+    }
+    if( !BaseCommand<transport::Command>::equals( value ) ) {
+        return false;
+    }
+    return true;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+int ReplayCommand::getFirstNakNumber() const {
+    return firstNakNumber;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void ReplayCommand::setFirstNakNumber(int firstNakNumber ) {
+    this->firstNakNumber = firstNakNumber;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+int ReplayCommand::getLastNakNumber() const {
+    return lastNakNumber;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void ReplayCommand::setLastNakNumber(int lastNakNumber ) {
+    this->lastNakNumber = lastNakNumber;
+}
+

Propchange: activemq/activemq-cpp/trunk/src/main/activemq/commands/ReplayCommand.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: activemq/activemq-cpp/trunk/src/main/activemq/commands/ReplayCommand.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/ReplayCommand.h?rev=733487&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/commands/ReplayCommand.h (added)
+++ activemq/activemq-cpp/trunk/src/main/activemq/commands/ReplayCommand.h Sun Jan 11 08:36:02 2009
@@ -0,0 +1,107 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef _ACTIVEMQ_COMMANDS_REPLAYCOMMAND_H_
+#define _ACTIVEMQ_COMMANDS_REPLAYCOMMAND_H_
+
+// Turn off warning message for ignored exception specification
+#ifdef _MSC_VER
+#pragma warning( disable : 4290 )
+#endif
+
+#include <activemq/util/Config.h>
+#include <activemq/commands/BaseCommand.h>
+#include <vector>
+#include <string>
+
+namespace activemq{
+namespace commands{
+
+    /*
+     *
+     *  Command and marshaling code for OpenWire format for ReplayCommand
+     *
+     *
+     *  NOTE!: This file is autogenerated - do not modify!
+     *         if you need to make a change, please see the Java Classes
+     *         in the activemq-openwire-generator module
+     *
+     */
+    class AMQCPP_API ReplayCommand : public BaseCommand<transport::Command>
+    {
+    protected:
+
+        int firstNakNumber;
+        int lastNakNumber;
+
+    public:
+
+        const static unsigned char ID_REPLAYCOMMAND = 65;
+
+    public:
+
+        ReplayCommand();
+        virtual ~ReplayCommand();
+
+        /**
+         * Get the unique identifier that this object and its own
+         * Marshaller share.
+         * @returns new DataStructure type copy.
+         */
+        virtual unsigned char getDataStructureType() const;
+
+        /**
+         * Clone this object and return a new instance that the
+         * caller now owns, this will be an exact copy of this one
+         * @returns new copy of this object.
+         */
+        virtual ReplayCommand* cloneDataStructure() const;
+
+        /**
+         * Copy the contents of the passed object into this object's
+         * members, overwriting any existing data.
+         * @param src - Source Object
+         */
+        virtual void copyDataStructure( const DataStructure* src );
+
+        /**
+         * Returns a string containing the information for this DataStructure
+         * such as its type and value of its elements.
+         * @return formatted string useful for debugging.
+         */
+        virtual std::string toString() const;
+
+        /**
+         * Compares the DataStructure passed in to this one, and returns if
+         * they are equivalent.  Equivalent here means that they are of the
+         * same type, and that each element of the objects are the same.
+         * @returns true if DataStructure's are Equal.
+         */
+        virtual bool equals( const DataStructure* value ) const;
+
+        virtual int getFirstNakNumber() const;
+        virtual void setFirstNakNumber( int firstNakNumber );
+
+        virtual int getLastNakNumber() const;
+        virtual void setLastNakNumber( int lastNakNumber );
+
+    };
+
+}}
+
+#endif /*_ACTIVEMQ_COMMANDS_REPLAYCOMMAND_H_*/
+

Propchange: activemq/activemq-cpp/trunk/src/main/activemq/commands/ReplayCommand.h
------------------------------------------------------------------------------
    svn:eol-style = native

Added: activemq/activemq-cpp/trunk/src/main/activemq/commands/Response.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/Response.cpp?rev=733487&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/commands/Response.cpp (added)
+++ activemq/activemq-cpp/trunk/src/main/activemq/commands/Response.cpp Sun Jan 11 08:36:02 2009
@@ -0,0 +1,119 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+#include <activemq/commands/Response.h>
+#include <activemq/exceptions/ActiveMQException.h>
+#include <decaf/lang/exceptions/NullPointerException.h>
+
+using namespace std;
+using namespace activemq;
+using namespace activemq::exceptions;
+using namespace activemq::commands;
+using namespace decaf::lang::exceptions;
+
+/*
+ *
+ *  Command and marshaling code for OpenWire format for Response
+ *
+ *
+ *  NOTE!: This file is autogenerated - do not modify!
+ *         if you need to make a change, please see the Java Classes in the
+ *         activemq-core module
+ *
+ */
+////////////////////////////////////////////////////////////////////////////////
+Response::Response()
+{
+    this->correlationId = 0;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+Response::~Response()
+{
+}
+
+////////////////////////////////////////////////////////////////////////////////
+Response* Response::cloneDataStructure() const {
+    Response* response = new Response();
+
+    // Copy the data from the base class or classes
+    response->copyDataStructure( this );
+
+    return response;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void Response::copyDataStructure( const DataStructure* src ) {
+
+    // Copy the data of the base class or classes
+    BaseCommand<transport::Response>::copyDataStructure( src );
+
+    const Response* srcPtr = dynamic_cast<const Response*>( src );
+
+    if( srcPtr == NULL || src == NULL ) {
+
+        throw decaf::lang::exceptions::NullPointerException(
+            __FILE__, __LINE__,
+            "Response::copyDataStructure - src is NULL or invalid" );
+    }
+    this->setCorrelationId( srcPtr->getCorrelationId() );
+}
+
+////////////////////////////////////////////////////////////////////////////////
+unsigned char Response::getDataStructureType() const {
+    return Response::ID_RESPONSE;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+std::string Response::toString() const {
+
+    ostringstream stream;
+
+    stream << "Begin Class = Response" << std::endl;
+    stream << " Value of Response::ID_RESPONSE = 30" << std::endl;
+    stream << " Value of CorrelationId = " << this->getCorrelationId() << std::endl;
+    stream << BaseCommand<transport::Response>::toString();
+    stream << "End Class = Response" << std::endl;
+
+    return stream.str();
+}
+
+////////////////////////////////////////////////////////////////////////////////
+bool Response::equals( const DataStructure* value ) const {
+    const Response* valuePtr = dynamic_cast<const Response*>( value );
+
+    if( valuePtr == NULL || value == NULL ) {
+        return false;
+    }
+    if( this->getCorrelationId() != valuePtr->getCorrelationId() ) {
+        return false;
+    }
+    if( !BaseCommand<transport::Response>::equals( value ) ) {
+        return false;
+    }
+    return true;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+int Response::getCorrelationId() const {
+    return correlationId;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void Response::setCorrelationId(int correlationId ) {
+    this->correlationId = correlationId;
+}
+

Propchange: activemq/activemq-cpp/trunk/src/main/activemq/commands/Response.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: activemq/activemq-cpp/trunk/src/main/activemq/commands/Response.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/Response.h?rev=733487&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/commands/Response.h (added)
+++ activemq/activemq-cpp/trunk/src/main/activemq/commands/Response.h Sun Jan 11 08:36:02 2009
@@ -0,0 +1,103 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef _ACTIVEMQ_COMMANDS_RESPONSE_H_
+#define _ACTIVEMQ_COMMANDS_RESPONSE_H_
+
+// Turn off warning message for ignored exception specification
+#ifdef _MSC_VER
+#pragma warning( disable : 4290 )
+#endif
+
+#include <activemq/util/Config.h>
+#include <activemq/commands/BaseCommand.h>
+#include <vector>
+#include <string>
+
+namespace activemq{
+namespace commands{
+
+    /*
+     *
+     *  Command and marshaling code for OpenWire format for Response
+     *
+     *
+     *  NOTE!: This file is autogenerated - do not modify!
+     *         if you need to make a change, please see the Java Classes
+     *         in the activemq-openwire-generator module
+     *
+     */
+    class AMQCPP_API Response : public BaseCommand<transport::Response>
+    {
+    protected:
+
+        int correlationId;
+
+    public:
+
+        const static unsigned char ID_RESPONSE = 30;
+
+    public:
+
+        Response();
+        virtual ~Response();
+
+        /**
+         * Get the unique identifier that this object and its own
+         * Marshaller share.
+         * @returns new DataStructure type copy.
+         */
+        virtual unsigned char getDataStructureType() const;
+
+        /**
+         * Clone this object and return a new instance that the
+         * caller now owns, this will be an exact copy of this one
+         * @returns new copy of this object.
+         */
+        virtual Response* cloneDataStructure() const;
+
+        /**
+         * Copy the contents of the passed object into this object's
+         * members, overwriting any existing data.
+         * @param src - Source Object
+         */
+        virtual void copyDataStructure( const DataStructure* src );
+
+        /**
+         * Returns a string containing the information for this DataStructure
+         * such as its type and value of its elements.
+         * @return formatted string useful for debugging.
+         */
+        virtual std::string toString() const;
+
+        /**
+         * Compares the DataStructure passed in to this one, and returns if
+         * they are equivalent.  Equivalent here means that they are of the
+         * same type, and that each element of the objects are the same.
+         * @returns true if DataStructure's are Equal.
+         */
+        virtual bool equals( const DataStructure* value ) const;
+
+        virtual int getCorrelationId() const;
+        virtual void setCorrelationId( int correlationId );
+
+    };
+
+}}
+
+#endif /*_ACTIVEMQ_COMMANDS_RESPONSE_H_*/
+

Propchange: activemq/activemq-cpp/trunk/src/main/activemq/commands/Response.h
------------------------------------------------------------------------------
    svn:eol-style = native

Added: activemq/activemq-cpp/trunk/src/main/activemq/commands/SessionId.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/SessionId.cpp?rev=733487&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/commands/SessionId.cpp (added)
+++ activemq/activemq-cpp/trunk/src/main/activemq/commands/SessionId.cpp Sun Jan 11 08:36:02 2009
@@ -0,0 +1,140 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+#include <activemq/commands/SessionId.h>
+#include <activemq/exceptions/ActiveMQException.h>
+#include <decaf/lang/exceptions/NullPointerException.h>
+
+using namespace std;
+using namespace activemq;
+using namespace activemq::exceptions;
+using namespace activemq::commands;
+using namespace decaf::lang::exceptions;
+
+/*
+ *
+ *  Command and marshaling code for OpenWire format for SessionId
+ *
+ *
+ *  NOTE!: This file is autogenerated - do not modify!
+ *         if you need to make a change, please see the Java Classes in the
+ *         activemq-core module
+ *
+ */
+////////////////////////////////////////////////////////////////////////////////
+SessionId::SessionId()
+{
+    this->connectionId = "";
+    this->value = 0;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+SessionId::~SessionId()
+{
+}
+
+////////////////////////////////////////////////////////////////////////////////
+SessionId* SessionId::cloneDataStructure() const {
+    SessionId* sessionId = new SessionId();
+
+    // Copy the data from the base class or classes
+    sessionId->copyDataStructure( this );
+
+    return sessionId;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void SessionId::copyDataStructure( const DataStructure* src ) {
+
+    // Copy the data of the base class or classes
+    BaseDataStructure::copyDataStructure( src );
+
+    const SessionId* srcPtr = dynamic_cast<const SessionId*>( src );
+
+    if( srcPtr == NULL || src == NULL ) {
+
+        throw decaf::lang::exceptions::NullPointerException(
+            __FILE__, __LINE__,
+            "SessionId::copyDataStructure - src is NULL or invalid" );
+    }
+    this->setConnectionId( srcPtr->getConnectionId() );
+    this->setValue( srcPtr->getValue() );
+}
+
+////////////////////////////////////////////////////////////////////////////////
+unsigned char SessionId::getDataStructureType() const {
+    return SessionId::ID_SESSIONID;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+std::string SessionId::toString() const {
+
+    ostringstream stream;
+
+    stream << "Begin Class = SessionId" << std::endl;
+    stream << " Value of SessionId::ID_SESSIONID = 121" << std::endl;
+    stream << " Value of ConnectionId = " << this->getConnectionId() << std::endl;
+    stream << " Value of Value = " << this->getValue() << std::endl;
+    stream << BaseDataStructure::toString();
+    stream << "End Class = SessionId" << std::endl;
+
+    return stream.str();
+}
+
+////////////////////////////////////////////////////////////////////////////////
+bool SessionId::equals( const DataStructure* value ) const {
+    const SessionId* valuePtr = dynamic_cast<const SessionId*>( value );
+
+    if( valuePtr == NULL || value == NULL ) {
+        return false;
+    }
+    if( this->getConnectionId() != valuePtr->getConnectionId() ) {
+        return false;
+    }
+    if( this->getValue() != valuePtr->getValue() ) {
+        return false;
+    }
+    if( !BaseDataStructure::equals( value ) ) {
+        return false;
+    }
+    return true;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+const std::string& SessionId::getConnectionId() const {
+    return connectionId;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+std::string& SessionId::getConnectionId() {
+    return connectionId;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void SessionId::setConnectionId(const std::string& connectionId ) {
+    this->connectionId = connectionId;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+long long SessionId::getValue() const {
+    return value;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void SessionId::setValue(long long value ) {
+    this->value = value;
+}
+

Propchange: activemq/activemq-cpp/trunk/src/main/activemq/commands/SessionId.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: activemq/activemq-cpp/trunk/src/main/activemq/commands/SessionId.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/SessionId.h?rev=733487&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/commands/SessionId.h (added)
+++ activemq/activemq-cpp/trunk/src/main/activemq/commands/SessionId.h Sun Jan 11 08:36:02 2009
@@ -0,0 +1,108 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef _ACTIVEMQ_COMMANDS_SESSIONID_H_
+#define _ACTIVEMQ_COMMANDS_SESSIONID_H_
+
+// Turn off warning message for ignored exception specification
+#ifdef _MSC_VER
+#pragma warning( disable : 4290 )
+#endif
+
+#include <activemq/util/Config.h>
+#include <activemq/commands/BaseDataStructure.h>
+#include <vector>
+#include <string>
+
+namespace activemq{
+namespace commands{
+
+    /*
+     *
+     *  Command and marshaling code for OpenWire format for SessionId
+     *
+     *
+     *  NOTE!: This file is autogenerated - do not modify!
+     *         if you need to make a change, please see the Java Classes
+     *         in the activemq-openwire-generator module
+     *
+     */
+    class AMQCPP_API SessionId : public BaseDataStructure
+    {
+    protected:
+
+        std::string connectionId;
+        long long value;
+
+    public:
+
+        const static unsigned char ID_SESSIONID = 121;
+
+    public:
+
+        SessionId();
+        virtual ~SessionId();
+
+        /**
+         * Get the unique identifier that this object and its own
+         * Marshaller share.
+         * @returns new DataStructure type copy.
+         */
+        virtual unsigned char getDataStructureType() const;
+
+        /**
+         * Clone this object and return a new instance that the
+         * caller now owns, this will be an exact copy of this one
+         * @returns new copy of this object.
+         */
+        virtual SessionId* cloneDataStructure() const;
+
+        /**
+         * Copy the contents of the passed object into this object's
+         * members, overwriting any existing data.
+         * @param src - Source Object
+         */
+        virtual void copyDataStructure( const DataStructure* src );
+
+        /**
+         * Returns a string containing the information for this DataStructure
+         * such as its type and value of its elements.
+         * @return formatted string useful for debugging.
+         */
+        virtual std::string toString() const;
+
+        /**
+         * Compares the DataStructure passed in to this one, and returns if
+         * they are equivalent.  Equivalent here means that they are of the
+         * same type, and that each element of the objects are the same.
+         * @returns true if DataStructure's are Equal.
+         */
+        virtual bool equals( const DataStructure* value ) const;
+
+        virtual const std::string& getConnectionId() const;
+        virtual std::string& getConnectionId();
+        virtual void setConnectionId( const std::string& connectionId );
+
+        virtual long long getValue() const;
+        virtual void setValue( long long value );
+
+    };
+
+}}
+
+#endif /*_ACTIVEMQ_COMMANDS_SESSIONID_H_*/
+

Propchange: activemq/activemq-cpp/trunk/src/main/activemq/commands/SessionId.h
------------------------------------------------------------------------------
    svn:eol-style = native

Added: activemq/activemq-cpp/trunk/src/main/activemq/commands/SessionInfo.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/SessionInfo.cpp?rev=733487&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/commands/SessionInfo.cpp (added)
+++ activemq/activemq-cpp/trunk/src/main/activemq/commands/SessionInfo.cpp Sun Jan 11 08:36:02 2009
@@ -0,0 +1,138 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+#include <activemq/commands/SessionInfo.h>
+#include <activemq/exceptions/ActiveMQException.h>
+#include <decaf/lang/exceptions/NullPointerException.h>
+
+using namespace std;
+using namespace activemq;
+using namespace activemq::exceptions;
+using namespace activemq::commands;
+using namespace decaf::lang::exceptions;
+
+/*
+ *
+ *  Command and marshaling code for OpenWire format for SessionInfo
+ *
+ *
+ *  NOTE!: This file is autogenerated - do not modify!
+ *         if you need to make a change, please see the Java Classes in the
+ *         activemq-core module
+ *
+ */
+////////////////////////////////////////////////////////////////////////////////
+SessionInfo::SessionInfo()
+{
+    this->sessionId = NULL;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+SessionInfo::~SessionInfo()
+{
+    delete this->sessionId;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+SessionInfo* SessionInfo::cloneDataStructure() const {
+    SessionInfo* sessionInfo = new SessionInfo();
+
+    // Copy the data from the base class or classes
+    sessionInfo->copyDataStructure( this );
+
+    return sessionInfo;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void SessionInfo::copyDataStructure( const DataStructure* src ) {
+
+    // Copy the data of the base class or classes
+    BaseCommand<transport::Command>::copyDataStructure( src );
+
+    const SessionInfo* srcPtr = dynamic_cast<const SessionInfo*>( src );
+
+    if( srcPtr == NULL || src == NULL ) {
+
+        throw decaf::lang::exceptions::NullPointerException(
+            __FILE__, __LINE__,
+            "SessionInfo::copyDataStructure - src is NULL or invalid" );
+    }
+    if( srcPtr->getSessionId() != NULL ) {
+        this->setSessionId(
+            dynamic_cast<SessionId*>(
+                srcPtr->getSessionId()->cloneDataStructure() ) );
+    }
+}
+
+////////////////////////////////////////////////////////////////////////////////
+unsigned char SessionInfo::getDataStructureType() const {
+    return SessionInfo::ID_SESSIONINFO;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+std::string SessionInfo::toString() const {
+
+    ostringstream stream;
+
+    stream << "Begin Class = SessionInfo" << std::endl;
+    stream << " Value of SessionInfo::ID_SESSIONINFO = 4" << std::endl;
+    stream << " Value of SessionId is Below:" << std::endl;
+    if( this->getSessionId() != NULL ) {
+        stream << this->getSessionId()->toString() << std::endl;
+    } else {
+        stream << "   Object is NULL" << std::endl;
+    }
+    stream << BaseCommand<transport::Command>::toString();
+    stream << "End Class = SessionInfo" << std::endl;
+
+    return stream.str();
+}
+
+////////////////////////////////////////////////////////////////////////////////
+bool SessionInfo::equals( const DataStructure* value ) const {
+    const SessionInfo* valuePtr = dynamic_cast<const SessionInfo*>( value );
+
+    if( valuePtr == NULL || value == NULL ) {
+        return false;
+    }
+    if( this->getSessionId() != NULL ) {
+        if( !this->getSessionId()->equals( valuePtr->getSessionId() ) ) {
+            return false;
+        }
+    } else if( valuePtr->getSessionId() != NULL ) {
+        return false;
+    }
+    if( !BaseCommand<transport::Command>::equals( value ) ) {
+        return false;
+    }
+    return true;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+const SessionId* SessionInfo::getSessionId() const {
+    return sessionId;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+SessionId* SessionInfo::getSessionId() {
+    return sessionId;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void SessionInfo::setSessionId(SessionId* sessionId ) {
+    this->sessionId = sessionId;
+}
+

Propchange: activemq/activemq-cpp/trunk/src/main/activemq/commands/SessionInfo.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: activemq/activemq-cpp/trunk/src/main/activemq/commands/SessionInfo.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/SessionInfo.h?rev=733487&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/commands/SessionInfo.h (added)
+++ activemq/activemq-cpp/trunk/src/main/activemq/commands/SessionInfo.h Sun Jan 11 08:36:02 2009
@@ -0,0 +1,105 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef _ACTIVEMQ_COMMANDS_SESSIONINFO_H_
+#define _ACTIVEMQ_COMMANDS_SESSIONINFO_H_
+
+// Turn off warning message for ignored exception specification
+#ifdef _MSC_VER
+#pragma warning( disable : 4290 )
+#endif
+
+#include <activemq/util/Config.h>
+#include <activemq/commands/BaseCommand.h>
+#include <activemq/commands/SessionId.h>
+#include <vector>
+#include <string>
+
+namespace activemq{
+namespace commands{
+
+    /*
+     *
+     *  Command and marshaling code for OpenWire format for SessionInfo
+     *
+     *
+     *  NOTE!: This file is autogenerated - do not modify!
+     *         if you need to make a change, please see the Java Classes
+     *         in the activemq-openwire-generator module
+     *
+     */
+    class AMQCPP_API SessionInfo : public BaseCommand<transport::Command>
+    {
+    protected:
+
+        SessionId* sessionId;
+
+    public:
+
+        const static unsigned char ID_SESSIONINFO = 4;
+
+    public:
+
+        SessionInfo();
+        virtual ~SessionInfo();
+
+        /**
+         * Get the unique identifier that this object and its own
+         * Marshaller share.
+         * @returns new DataStructure type copy.
+         */
+        virtual unsigned char getDataStructureType() const;
+
+        /**
+         * Clone this object and return a new instance that the
+         * caller now owns, this will be an exact copy of this one
+         * @returns new copy of this object.
+         */
+        virtual SessionInfo* cloneDataStructure() const;
+
+        /**
+         * Copy the contents of the passed object into this object's
+         * members, overwriting any existing data.
+         * @param src - Source Object
+         */
+        virtual void copyDataStructure( const DataStructure* src );
+
+        /**
+         * Returns a string containing the information for this DataStructure
+         * such as its type and value of its elements.
+         * @return formatted string useful for debugging.
+         */
+        virtual std::string toString() const;
+
+        /**
+         * Compares the DataStructure passed in to this one, and returns if
+         * they are equivalent.  Equivalent here means that they are of the
+         * same type, and that each element of the objects are the same.
+         * @returns true if DataStructure's are Equal.
+         */
+        virtual bool equals( const DataStructure* value ) const;
+
+        virtual const SessionId* getSessionId() const;
+        virtual SessionId* getSessionId();
+        virtual void setSessionId( SessionId* sessionId );
+
+    };
+
+}}
+
+#endif /*_ACTIVEMQ_COMMANDS_SESSIONINFO_H_*/
+

Propchange: activemq/activemq-cpp/trunk/src/main/activemq/commands/SessionInfo.h
------------------------------------------------------------------------------
    svn:eol-style = native

Added: activemq/activemq-cpp/trunk/src/main/activemq/commands/ShutdownInfo.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/ShutdownInfo.cpp?rev=733487&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/commands/ShutdownInfo.cpp (added)
+++ activemq/activemq-cpp/trunk/src/main/activemq/commands/ShutdownInfo.cpp Sun Jan 11 08:36:02 2009
@@ -0,0 +1,103 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+#include <activemq/commands/ShutdownInfo.h>
+#include <activemq/exceptions/ActiveMQException.h>
+#include <decaf/lang/exceptions/NullPointerException.h>
+
+using namespace std;
+using namespace activemq;
+using namespace activemq::exceptions;
+using namespace activemq::commands;
+using namespace decaf::lang::exceptions;
+
+/*
+ *
+ *  Command and marshaling code for OpenWire format for ShutdownInfo
+ *
+ *
+ *  NOTE!: This file is autogenerated - do not modify!
+ *         if you need to make a change, please see the Java Classes in the
+ *         activemq-core module
+ *
+ */
+////////////////////////////////////////////////////////////////////////////////
+ShutdownInfo::ShutdownInfo()
+{
+}
+
+////////////////////////////////////////////////////////////////////////////////
+ShutdownInfo::~ShutdownInfo()
+{
+}
+
+////////////////////////////////////////////////////////////////////////////////
+ShutdownInfo* ShutdownInfo::cloneDataStructure() const {
+    ShutdownInfo* shutdownInfo = new ShutdownInfo();
+
+    // Copy the data from the base class or classes
+    shutdownInfo->copyDataStructure( this );
+
+    return shutdownInfo;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void ShutdownInfo::copyDataStructure( const DataStructure* src ) {
+
+    // Copy the data of the base class or classes
+    BaseCommand<transport::Command>::copyDataStructure( src );
+
+    const ShutdownInfo* srcPtr = dynamic_cast<const ShutdownInfo*>( src );
+
+    if( srcPtr == NULL || src == NULL ) {
+
+        throw decaf::lang::exceptions::NullPointerException(
+            __FILE__, __LINE__,
+            "ShutdownInfo::copyDataStructure - src is NULL or invalid" );
+    }
+}
+
+////////////////////////////////////////////////////////////////////////////////
+unsigned char ShutdownInfo::getDataStructureType() const {
+    return ShutdownInfo::ID_SHUTDOWNINFO;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+std::string ShutdownInfo::toString() const {
+
+    ostringstream stream;
+
+    stream << "Begin Class = ShutdownInfo" << std::endl;
+    stream << " Value of ShutdownInfo::ID_SHUTDOWNINFO = 11" << std::endl;
+    stream << BaseCommand<transport::Command>::toString();
+    stream << "End Class = ShutdownInfo" << std::endl;
+
+    return stream.str();
+}
+
+////////////////////////////////////////////////////////////////////////////////
+bool ShutdownInfo::equals( const DataStructure* value ) const {
+    const ShutdownInfo* valuePtr = dynamic_cast<const ShutdownInfo*>( value );
+
+    if( valuePtr == NULL || value == NULL ) {
+        return false;
+    }
+    if( !BaseCommand<transport::Command>::equals( value ) ) {
+        return false;
+    }
+    return true;
+}
+

Propchange: activemq/activemq-cpp/trunk/src/main/activemq/commands/ShutdownInfo.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: activemq/activemq-cpp/trunk/src/main/activemq/commands/ShutdownInfo.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/ShutdownInfo.h?rev=733487&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/commands/ShutdownInfo.h (added)
+++ activemq/activemq-cpp/trunk/src/main/activemq/commands/ShutdownInfo.h Sun Jan 11 08:36:02 2009
@@ -0,0 +1,99 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef _ACTIVEMQ_COMMANDS_SHUTDOWNINFO_H_
+#define _ACTIVEMQ_COMMANDS_SHUTDOWNINFO_H_
+
+// Turn off warning message for ignored exception specification
+#ifdef _MSC_VER
+#pragma warning( disable : 4290 )
+#endif
+
+#include <activemq/util/Config.h>
+#include <activemq/commands/BaseCommand.h>
+#include <vector>
+#include <string>
+
+namespace activemq{
+namespace commands{
+
+    /*
+     *
+     *  Command and marshaling code for OpenWire format for ShutdownInfo
+     *
+     *
+     *  NOTE!: This file is autogenerated - do not modify!
+     *         if you need to make a change, please see the Java Classes
+     *         in the activemq-openwire-generator module
+     *
+     */
+    class AMQCPP_API ShutdownInfo : public BaseCommand<transport::Command>
+    {
+    protected:
+
+
+    public:
+
+        const static unsigned char ID_SHUTDOWNINFO = 11;
+
+    public:
+
+        ShutdownInfo();
+        virtual ~ShutdownInfo();
+
+        /**
+         * Get the unique identifier that this object and its own
+         * Marshaller share.
+         * @returns new DataStructure type copy.
+         */
+        virtual unsigned char getDataStructureType() const;
+
+        /**
+         * Clone this object and return a new instance that the
+         * caller now owns, this will be an exact copy of this one
+         * @returns new copy of this object.
+         */
+        virtual ShutdownInfo* cloneDataStructure() const;
+
+        /**
+         * Copy the contents of the passed object into this object's
+         * members, overwriting any existing data.
+         * @param src - Source Object
+         */
+        virtual void copyDataStructure( const DataStructure* src );
+
+        /**
+         * Returns a string containing the information for this DataStructure
+         * such as its type and value of its elements.
+         * @return formatted string useful for debugging.
+         */
+        virtual std::string toString() const;
+
+        /**
+         * Compares the DataStructure passed in to this one, and returns if
+         * they are equivalent.  Equivalent here means that they are of the
+         * same type, and that each element of the objects are the same.
+         * @returns true if DataStructure's are Equal.
+         */
+        virtual bool equals( const DataStructure* value ) const;
+
+    };
+
+}}
+
+#endif /*_ACTIVEMQ_COMMANDS_SHUTDOWNINFO_H_*/
+

Propchange: activemq/activemq-cpp/trunk/src/main/activemq/commands/ShutdownInfo.h
------------------------------------------------------------------------------
    svn:eol-style = native

Added: activemq/activemq-cpp/trunk/src/main/activemq/commands/SubscriptionInfo.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/SubscriptionInfo.cpp?rev=733487&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/commands/SubscriptionInfo.cpp (added)
+++ activemq/activemq-cpp/trunk/src/main/activemq/commands/SubscriptionInfo.cpp Sun Jan 11 08:36:02 2009
@@ -0,0 +1,236 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+#include <activemq/commands/SubscriptionInfo.h>
+#include <activemq/exceptions/ActiveMQException.h>
+#include <decaf/lang/exceptions/NullPointerException.h>
+
+using namespace std;
+using namespace activemq;
+using namespace activemq::exceptions;
+using namespace activemq::commands;
+using namespace decaf::lang::exceptions;
+
+/*
+ *
+ *  Command and marshaling code for OpenWire format for SubscriptionInfo
+ *
+ *
+ *  NOTE!: This file is autogenerated - do not modify!
+ *         if you need to make a change, please see the Java Classes in the
+ *         activemq-core module
+ *
+ */
+////////////////////////////////////////////////////////////////////////////////
+SubscriptionInfo::SubscriptionInfo()
+{
+    this->clientId = "";
+    this->destination = NULL;
+    this->selector = "";
+    this->subcriptionName = "";
+    this->subscribedDestination = NULL;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+SubscriptionInfo::~SubscriptionInfo()
+{
+    delete this->destination;
+    delete this->subscribedDestination;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+SubscriptionInfo* SubscriptionInfo::cloneDataStructure() const {
+    SubscriptionInfo* subscriptionInfo = new SubscriptionInfo();
+
+    // Copy the data from the base class or classes
+    subscriptionInfo->copyDataStructure( this );
+
+    return subscriptionInfo;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void SubscriptionInfo::copyDataStructure( const DataStructure* src ) {
+
+    // Copy the data of the base class or classes
+    BaseDataStructure::copyDataStructure( src );
+
+    const SubscriptionInfo* srcPtr = dynamic_cast<const SubscriptionInfo*>( src );
+
+    if( srcPtr == NULL || src == NULL ) {
+
+        throw decaf::lang::exceptions::NullPointerException(
+            __FILE__, __LINE__,
+            "SubscriptionInfo::copyDataStructure - src is NULL or invalid" );
+    }
+    this->setClientId( srcPtr->getClientId() );
+    if( srcPtr->getDestination() != NULL ) {
+        this->setDestination(
+            dynamic_cast<ActiveMQDestination*>(
+                srcPtr->getDestination()->cloneDataStructure() ) );
+    }
+    this->setSelector( srcPtr->getSelector() );
+    this->setSubcriptionName( srcPtr->getSubcriptionName() );
+    if( srcPtr->getSubscribedDestination() != NULL ) {
+        this->setSubscribedDestination(
+            dynamic_cast<ActiveMQDestination*>(
+                srcPtr->getSubscribedDestination()->cloneDataStructure() ) );
+    }
+}
+
+////////////////////////////////////////////////////////////////////////////////
+unsigned char SubscriptionInfo::getDataStructureType() const {
+    return SubscriptionInfo::ID_SUBSCRIPTIONINFO;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+std::string SubscriptionInfo::toString() const {
+
+    ostringstream stream;
+
+    stream << "Begin Class = SubscriptionInfo" << std::endl;
+    stream << " Value of SubscriptionInfo::ID_SUBSCRIPTIONINFO = 55" << std::endl;
+    stream << " Value of ClientId = " << this->getClientId() << std::endl;
+    stream << " Value of Destination is Below:" << std::endl;
+    if( this->getDestination() != NULL ) {
+        stream << this->getDestination()->toString() << std::endl;
+    } else {
+        stream << "   Object is NULL" << std::endl;
+    }
+    stream << " Value of Selector = " << this->getSelector() << std::endl;
+    stream << " Value of SubcriptionName = " << this->getSubcriptionName() << std::endl;
+    stream << " Value of SubscribedDestination is Below:" << std::endl;
+    if( this->getSubscribedDestination() != NULL ) {
+        stream << this->getSubscribedDestination()->toString() << std::endl;
+    } else {
+        stream << "   Object is NULL" << std::endl;
+    }
+    stream << BaseDataStructure::toString();
+    stream << "End Class = SubscriptionInfo" << std::endl;
+
+    return stream.str();
+}
+
+////////////////////////////////////////////////////////////////////////////////
+bool SubscriptionInfo::equals( const DataStructure* value ) const {
+    const SubscriptionInfo* valuePtr = dynamic_cast<const SubscriptionInfo*>( value );
+
+    if( valuePtr == NULL || value == NULL ) {
+        return false;
+    }
+    if( this->getClientId() != valuePtr->getClientId() ) {
+        return false;
+    }
+    if( this->getDestination() != NULL ) {
+        if( !this->getDestination()->equals( valuePtr->getDestination() ) ) {
+            return false;
+        }
+    } else if( valuePtr->getDestination() != NULL ) {
+        return false;
+    }
+    if( this->getSelector() != valuePtr->getSelector() ) {
+        return false;
+    }
+    if( this->getSubcriptionName() != valuePtr->getSubcriptionName() ) {
+        return false;
+    }
+    if( this->getSubscribedDestination() != NULL ) {
+        if( !this->getSubscribedDestination()->equals( valuePtr->getSubscribedDestination() ) ) {
+            return false;
+        }
+    } else if( valuePtr->getSubscribedDestination() != NULL ) {
+        return false;
+    }
+    if( !BaseDataStructure::equals( value ) ) {
+        return false;
+    }
+    return true;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+const std::string& SubscriptionInfo::getClientId() const {
+    return clientId;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+std::string& SubscriptionInfo::getClientId() {
+    return clientId;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void SubscriptionInfo::setClientId(const std::string& clientId ) {
+    this->clientId = clientId;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+const ActiveMQDestination* SubscriptionInfo::getDestination() const {
+    return destination;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+ActiveMQDestination* SubscriptionInfo::getDestination() {
+    return destination;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void SubscriptionInfo::setDestination(ActiveMQDestination* destination ) {
+    this->destination = destination;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+const std::string& SubscriptionInfo::getSelector() const {
+    return selector;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+std::string& SubscriptionInfo::getSelector() {
+    return selector;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void SubscriptionInfo::setSelector(const std::string& selector ) {
+    this->selector = selector;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+const std::string& SubscriptionInfo::getSubcriptionName() const {
+    return subcriptionName;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+std::string& SubscriptionInfo::getSubcriptionName() {
+    return subcriptionName;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void SubscriptionInfo::setSubcriptionName(const std::string& subcriptionName ) {
+    this->subcriptionName = subcriptionName;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+const ActiveMQDestination* SubscriptionInfo::getSubscribedDestination() const {
+    return subscribedDestination;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+ActiveMQDestination* SubscriptionInfo::getSubscribedDestination() {
+    return subscribedDestination;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void SubscriptionInfo::setSubscribedDestination(ActiveMQDestination* subscribedDestination ) {
+    this->subscribedDestination = subscribedDestination;
+}
+

Propchange: activemq/activemq-cpp/trunk/src/main/activemq/commands/SubscriptionInfo.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: activemq/activemq-cpp/trunk/src/main/activemq/commands/SubscriptionInfo.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/SubscriptionInfo.h?rev=733487&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/commands/SubscriptionInfo.h (added)
+++ activemq/activemq-cpp/trunk/src/main/activemq/commands/SubscriptionInfo.h Sun Jan 11 08:36:02 2009
@@ -0,0 +1,126 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef _ACTIVEMQ_COMMANDS_SUBSCRIPTIONINFO_H_
+#define _ACTIVEMQ_COMMANDS_SUBSCRIPTIONINFO_H_
+
+// Turn off warning message for ignored exception specification
+#ifdef _MSC_VER
+#pragma warning( disable : 4290 )
+#endif
+
+#include <activemq/util/Config.h>
+#include <activemq/commands/BaseDataStructure.h>
+#include <activemq/commands/ActiveMQDestination.h>
+#include <activemq/commands/ActiveMQDestination.h>
+#include <vector>
+#include <string>
+
+namespace activemq{
+namespace commands{
+
+    /*
+     *
+     *  Command and marshaling code for OpenWire format for SubscriptionInfo
+     *
+     *
+     *  NOTE!: This file is autogenerated - do not modify!
+     *         if you need to make a change, please see the Java Classes
+     *         in the activemq-openwire-generator module
+     *
+     */
+    class AMQCPP_API SubscriptionInfo : public BaseDataStructure
+    {
+    protected:
+
+        std::string clientId;
+        ActiveMQDestination* destination;
+        std::string selector;
+        std::string subcriptionName;
+        ActiveMQDestination* subscribedDestination;
+
+    public:
+
+        const static unsigned char ID_SUBSCRIPTIONINFO = 55;
+
+    public:
+
+        SubscriptionInfo();
+        virtual ~SubscriptionInfo();
+
+        /**
+         * Get the unique identifier that this object and its own
+         * Marshaller share.
+         * @returns new DataStructure type copy.
+         */
+        virtual unsigned char getDataStructureType() const;
+
+        /**
+         * Clone this object and return a new instance that the
+         * caller now owns, this will be an exact copy of this one
+         * @returns new copy of this object.
+         */
+        virtual SubscriptionInfo* cloneDataStructure() const;
+
+        /**
+         * Copy the contents of the passed object into this object's
+         * members, overwriting any existing data.
+         * @param src - Source Object
+         */
+        virtual void copyDataStructure( const DataStructure* src );
+
+        /**
+         * Returns a string containing the information for this DataStructure
+         * such as its type and value of its elements.
+         * @return formatted string useful for debugging.
+         */
+        virtual std::string toString() const;
+
+        /**
+         * Compares the DataStructure passed in to this one, and returns if
+         * they are equivalent.  Equivalent here means that they are of the
+         * same type, and that each element of the objects are the same.
+         * @returns true if DataStructure's are Equal.
+         */
+        virtual bool equals( const DataStructure* value ) const;
+
+        virtual const std::string& getClientId() const;
+        virtual std::string& getClientId();
+        virtual void setClientId( const std::string& clientId );
+
+        virtual const ActiveMQDestination* getDestination() const;
+        virtual ActiveMQDestination* getDestination();
+        virtual void setDestination( ActiveMQDestination* destination );
+
+        virtual const std::string& getSelector() const;
+        virtual std::string& getSelector();
+        virtual void setSelector( const std::string& selector );
+
+        virtual const std::string& getSubcriptionName() const;
+        virtual std::string& getSubcriptionName();
+        virtual void setSubcriptionName( const std::string& subcriptionName );
+
+        virtual const ActiveMQDestination* getSubscribedDestination() const;
+        virtual ActiveMQDestination* getSubscribedDestination();
+        virtual void setSubscribedDestination( ActiveMQDestination* subscribedDestination );
+
+    };
+
+}}
+
+#endif /*_ACTIVEMQ_COMMANDS_SUBSCRIPTIONINFO_H_*/
+

Propchange: activemq/activemq-cpp/trunk/src/main/activemq/commands/SubscriptionInfo.h
------------------------------------------------------------------------------
    svn:eol-style = native

Added: activemq/activemq-cpp/trunk/src/main/activemq/commands/TransactionId.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/TransactionId.cpp?rev=733487&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/commands/TransactionId.cpp (added)
+++ activemq/activemq-cpp/trunk/src/main/activemq/commands/TransactionId.cpp Sun Jan 11 08:36:02 2009
@@ -0,0 +1,103 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+#include <activemq/commands/TransactionId.h>
+#include <activemq/exceptions/ActiveMQException.h>
+#include <decaf/lang/exceptions/NullPointerException.h>
+
+using namespace std;
+using namespace activemq;
+using namespace activemq::exceptions;
+using namespace activemq::commands;
+using namespace decaf::lang::exceptions;
+
+/*
+ *
+ *  Command and marshaling code for OpenWire format for TransactionId
+ *
+ *
+ *  NOTE!: This file is autogenerated - do not modify!
+ *         if you need to make a change, please see the Java Classes in the
+ *         activemq-core module
+ *
+ */
+////////////////////////////////////////////////////////////////////////////////
+TransactionId::TransactionId()
+{
+}
+
+////////////////////////////////////////////////////////////////////////////////
+TransactionId::~TransactionId()
+{
+}
+
+////////////////////////////////////////////////////////////////////////////////
+TransactionId* TransactionId::cloneDataStructure() const {
+    TransactionId* transactionId = new TransactionId();
+
+    // Copy the data from the base class or classes
+    transactionId->copyDataStructure( this );
+
+    return transactionId;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void TransactionId::copyDataStructure( const DataStructure* src ) {
+
+    // Copy the data of the base class or classes
+    BaseDataStructure::copyDataStructure( src );
+
+    const TransactionId* srcPtr = dynamic_cast<const TransactionId*>( src );
+
+    if( srcPtr == NULL || src == NULL ) {
+
+        throw decaf::lang::exceptions::NullPointerException(
+            __FILE__, __LINE__,
+            "TransactionId::copyDataStructure - src is NULL or invalid" );
+    }
+}
+
+////////////////////////////////////////////////////////////////////////////////
+unsigned char TransactionId::getDataStructureType() const {
+    return TransactionId::ID_TRANSACTIONID;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+std::string TransactionId::toString() const {
+
+    ostringstream stream;
+
+    stream << "Begin Class = TransactionId" << std::endl;
+    stream << " Value of TransactionId::ID_TRANSACTIONID = 0" << std::endl;
+    stream << BaseDataStructure::toString();
+    stream << "End Class = TransactionId" << std::endl;
+
+    return stream.str();
+}
+
+////////////////////////////////////////////////////////////////////////////////
+bool TransactionId::equals( const DataStructure* value ) const {
+    const TransactionId* valuePtr = dynamic_cast<const TransactionId*>( value );
+
+    if( valuePtr == NULL || value == NULL ) {
+        return false;
+    }
+    if( !BaseDataStructure::equals( value ) ) {
+        return false;
+    }
+    return true;
+}
+

Propchange: activemq/activemq-cpp/trunk/src/main/activemq/commands/TransactionId.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: activemq/activemq-cpp/trunk/src/main/activemq/commands/TransactionId.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/TransactionId.h?rev=733487&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/commands/TransactionId.h (added)
+++ activemq/activemq-cpp/trunk/src/main/activemq/commands/TransactionId.h Sun Jan 11 08:36:02 2009
@@ -0,0 +1,99 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef _ACTIVEMQ_COMMANDS_TRANSACTIONID_H_
+#define _ACTIVEMQ_COMMANDS_TRANSACTIONID_H_
+
+// Turn off warning message for ignored exception specification
+#ifdef _MSC_VER
+#pragma warning( disable : 4290 )
+#endif
+
+#include <activemq/util/Config.h>
+#include <activemq/commands/BaseDataStructure.h>
+#include <vector>
+#include <string>
+
+namespace activemq{
+namespace commands{
+
+    /*
+     *
+     *  Command and marshaling code for OpenWire format for TransactionId
+     *
+     *
+     *  NOTE!: This file is autogenerated - do not modify!
+     *         if you need to make a change, please see the Java Classes
+     *         in the activemq-openwire-generator module
+     *
+     */
+    class AMQCPP_API TransactionId : public BaseDataStructure
+    {
+    protected:
+
+
+    public:
+
+        const static unsigned char ID_TRANSACTIONID = 0;
+
+    public:
+
+        TransactionId();
+        virtual ~TransactionId();
+
+        /**
+         * Get the unique identifier that this object and its own
+         * Marshaller share.
+         * @returns new DataStructure type copy.
+         */
+        virtual unsigned char getDataStructureType() const;
+
+        /**
+         * Clone this object and return a new instance that the
+         * caller now owns, this will be an exact copy of this one
+         * @returns new copy of this object.
+         */
+        virtual TransactionId* cloneDataStructure() const;
+
+        /**
+         * Copy the contents of the passed object into this object's
+         * members, overwriting any existing data.
+         * @param src - Source Object
+         */
+        virtual void copyDataStructure( const DataStructure* src );
+
+        /**
+         * Returns a string containing the information for this DataStructure
+         * such as its type and value of its elements.
+         * @return formatted string useful for debugging.
+         */
+        virtual std::string toString() const;
+
+        /**
+         * Compares the DataStructure passed in to this one, and returns if
+         * they are equivalent.  Equivalent here means that they are of the
+         * same type, and that each element of the objects are the same.
+         * @returns true if DataStructure's are Equal.
+         */
+        virtual bool equals( const DataStructure* value ) const;
+
+    };
+
+}}
+
+#endif /*_ACTIVEMQ_COMMANDS_TRANSACTIONID_H_*/
+

Propchange: activemq/activemq-cpp/trunk/src/main/activemq/commands/TransactionId.h
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message