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 2006/10/02 16:30:22 UTC
svn commit: r452053 [5/17] - in
/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src:
main/activemq/connector/openwire/ main/activemq/connector/openwire/commands/
main/activemq/connector/openwire/marshal/
main/activemq/connector/openwire/marshal/V2/...
Added: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ControlCommand.cpp
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ControlCommand.cpp?view=auto&rev=452053
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ControlCommand.cpp (added)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ControlCommand.cpp Mon Oct 2 07:30:10 2006
@@ -0,0 +1,66 @@
+/*
+ * 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/connector/openwire/commands/ControlCommand.h>
+
+using namespace std;
+using namespace activemq;
+using namespace activemq::connector;
+using namespace activemq::connector::openwire;
+using namespace activemq::connector::openwire::commands;
+
+/*
+ *
+ * Command and marshalling code for OpenWire format for ControlCommand
+ *
+ *
+ * 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
+ *
+ */
+////////////////////////////////////////////////////////////////////////////////
+ControlCommand::ControlCommand()
+{
+ this->command = "";
+}
+
+////////////////////////////////////////////////////////////////////////////////
+ControlCommand::~ControlCommand()
+{
+}
+
+////////////////////////////////////////////////////////////////////////////////
+unsigned char ControlCommand::getDataStructureType() const
+{
+ return ControlCommand::ID_CONTROLCOMMAND;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+const std::string& ControlCommand::getCommand() const {
+ return command;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+std::string& ControlCommand::getCommand() {
+ return command;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void ControlCommand::setCommand(const std::string& command ) {
+ this->command = command;
+}
+
Propchange: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ControlCommand.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ControlCommand.h
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ControlCommand.h?view=auto&rev=452053
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ControlCommand.h (added)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ControlCommand.h Mon Oct 2 07:30:10 2006
@@ -0,0 +1,70 @@
+/*
+ * 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_CONNECTOR_OPENWIRE_COMMANDS_CONTROLCOMMAND_H_
+#define _ACTIVEMQ_CONNECTOR_OPENWIRE_COMMANDS_CONTROLCOMMAND_H_
+
+// Turn off warning message for ignored exception specification
+#ifdef _MSC_VER
+#pragma warning( disable : 4290 )
+#endif
+
+#include <activemq/connector/openwire/commands/BaseCommand.h>
+#include <vector>
+#include <string>
+
+namespace activemq{
+namespace connector{
+namespace openwire{
+namespace commands{
+
+ /*
+ *
+ * Command and marshalling code for OpenWire format for ${className}
+ *
+ *
+ * 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 ControlCommand : public BaseCommand
+ {
+ protected:
+
+ std::string command;
+
+ public:
+
+ const static unsigned char ID_CONTROLCOMMAND = 14;
+
+ public:
+
+ ControlCommand();
+ virtual ~ControlCommand();
+
+ virtual unsigned char getDataStructureType() const;
+ virtual const std::string& getCommand() const;
+ virtual std::string& getCommand();
+ virtual void setCommand( const std::string& command );
+
+ };
+
+}}}}
+
+#endif /*_ACTIVEMQ_CONNECTOR_OPENWIRE_COMMANDS_CONTROLCOMMAND_H_*/
+
Propchange: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ControlCommand.h
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/DataArrayResponse.cpp
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/DataArrayResponse.cpp?view=auto&rev=452053
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/DataArrayResponse.cpp (added)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/DataArrayResponse.cpp Mon Oct 2 07:30:10 2006
@@ -0,0 +1,68 @@
+/*
+ * 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/connector/openwire/commands/DataArrayResponse.h>
+
+using namespace std;
+using namespace activemq;
+using namespace activemq::connector;
+using namespace activemq::connector::openwire;
+using namespace activemq::connector::openwire::commands;
+
+/*
+ *
+ * Command and marshalling code for OpenWire format for DataArrayResponse
+ *
+ *
+ * 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
+ *
+ */
+////////////////////////////////////////////////////////////////////////////////
+DataArrayResponse::DataArrayResponse()
+{
+}
+
+////////////////////////////////////////////////////////////////////////////////
+DataArrayResponse::~DataArrayResponse()
+{
+ for( size_t idata = 0; idata < data.size(); ++idata ) {
+ delete data[idata];
+ }
+}
+
+////////////////////////////////////////////////////////////////////////////////
+unsigned char DataArrayResponse::getDataStructureType() const
+{
+ return DataArrayResponse::ID_DATAARRAYRESPONSE;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+const std::vector<DataStructure*> DataArrayResponse::getData() const {
+ return data;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+std::vector<DataStructure*> DataArrayResponse::getData() {
+ return data;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void DataArrayResponse::setData(std::vector<DataStructure*> data ) {
+ this->data = data;
+}
+
Propchange: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/DataArrayResponse.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/DataArrayResponse.h
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/DataArrayResponse.h?view=auto&rev=452053
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/DataArrayResponse.h (added)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/DataArrayResponse.h Mon Oct 2 07:30:10 2006
@@ -0,0 +1,71 @@
+/*
+ * 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_CONNECTOR_OPENWIRE_COMMANDS_DATAARRAYRESPONSE_H_
+#define _ACTIVEMQ_CONNECTOR_OPENWIRE_COMMANDS_DATAARRAYRESPONSE_H_
+
+// Turn off warning message for ignored exception specification
+#ifdef _MSC_VER
+#pragma warning( disable : 4290 )
+#endif
+
+#include <activemq/connector/openwire/commands/Response.h>
+#include <activemq/connector/openwire/commands/DataStructure.h>
+#include <vector>
+#include <string>
+
+namespace activemq{
+namespace connector{
+namespace openwire{
+namespace commands{
+
+ /*
+ *
+ * Command and marshalling code for OpenWire format for ${className}
+ *
+ *
+ * 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 DataArrayResponse : public Response
+ {
+ protected:
+
+ std::vector<DataStructure*> data;
+
+ public:
+
+ const static unsigned char ID_DATAARRAYRESPONSE = 33;
+
+ public:
+
+ DataArrayResponse();
+ virtual ~DataArrayResponse();
+
+ virtual unsigned char getDataStructureType() const;
+ virtual const std::vector<DataStructure*> getData() const;
+ virtual std::vector<DataStructure*> getData();
+ virtual void setData( std::vector<DataStructure*> data );
+
+ };
+
+}}}}
+
+#endif /*_ACTIVEMQ_CONNECTOR_OPENWIRE_COMMANDS_DATAARRAYRESPONSE_H_*/
+
Propchange: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/DataArrayResponse.h
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/DataResponse.cpp
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/DataResponse.cpp?view=auto&rev=452053
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/DataResponse.cpp (added)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/DataResponse.cpp Mon Oct 2 07:30:10 2006
@@ -0,0 +1,67 @@
+/*
+ * 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/connector/openwire/commands/DataResponse.h>
+
+using namespace std;
+using namespace activemq;
+using namespace activemq::connector;
+using namespace activemq::connector::openwire;
+using namespace activemq::connector::openwire::commands;
+
+/*
+ *
+ * Command and marshalling code for OpenWire format for DataResponse
+ *
+ *
+ * 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
+ *
+ */
+////////////////////////////////////////////////////////////////////////////////
+DataResponse::DataResponse()
+{
+ this->data = NULL;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+DataResponse::~DataResponse()
+{
+ delete this->data;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+unsigned char DataResponse::getDataStructureType() const
+{
+ return DataResponse::ID_DATARESPONSE;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+const DataStructure* DataResponse::getData() const {
+ return data;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+DataStructure* DataResponse::getData() {
+ return data;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void DataResponse::setData(DataStructure* data ) {
+ this->data = data;
+}
+
Propchange: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/DataResponse.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/DataResponse.h
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/DataResponse.h?view=auto&rev=452053
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/DataResponse.h (added)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/DataResponse.h Mon Oct 2 07:30:10 2006
@@ -0,0 +1,71 @@
+/*
+ * 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_CONNECTOR_OPENWIRE_COMMANDS_DATARESPONSE_H_
+#define _ACTIVEMQ_CONNECTOR_OPENWIRE_COMMANDS_DATARESPONSE_H_
+
+// Turn off warning message for ignored exception specification
+#ifdef _MSC_VER
+#pragma warning( disable : 4290 )
+#endif
+
+#include <activemq/connector/openwire/commands/Response.h>
+#include <activemq/connector/openwire/commands/DataStructure.h>
+#include <vector>
+#include <string>
+
+namespace activemq{
+namespace connector{
+namespace openwire{
+namespace commands{
+
+ /*
+ *
+ * Command and marshalling code for OpenWire format for ${className}
+ *
+ *
+ * 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 DataResponse : public Response
+ {
+ protected:
+
+ DataStructure* data;
+
+ public:
+
+ const static unsigned char ID_DATARESPONSE = 32;
+
+ public:
+
+ DataResponse();
+ virtual ~DataResponse();
+
+ virtual unsigned char getDataStructureType() const;
+ virtual const DataStructure* getData() const;
+ virtual DataStructure* getData();
+ virtual void setData( DataStructure* data );
+
+ };
+
+}}}}
+
+#endif /*_ACTIVEMQ_CONNECTOR_OPENWIRE_COMMANDS_DATARESPONSE_H_*/
+
Propchange: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/DataResponse.h
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/DataStructure.h
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/DataStructure.h?view=auto&rev=452053
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/DataStructure.h (added)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/DataStructure.h Mon Oct 2 07:30:10 2006
@@ -0,0 +1,48 @@
+/**
+ * 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_CONNECTOR_OPENWIRE_COMMANDS_DATASTRUCTURE_H_
+#define _ACTIVEMQ_CONNECTOR_OPENWIRE_COMMANDS_DATASTRUCTURE_H_
+
+namespace activemq{
+namespace connector{
+namespace openwire{
+namespace commands{
+
+ class DataStructure
+ {
+ public:
+
+ virtual ~DataStructure() {}
+
+ /**
+ * Get the DataStructure Type as defined in CommandTypes.h
+ * @return The type of the data structure
+ */
+ virtual unsigned char getDataStructureType() const = 0;
+
+ /**
+ * Get whether this object is aware of marshalling.
+ * @returns true if aware of marshalling.
+ */
+ virtual bool isMarshallAware() const = 0;
+
+ };
+
+}}}}
+
+#endif /*_ACTIVEMQ_CONNECTOR_OPENWIRE_COMMANDS_DATASTRUCTURE_H_*/
Propchange: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/DataStructure.h
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/DestinationInfo.cpp
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/DestinationInfo.cpp?view=auto&rev=452053
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/DestinationInfo.cpp (added)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/DestinationInfo.cpp Mon Oct 2 07:30:10 2006
@@ -0,0 +1,134 @@
+/*
+ * 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/connector/openwire/commands/DestinationInfo.h>
+
+using namespace std;
+using namespace activemq;
+using namespace activemq::connector;
+using namespace activemq::connector::openwire;
+using namespace activemq::connector::openwire::commands;
+
+/*
+ *
+ * Command and marshalling code for OpenWire format for DestinationInfo
+ *
+ *
+ * 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
+ *
+ */
+////////////////////////////////////////////////////////////////////////////////
+DestinationInfo::DestinationInfo()
+{
+ this->connectionId = NULL;
+ this->destination = NULL;
+ this->operationType = 0;
+ this->timeout = 0;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+DestinationInfo::~DestinationInfo()
+{
+ delete this->connectionId;
+ delete this->destination;
+ for( size_t ibrokerPath = 0; ibrokerPath < brokerPath.size(); ++ibrokerPath ) {
+ delete brokerPath[ibrokerPath];
+ }
+}
+
+////////////////////////////////////////////////////////////////////////////////
+unsigned char DestinationInfo::getDataStructureType() const
+{
+ return DestinationInfo::ID_DESTINATIONINFO;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+const ConnectionId* DestinationInfo::getConnectionId() const {
+ return connectionId;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+ConnectionId* DestinationInfo::getConnectionId() {
+ return connectionId;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void DestinationInfo::setConnectionId(ConnectionId* connectionId ) {
+ this->connectionId = connectionId;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+const ActiveMQDestination* DestinationInfo::getDestination() const {
+ return destination;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+ActiveMQDestination* DestinationInfo::getDestination() {
+ return destination;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void DestinationInfo::setDestination(ActiveMQDestination* destination ) {
+ this->destination = destination;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+const char DestinationInfo::getOperationType() const {
+ return operationType;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+char DestinationInfo::getOperationType() {
+ return operationType;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void DestinationInfo::setOperationType(char operationType ) {
+ this->operationType = operationType;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+const long long DestinationInfo::getTimeout() const {
+ return timeout;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+long long DestinationInfo::getTimeout() {
+ return timeout;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void DestinationInfo::setTimeout(long long timeout ) {
+ this->timeout = timeout;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+const std::vector<BrokerId*> DestinationInfo::getBrokerPath() const {
+ return brokerPath;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+std::vector<BrokerId*> DestinationInfo::getBrokerPath() {
+ return brokerPath;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void DestinationInfo::setBrokerPath(std::vector<BrokerId*> brokerPath ) {
+ this->brokerPath = brokerPath;
+}
+
Propchange: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/DestinationInfo.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/DestinationInfo.h
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/DestinationInfo.h?view=auto&rev=452053
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/DestinationInfo.h (added)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/DestinationInfo.h Mon Oct 2 07:30:10 2006
@@ -0,0 +1,93 @@
+/*
+ * 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_CONNECTOR_OPENWIRE_COMMANDS_DESTINATIONINFO_H_
+#define _ACTIVEMQ_CONNECTOR_OPENWIRE_COMMANDS_DESTINATIONINFO_H_
+
+// Turn off warning message for ignored exception specification
+#ifdef _MSC_VER
+#pragma warning( disable : 4290 )
+#endif
+
+#include <activemq/connector/openwire/commands/BaseCommand.h>
+#include <activemq/connector/openwire/commands/ConnectionId.h>
+#include <activemq/connector/openwire/commands/ActiveMQDestination.h>
+#include <activemq/connector/openwire/commands/BrokerId.h>
+#include <vector>
+#include <string>
+
+namespace activemq{
+namespace connector{
+namespace openwire{
+namespace commands{
+
+ /*
+ *
+ * Command and marshalling code for OpenWire format for ${className}
+ *
+ *
+ * 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 DestinationInfo : public BaseCommand
+ {
+ protected:
+
+ ConnectionId* connectionId;
+ ActiveMQDestination* destination;
+ char operationType;
+ long long timeout;
+ std::vector<BrokerId*> brokerPath;
+
+ public:
+
+ const static unsigned char ID_DESTINATIONINFO = 8;
+
+ public:
+
+ DestinationInfo();
+ virtual ~DestinationInfo();
+
+ virtual unsigned char getDataStructureType() const;
+ virtual const ConnectionId* getConnectionId() const;
+ virtual ConnectionId* getConnectionId();
+ virtual void setConnectionId( ConnectionId* connectionId );
+
+ virtual const ActiveMQDestination* getDestination() const;
+ virtual ActiveMQDestination* getDestination();
+ virtual void setDestination( ActiveMQDestination* destination );
+
+ virtual const char getOperationType() const;
+ virtual char getOperationType();
+ virtual void setOperationType( char operationType );
+
+ virtual const long long getTimeout() const;
+ virtual long long getTimeout();
+ virtual void setTimeout( long long timeout );
+
+ virtual const std::vector<BrokerId*> getBrokerPath() const;
+ virtual std::vector<BrokerId*> getBrokerPath();
+ virtual void setBrokerPath( std::vector<BrokerId*> brokerPath );
+
+ };
+
+}}}}
+
+#endif /*_ACTIVEMQ_CONNECTOR_OPENWIRE_COMMANDS_DESTINATIONINFO_H_*/
+
Propchange: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/DestinationInfo.h
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/DiscoveryEvent.cpp
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/DiscoveryEvent.cpp?view=auto&rev=452053
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/DiscoveryEvent.cpp (added)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/DiscoveryEvent.cpp Mon Oct 2 07:30:10 2006
@@ -0,0 +1,82 @@
+/*
+ * 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/connector/openwire/commands/DiscoveryEvent.h>
+
+using namespace std;
+using namespace activemq;
+using namespace activemq::connector;
+using namespace activemq::connector::openwire;
+using namespace activemq::connector::openwire::commands;
+
+/*
+ *
+ * Command and marshalling code for OpenWire format for DiscoveryEvent
+ *
+ *
+ * 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
+ *
+ */
+////////////////////////////////////////////////////////////////////////////////
+DiscoveryEvent::DiscoveryEvent()
+{
+ this->serviceName = "";
+ this->brokerName = "";
+}
+
+////////////////////////////////////////////////////////////////////////////////
+DiscoveryEvent::~DiscoveryEvent()
+{
+}
+
+////////////////////////////////////////////////////////////////////////////////
+unsigned char DiscoveryEvent::getDataStructureType() const
+{
+ return DiscoveryEvent::ID_DISCOVERYEVENT;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+const std::string& DiscoveryEvent::getServiceName() const {
+ return serviceName;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+std::string& DiscoveryEvent::getServiceName() {
+ return serviceName;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void DiscoveryEvent::setServiceName(const std::string& serviceName ) {
+ this->serviceName = serviceName;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+const std::string& DiscoveryEvent::getBrokerName() const {
+ return brokerName;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+std::string& DiscoveryEvent::getBrokerName() {
+ return brokerName;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void DiscoveryEvent::setBrokerName(const std::string& brokerName ) {
+ this->brokerName = brokerName;
+}
+
Propchange: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/DiscoveryEvent.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/DiscoveryEvent.h
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/DiscoveryEvent.h?view=auto&rev=452053
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/DiscoveryEvent.h (added)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/DiscoveryEvent.h Mon Oct 2 07:30:10 2006
@@ -0,0 +1,75 @@
+/*
+ * 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_CONNECTOR_OPENWIRE_COMMANDS_DISCOVERYEVENT_H_
+#define _ACTIVEMQ_CONNECTOR_OPENWIRE_COMMANDS_DISCOVERYEVENT_H_
+
+// Turn off warning message for ignored exception specification
+#ifdef _MSC_VER
+#pragma warning( disable : 4290 )
+#endif
+
+#include <activemq/connector/openwire/commands/BaseDataStructure.h>
+#include <vector>
+#include <string>
+
+namespace activemq{
+namespace connector{
+namespace openwire{
+namespace commands{
+
+ /*
+ *
+ * Command and marshalling code for OpenWire format for ${className}
+ *
+ *
+ * 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 DiscoveryEvent : public BaseDataStructure
+ {
+ protected:
+
+ std::string serviceName;
+ std::string brokerName;
+
+ public:
+
+ const static unsigned char ID_DISCOVERYEVENT = 40;
+
+ public:
+
+ DiscoveryEvent();
+ virtual ~DiscoveryEvent();
+
+ virtual unsigned char getDataStructureType() const;
+ virtual const std::string& getServiceName() const;
+ virtual std::string& getServiceName();
+ virtual void setServiceName( const std::string& serviceName );
+
+ virtual const std::string& getBrokerName() const;
+ virtual std::string& getBrokerName();
+ virtual void setBrokerName( const std::string& brokerName );
+
+ };
+
+}}}}
+
+#endif /*_ACTIVEMQ_CONNECTOR_OPENWIRE_COMMANDS_DISCOVERYEVENT_H_*/
+
Propchange: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/DiscoveryEvent.h
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ExceptionResponse.cpp
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ExceptionResponse.cpp?view=auto&rev=452053
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ExceptionResponse.cpp (added)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ExceptionResponse.cpp Mon Oct 2 07:30:10 2006
@@ -0,0 +1,67 @@
+/*
+ * 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/connector/openwire/commands/ExceptionResponse.h>
+
+using namespace std;
+using namespace activemq;
+using namespace activemq::connector;
+using namespace activemq::connector::openwire;
+using namespace activemq::connector::openwire::commands;
+
+/*
+ *
+ * Command and marshalling code for OpenWire format for ExceptionResponse
+ *
+ *
+ * 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
+ *
+ */
+////////////////////////////////////////////////////////////////////////////////
+ExceptionResponse::ExceptionResponse()
+{
+ this->exception = NULL;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+ExceptionResponse::~ExceptionResponse()
+{
+ delete this->exception;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+unsigned char ExceptionResponse::getDataStructureType() const
+{
+ return ExceptionResponse::ID_EXCEPTIONRESPONSE;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+const BrokerError* ExceptionResponse::getException() const {
+ return exception;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+BrokerError* ExceptionResponse::getException() {
+ return exception;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void ExceptionResponse::setException(BrokerError* exception ) {
+ this->exception = exception;
+}
+
Propchange: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ExceptionResponse.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ExceptionResponse.h
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ExceptionResponse.h?view=auto&rev=452053
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ExceptionResponse.h (added)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ExceptionResponse.h Mon Oct 2 07:30:10 2006
@@ -0,0 +1,71 @@
+/*
+ * 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_CONNECTOR_OPENWIRE_COMMANDS_EXCEPTIONRESPONSE_H_
+#define _ACTIVEMQ_CONNECTOR_OPENWIRE_COMMANDS_EXCEPTIONRESPONSE_H_
+
+// Turn off warning message for ignored exception specification
+#ifdef _MSC_VER
+#pragma warning( disable : 4290 )
+#endif
+
+#include <activemq/connector/openwire/commands/Response.h>
+#include <activemq/connector/openwire/commands/BrokerError.h>
+#include <vector>
+#include <string>
+
+namespace activemq{
+namespace connector{
+namespace openwire{
+namespace commands{
+
+ /*
+ *
+ * Command and marshalling code for OpenWire format for ${className}
+ *
+ *
+ * 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 ExceptionResponse : public Response
+ {
+ protected:
+
+ BrokerError* exception;
+
+ public:
+
+ const static unsigned char ID_EXCEPTIONRESPONSE = 31;
+
+ public:
+
+ ExceptionResponse();
+ virtual ~ExceptionResponse();
+
+ virtual unsigned char getDataStructureType() const;
+ virtual const BrokerError* getException() const;
+ virtual BrokerError* getException();
+ virtual void setException( BrokerError* exception );
+
+ };
+
+}}}}
+
+#endif /*_ACTIVEMQ_CONNECTOR_OPENWIRE_COMMANDS_EXCEPTIONRESPONSE_H_*/
+
Propchange: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ExceptionResponse.h
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/FlushCommand.cpp
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/FlushCommand.cpp?view=auto&rev=452053
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/FlushCommand.cpp (added)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/FlushCommand.cpp Mon Oct 2 07:30:10 2006
@@ -0,0 +1,50 @@
+/*
+ * 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/connector/openwire/commands/FlushCommand.h>
+
+using namespace std;
+using namespace activemq;
+using namespace activemq::connector;
+using namespace activemq::connector::openwire;
+using namespace activemq::connector::openwire::commands;
+
+/*
+ *
+ * Command and marshalling code for OpenWire format for FlushCommand
+ *
+ *
+ * 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
+ *
+ */
+////////////////////////////////////////////////////////////////////////////////
+FlushCommand::FlushCommand()
+{
+}
+
+////////////////////////////////////////////////////////////////////////////////
+FlushCommand::~FlushCommand()
+{
+}
+
+////////////////////////////////////////////////////////////////////////////////
+unsigned char FlushCommand::getDataStructureType() const
+{
+ return FlushCommand::ID_FLUSHCOMMAND;
+}
+
Propchange: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/FlushCommand.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/FlushCommand.h
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/FlushCommand.h?view=auto&rev=452053
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/FlushCommand.h (added)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/FlushCommand.h Mon Oct 2 07:30:10 2006
@@ -0,0 +1,65 @@
+/*
+ * 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_CONNECTOR_OPENWIRE_COMMANDS_FLUSHCOMMAND_H_
+#define _ACTIVEMQ_CONNECTOR_OPENWIRE_COMMANDS_FLUSHCOMMAND_H_
+
+// Turn off warning message for ignored exception specification
+#ifdef _MSC_VER
+#pragma warning( disable : 4290 )
+#endif
+
+#include <activemq/connector/openwire/commands/BaseCommand.h>
+#include <vector>
+#include <string>
+
+namespace activemq{
+namespace connector{
+namespace openwire{
+namespace commands{
+
+ /*
+ *
+ * Command and marshalling code for OpenWire format for ${className}
+ *
+ *
+ * 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 FlushCommand : public BaseCommand
+ {
+ protected:
+
+
+ public:
+
+ const static unsigned char ID_FLUSHCOMMAND = 15;
+
+ public:
+
+ FlushCommand();
+ virtual ~FlushCommand();
+
+ virtual unsigned char getDataStructureType() const;
+ };
+
+}}}}
+
+#endif /*_ACTIVEMQ_CONNECTOR_OPENWIRE_COMMANDS_FLUSHCOMMAND_H_*/
+
Propchange: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/FlushCommand.h
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/IntegerResponse.cpp
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/IntegerResponse.cpp?view=auto&rev=452053
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/IntegerResponse.cpp (added)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/IntegerResponse.cpp Mon Oct 2 07:30:10 2006
@@ -0,0 +1,66 @@
+/*
+ * 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/connector/openwire/commands/IntegerResponse.h>
+
+using namespace std;
+using namespace activemq;
+using namespace activemq::connector;
+using namespace activemq::connector::openwire;
+using namespace activemq::connector::openwire::commands;
+
+/*
+ *
+ * Command and marshalling code for OpenWire format for IntegerResponse
+ *
+ *
+ * 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
+ *
+ */
+////////////////////////////////////////////////////////////////////////////////
+IntegerResponse::IntegerResponse()
+{
+ this->result = 0;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+IntegerResponse::~IntegerResponse()
+{
+}
+
+////////////////////////////////////////////////////////////////////////////////
+unsigned char IntegerResponse::getDataStructureType() const
+{
+ return IntegerResponse::ID_INTEGERRESPONSE;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+const int IntegerResponse::getResult() const {
+ return result;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+int IntegerResponse::getResult() {
+ return result;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void IntegerResponse::setResult(int result ) {
+ this->result = result;
+}
+
Propchange: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/IntegerResponse.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/IntegerResponse.h
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/IntegerResponse.h?view=auto&rev=452053
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/IntegerResponse.h (added)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/IntegerResponse.h Mon Oct 2 07:30:10 2006
@@ -0,0 +1,70 @@
+/*
+ * 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_CONNECTOR_OPENWIRE_COMMANDS_INTEGERRESPONSE_H_
+#define _ACTIVEMQ_CONNECTOR_OPENWIRE_COMMANDS_INTEGERRESPONSE_H_
+
+// Turn off warning message for ignored exception specification
+#ifdef _MSC_VER
+#pragma warning( disable : 4290 )
+#endif
+
+#include <activemq/connector/openwire/commands/Response.h>
+#include <vector>
+#include <string>
+
+namespace activemq{
+namespace connector{
+namespace openwire{
+namespace commands{
+
+ /*
+ *
+ * Command and marshalling code for OpenWire format for ${className}
+ *
+ *
+ * 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 IntegerResponse : public Response
+ {
+ protected:
+
+ int result;
+
+ public:
+
+ const static unsigned char ID_INTEGERRESPONSE = 34;
+
+ public:
+
+ IntegerResponse();
+ virtual ~IntegerResponse();
+
+ virtual unsigned char getDataStructureType() const;
+ virtual const int getResult() const;
+ virtual int getResult();
+ virtual void setResult( int result );
+
+ };
+
+}}}}
+
+#endif /*_ACTIVEMQ_CONNECTOR_OPENWIRE_COMMANDS_INTEGERRESPONSE_H_*/
+
Propchange: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/IntegerResponse.h
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/JournalQueueAck.cpp
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/JournalQueueAck.cpp?view=auto&rev=452053
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/JournalQueueAck.cpp (added)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/JournalQueueAck.cpp Mon Oct 2 07:30:10 2006
@@ -0,0 +1,84 @@
+/*
+ * 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/connector/openwire/commands/JournalQueueAck.h>
+
+using namespace std;
+using namespace activemq;
+using namespace activemq::connector;
+using namespace activemq::connector::openwire;
+using namespace activemq::connector::openwire::commands;
+
+/*
+ *
+ * Command and marshalling code for OpenWire format for JournalQueueAck
+ *
+ *
+ * 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
+ *
+ */
+////////////////////////////////////////////////////////////////////////////////
+JournalQueueAck::JournalQueueAck()
+{
+ this->destination = NULL;
+ this->messageAck = NULL;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+JournalQueueAck::~JournalQueueAck()
+{
+ delete this->destination;
+ delete this->messageAck;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+unsigned char JournalQueueAck::getDataStructureType() const
+{
+ return JournalQueueAck::ID_JOURNALQUEUEACK;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+const ActiveMQDestination* JournalQueueAck::getDestination() const {
+ return destination;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+ActiveMQDestination* JournalQueueAck::getDestination() {
+ return destination;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void JournalQueueAck::setDestination(ActiveMQDestination* destination ) {
+ this->destination = destination;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+const MessageAck* JournalQueueAck::getMessageAck() const {
+ return messageAck;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+MessageAck* JournalQueueAck::getMessageAck() {
+ return messageAck;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void JournalQueueAck::setMessageAck(MessageAck* messageAck ) {
+ this->messageAck = messageAck;
+}
+
Propchange: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/JournalQueueAck.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/JournalQueueAck.h
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/JournalQueueAck.h?view=auto&rev=452053
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/JournalQueueAck.h (added)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/JournalQueueAck.h Mon Oct 2 07:30:10 2006
@@ -0,0 +1,77 @@
+/*
+ * 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_CONNECTOR_OPENWIRE_COMMANDS_JOURNALQUEUEACK_H_
+#define _ACTIVEMQ_CONNECTOR_OPENWIRE_COMMANDS_JOURNALQUEUEACK_H_
+
+// Turn off warning message for ignored exception specification
+#ifdef _MSC_VER
+#pragma warning( disable : 4290 )
+#endif
+
+#include <activemq/connector/openwire/commands/BaseDataStructure.h>
+#include <activemq/connector/openwire/commands/ActiveMQDestination.h>
+#include <activemq/connector/openwire/commands/MessageAck.h>
+#include <vector>
+#include <string>
+
+namespace activemq{
+namespace connector{
+namespace openwire{
+namespace commands{
+
+ /*
+ *
+ * Command and marshalling code for OpenWire format for ${className}
+ *
+ *
+ * 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 JournalQueueAck : public BaseDataStructure
+ {
+ protected:
+
+ ActiveMQDestination* destination;
+ MessageAck* messageAck;
+
+ public:
+
+ const static unsigned char ID_JOURNALQUEUEACK = 52;
+
+ public:
+
+ JournalQueueAck();
+ virtual ~JournalQueueAck();
+
+ virtual unsigned char getDataStructureType() const;
+ virtual const ActiveMQDestination* getDestination() const;
+ virtual ActiveMQDestination* getDestination();
+ virtual void setDestination( ActiveMQDestination* destination );
+
+ virtual const MessageAck* getMessageAck() const;
+ virtual MessageAck* getMessageAck();
+ virtual void setMessageAck( MessageAck* messageAck );
+
+ };
+
+}}}}
+
+#endif /*_ACTIVEMQ_CONNECTOR_OPENWIRE_COMMANDS_JOURNALQUEUEACK_H_*/
+
Propchange: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/JournalQueueAck.h
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/JournalTopicAck.cpp
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/JournalTopicAck.cpp?view=auto&rev=452053
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/JournalTopicAck.cpp (added)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/JournalTopicAck.cpp Mon Oct 2 07:30:10 2006
@@ -0,0 +1,149 @@
+/*
+ * 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/connector/openwire/commands/JournalTopicAck.h>
+
+using namespace std;
+using namespace activemq;
+using namespace activemq::connector;
+using namespace activemq::connector::openwire;
+using namespace activemq::connector::openwire::commands;
+
+/*
+ *
+ * Command and marshalling code for OpenWire format for JournalTopicAck
+ *
+ *
+ * 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
+ *
+ */
+////////////////////////////////////////////////////////////////////////////////
+JournalTopicAck::JournalTopicAck()
+{
+ this->destination = NULL;
+ this->messageId = NULL;
+ this->messageSequenceId = 0;
+ this->subscritionName = "";
+ this->clientId = "";
+ this->transactionId = NULL;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+JournalTopicAck::~JournalTopicAck()
+{
+ delete this->destination;
+ delete this->messageId;
+ delete this->transactionId;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+unsigned char JournalTopicAck::getDataStructureType() const
+{
+ return JournalTopicAck::ID_JOURNALTOPICACK;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+const ActiveMQDestination* JournalTopicAck::getDestination() const {
+ return destination;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+ActiveMQDestination* JournalTopicAck::getDestination() {
+ return destination;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void JournalTopicAck::setDestination(ActiveMQDestination* destination ) {
+ this->destination = destination;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+const MessageId* JournalTopicAck::getMessageId() const {
+ return messageId;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+MessageId* JournalTopicAck::getMessageId() {
+ return messageId;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void JournalTopicAck::setMessageId(MessageId* messageId ) {
+ this->messageId = messageId;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+const long long JournalTopicAck::getMessageSequenceId() const {
+ return messageSequenceId;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+long long JournalTopicAck::getMessageSequenceId() {
+ return messageSequenceId;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void JournalTopicAck::setMessageSequenceId(long long messageSequenceId ) {
+ this->messageSequenceId = messageSequenceId;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+const std::string& JournalTopicAck::getSubscritionName() const {
+ return subscritionName;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+std::string& JournalTopicAck::getSubscritionName() {
+ return subscritionName;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void JournalTopicAck::setSubscritionName(const std::string& subscritionName ) {
+ this->subscritionName = subscritionName;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+const std::string& JournalTopicAck::getClientId() const {
+ return clientId;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+std::string& JournalTopicAck::getClientId() {
+ return clientId;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void JournalTopicAck::setClientId(const std::string& clientId ) {
+ this->clientId = clientId;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+const TransactionId* JournalTopicAck::getTransactionId() const {
+ return transactionId;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+TransactionId* JournalTopicAck::getTransactionId() {
+ return transactionId;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void JournalTopicAck::setTransactionId(TransactionId* transactionId ) {
+ this->transactionId = transactionId;
+}
+
Propchange: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/JournalTopicAck.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/JournalTopicAck.h
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/JournalTopicAck.h?view=auto&rev=452053
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/JournalTopicAck.h (added)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/JournalTopicAck.h Mon Oct 2 07:30:10 2006
@@ -0,0 +1,98 @@
+/*
+ * 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_CONNECTOR_OPENWIRE_COMMANDS_JOURNALTOPICACK_H_
+#define _ACTIVEMQ_CONNECTOR_OPENWIRE_COMMANDS_JOURNALTOPICACK_H_
+
+// Turn off warning message for ignored exception specification
+#ifdef _MSC_VER
+#pragma warning( disable : 4290 )
+#endif
+
+#include <activemq/connector/openwire/commands/BaseDataStructure.h>
+#include <activemq/connector/openwire/commands/ActiveMQDestination.h>
+#include <activemq/connector/openwire/commands/MessageId.h>
+#include <activemq/connector/openwire/commands/TransactionId.h>
+#include <vector>
+#include <string>
+
+namespace activemq{
+namespace connector{
+namespace openwire{
+namespace commands{
+
+ /*
+ *
+ * Command and marshalling code for OpenWire format for ${className}
+ *
+ *
+ * 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 JournalTopicAck : public BaseDataStructure
+ {
+ protected:
+
+ ActiveMQDestination* destination;
+ MessageId* messageId;
+ long long messageSequenceId;
+ std::string subscritionName;
+ std::string clientId;
+ TransactionId* transactionId;
+
+ public:
+
+ const static unsigned char ID_JOURNALTOPICACK = 50;
+
+ public:
+
+ JournalTopicAck();
+ virtual ~JournalTopicAck();
+
+ virtual unsigned char getDataStructureType() const;
+ virtual const ActiveMQDestination* getDestination() const;
+ virtual ActiveMQDestination* getDestination();
+ virtual void setDestination( ActiveMQDestination* destination );
+
+ virtual const MessageId* getMessageId() const;
+ virtual MessageId* getMessageId();
+ virtual void setMessageId( MessageId* messageId );
+
+ virtual const long long getMessageSequenceId() const;
+ virtual long long getMessageSequenceId();
+ virtual void setMessageSequenceId( long long messageSequenceId );
+
+ virtual const std::string& getSubscritionName() const;
+ virtual std::string& getSubscritionName();
+ virtual void setSubscritionName( const std::string& subscritionName );
+
+ virtual const std::string& getClientId() const;
+ virtual std::string& getClientId();
+ virtual void setClientId( const std::string& clientId );
+
+ virtual const TransactionId* getTransactionId() const;
+ virtual TransactionId* getTransactionId();
+ virtual void setTransactionId( TransactionId* transactionId );
+
+ };
+
+}}}}
+
+#endif /*_ACTIVEMQ_CONNECTOR_OPENWIRE_COMMANDS_JOURNALTOPICACK_H_*/
+
Propchange: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/JournalTopicAck.h
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/JournalTrace.cpp
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/JournalTrace.cpp?view=auto&rev=452053
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/JournalTrace.cpp (added)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/JournalTrace.cpp Mon Oct 2 07:30:10 2006
@@ -0,0 +1,66 @@
+/*
+ * 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/connector/openwire/commands/JournalTrace.h>
+
+using namespace std;
+using namespace activemq;
+using namespace activemq::connector;
+using namespace activemq::connector::openwire;
+using namespace activemq::connector::openwire::commands;
+
+/*
+ *
+ * Command and marshalling code for OpenWire format for JournalTrace
+ *
+ *
+ * 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
+ *
+ */
+////////////////////////////////////////////////////////////////////////////////
+JournalTrace::JournalTrace()
+{
+ this->message = "";
+}
+
+////////////////////////////////////////////////////////////////////////////////
+JournalTrace::~JournalTrace()
+{
+}
+
+////////////////////////////////////////////////////////////////////////////////
+unsigned char JournalTrace::getDataStructureType() const
+{
+ return JournalTrace::ID_JOURNALTRACE;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+const std::string& JournalTrace::getMessage() const {
+ return message;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+std::string& JournalTrace::getMessage() {
+ return message;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void JournalTrace::setMessage(const std::string& message ) {
+ this->message = message;
+}
+
Propchange: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/JournalTrace.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/JournalTrace.h
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/JournalTrace.h?view=auto&rev=452053
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/JournalTrace.h (added)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/JournalTrace.h Mon Oct 2 07:30:10 2006
@@ -0,0 +1,70 @@
+/*
+ * 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_CONNECTOR_OPENWIRE_COMMANDS_JOURNALTRACE_H_
+#define _ACTIVEMQ_CONNECTOR_OPENWIRE_COMMANDS_JOURNALTRACE_H_
+
+// Turn off warning message for ignored exception specification
+#ifdef _MSC_VER
+#pragma warning( disable : 4290 )
+#endif
+
+#include <activemq/connector/openwire/commands/BaseDataStructure.h>
+#include <vector>
+#include <string>
+
+namespace activemq{
+namespace connector{
+namespace openwire{
+namespace commands{
+
+ /*
+ *
+ * Command and marshalling code for OpenWire format for ${className}
+ *
+ *
+ * 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 JournalTrace : public BaseDataStructure
+ {
+ protected:
+
+ std::string message;
+
+ public:
+
+ const static unsigned char ID_JOURNALTRACE = 53;
+
+ public:
+
+ JournalTrace();
+ virtual ~JournalTrace();
+
+ virtual unsigned char getDataStructureType() const;
+ virtual const std::string& getMessage() const;
+ virtual std::string& getMessage();
+ virtual void setMessage( const std::string& message );
+
+ };
+
+}}}}
+
+#endif /*_ACTIVEMQ_CONNECTOR_OPENWIRE_COMMANDS_JOURNALTRACE_H_*/
+
Propchange: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/JournalTrace.h
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/JournalTransaction.cpp
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/JournalTransaction.cpp?view=auto&rev=452053
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/JournalTransaction.cpp (added)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/JournalTransaction.cpp Mon Oct 2 07:30:10 2006
@@ -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.
+ */
+#include <activemq/connector/openwire/commands/JournalTransaction.h>
+
+using namespace std;
+using namespace activemq;
+using namespace activemq::connector;
+using namespace activemq::connector::openwire;
+using namespace activemq::connector::openwire::commands;
+
+/*
+ *
+ * Command and marshalling code for OpenWire format for JournalTransaction
+ *
+ *
+ * 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
+ *
+ */
+////////////////////////////////////////////////////////////////////////////////
+JournalTransaction::JournalTransaction()
+{
+ this->transactionId = NULL;
+ this->type = 0;
+ this->wasPrepared = false;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+JournalTransaction::~JournalTransaction()
+{
+ delete this->transactionId;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+unsigned char JournalTransaction::getDataStructureType() const
+{
+ return JournalTransaction::ID_JOURNALTRANSACTION;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+const TransactionId* JournalTransaction::getTransactionId() const {
+ return transactionId;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+TransactionId* JournalTransaction::getTransactionId() {
+ return transactionId;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void JournalTransaction::setTransactionId(TransactionId* transactionId ) {
+ this->transactionId = transactionId;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+const char JournalTransaction::getType() const {
+ return type;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+char JournalTransaction::getType() {
+ return type;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void JournalTransaction::setType(char type ) {
+ this->type = type;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+const bool JournalTransaction::getWasPrepared() const {
+ return wasPrepared;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+bool JournalTransaction::getWasPrepared() {
+ return wasPrepared;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void JournalTransaction::setWasPrepared(bool wasPrepared ) {
+ this->wasPrepared = wasPrepared;
+}
+
Propchange: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/JournalTransaction.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/JournalTransaction.h
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/JournalTransaction.h?view=auto&rev=452053
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/JournalTransaction.h (added)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/JournalTransaction.h Mon Oct 2 07:30:10 2006
@@ -0,0 +1,81 @@
+/*
+ * 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_CONNECTOR_OPENWIRE_COMMANDS_JOURNALTRANSACTION_H_
+#define _ACTIVEMQ_CONNECTOR_OPENWIRE_COMMANDS_JOURNALTRANSACTION_H_
+
+// Turn off warning message for ignored exception specification
+#ifdef _MSC_VER
+#pragma warning( disable : 4290 )
+#endif
+
+#include <activemq/connector/openwire/commands/BaseDataStructure.h>
+#include <activemq/connector/openwire/commands/TransactionId.h>
+#include <vector>
+#include <string>
+
+namespace activemq{
+namespace connector{
+namespace openwire{
+namespace commands{
+
+ /*
+ *
+ * Command and marshalling code for OpenWire format for ${className}
+ *
+ *
+ * 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 JournalTransaction : public BaseDataStructure
+ {
+ protected:
+
+ TransactionId* transactionId;
+ char type;
+ bool wasPrepared;
+
+ public:
+
+ const static unsigned char ID_JOURNALTRANSACTION = 54;
+
+ public:
+
+ JournalTransaction();
+ virtual ~JournalTransaction();
+
+ virtual unsigned char getDataStructureType() const;
+ virtual const TransactionId* getTransactionId() const;
+ virtual TransactionId* getTransactionId();
+ virtual void setTransactionId( TransactionId* transactionId );
+
+ virtual const char getType() const;
+ virtual char getType();
+ virtual void setType( char type );
+
+ virtual const bool getWasPrepared() const;
+ virtual bool getWasPrepared();
+ virtual void setWasPrepared( bool wasPrepared );
+
+ };
+
+}}}}
+
+#endif /*_ACTIVEMQ_CONNECTOR_OPENWIRE_COMMANDS_JOURNALTRANSACTION_H_*/
+
Propchange: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/JournalTransaction.h
------------------------------------------------------------------------------
svn:eol-style = native