You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by js...@apache.org on 2006/03/01 18:34:38 UTC
svn commit: r382091 [2/6] - in /incubator/activemq/trunk/openwire-cpp: ./
src/command/ src/marshal/
Added: incubator/activemq/trunk/openwire-cpp/src/command/MessageDispatch.cpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/MessageDispatch.cpp?rev=382091&view=auto
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/MessageDispatch.cpp (added)
+++ incubator/activemq/trunk/openwire-cpp/src/command/MessageDispatch.cpp Wed Mar 1 09:34:23 2006
@@ -0,0 +1,85 @@
+/*
+* Copyright 2006 The Apache Software Foundation or its licensors, as
+* applicable.
+*
+* Licensed 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 "command/MessageDispatch.hpp"
+
+using namespace apache::activemq::client::command;
+
+/*
+ *
+ * Marshalling code for Open Wire Format for MessageDispatch
+ *
+ *
+ * NOTE!: This file is autogenerated - do not modify!
+ * if you need to make a change, please see the Groovy scripts in the
+ * activemq-core module
+ *
+ */
+MessageDispatch::MessageDispatch()
+{
+ this->consumerId = NULL ;
+ this->destination = NULL ;
+ this->message = NULL ;
+ this->redeliveryCounter = NULL ;
+}
+
+MessageDispatch::~MessageDispatch()
+{
+}
+
+
+p<ConsumerId> MessageDispatch::getConsumerId()
+{
+ return consumerId ;
+}
+
+void MessageDispatch::setConsumerId(p<ConsumerId> consumerId)
+{
+ this->consumerId = consumerId ;
+}
+
+
+ActiveMQDestination MessageDispatch::getDestination()
+{
+ return destination ;
+}
+
+void MessageDispatch::setDestination(ActiveMQDestination destination)
+{
+ this->destination = destination ;
+}
+
+
+Message MessageDispatch::getMessage()
+{
+ return message ;
+}
+
+void MessageDispatch::setMessage(Message message)
+{
+ this->message = message ;
+}
+
+
+int MessageDispatch::getRedeliveryCounter()
+{
+ return redeliveryCounter ;
+}
+
+void MessageDispatch::setRedeliveryCounter(int redeliveryCounter)
+{
+ this->redeliveryCounter = redeliveryCounter ;
+}
Propchange: incubator/activemq/trunk/openwire-cpp/src/command/MessageDispatch.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/activemq/trunk/openwire-cpp/src/command/MessageDispatch.cpp
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: incubator/activemq/trunk/openwire-cpp/src/command/MessageDispatch.hpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/MessageDispatch.hpp?rev=382091&view=auto
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/MessageDispatch.hpp (added)
+++ incubator/activemq/trunk/openwire-cpp/src/command/MessageDispatch.hpp Wed Mar 1 09:34:23 2006
@@ -0,0 +1,91 @@
+/*
+* Copyright 2006 The Apache Software Foundation or its licensors, as
+* applicable.
+*
+* Licensed 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 MessageDispatch_hpp_
+#define MessageDispatch_hpp_
+
+#include <string>
+
+/* we could cut this down - for now include all possible headers */
+#include "command/BaseCommand.hpp"
+#include "command/BrokerId.hpp"
+#include "command/ConnectionId.hpp"
+#include "command/ConsumerId.hpp"
+#include "command/ProducerId.hpp"
+#include "command/SessionId.hpp"
+
+#include "command/BaseCommand.hpp"
+#include "util/ifr/p"
+
+namespace apache
+{
+ namespace activemq
+ {
+ namespace client
+ {
+ namespace command
+ {
+ using namespace ifr;
+ using namespace apache::activemq::client;
+
+/*
+ *
+ * Marshalling code for Open Wire Format for MessageDispatch
+ *
+ *
+ * NOTE!: This file is autogenerated - do not modify!
+ * if you need to make a change, please see the Groovy scripts in the
+ * activemq-core module
+ *
+ */
+class MessageDispatch : public BaseCommand
+{
+private:
+ p<ConsumerId> consumerId ;
+ ActiveMQDestination destination ;
+ Message message ;
+ int redeliveryCounter ;
+
+public:
+ const static int TYPE = 21;
+
+public:
+ MessageDispatch() ;
+ virtual ~MessageDispatch() ;
+
+
+ virtual p<ConsumerId> getConsumerId() ;
+ virtual void setConsumerId(p<ConsumerId> consumerId) ;
+
+ virtual ActiveMQDestination getDestination() ;
+ virtual void setDestination(ActiveMQDestination destination) ;
+
+ virtual Message getMessage() ;
+ virtual void setMessage(Message message) ;
+
+ virtual int getRedeliveryCounter() ;
+ virtual void setRedeliveryCounter(int redeliveryCounter) ;
+
+
+} ;
+
+/* namespace */
+ }
+ }
+ }
+}
+
+#endif /*MessageDispatch_hpp_*/
Added: incubator/activemq/trunk/openwire-cpp/src/command/MessageDispatchNotification.cpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/MessageDispatchNotification.cpp?rev=382091&view=auto
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/MessageDispatchNotification.cpp (added)
+++ incubator/activemq/trunk/openwire-cpp/src/command/MessageDispatchNotification.cpp Wed Mar 1 09:34:23 2006
@@ -0,0 +1,85 @@
+/*
+* Copyright 2006 The Apache Software Foundation or its licensors, as
+* applicable.
+*
+* Licensed 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 "command/MessageDispatchNotification.hpp"
+
+using namespace apache::activemq::client::command;
+
+/*
+ *
+ * Marshalling code for Open Wire Format for MessageDispatchNotification
+ *
+ *
+ * NOTE!: This file is autogenerated - do not modify!
+ * if you need to make a change, please see the Groovy scripts in the
+ * activemq-core module
+ *
+ */
+MessageDispatchNotification::MessageDispatchNotification()
+{
+ this->consumerId = NULL ;
+ this->destination = NULL ;
+ this->deliverySequenceId = NULL ;
+ this->messageId = NULL ;
+}
+
+MessageDispatchNotification::~MessageDispatchNotification()
+{
+}
+
+
+p<ConsumerId> MessageDispatchNotification::getConsumerId()
+{
+ return consumerId ;
+}
+
+void MessageDispatchNotification::setConsumerId(p<ConsumerId> consumerId)
+{
+ this->consumerId = consumerId ;
+}
+
+
+ActiveMQDestination MessageDispatchNotification::getDestination()
+{
+ return destination ;
+}
+
+void MessageDispatchNotification::setDestination(ActiveMQDestination destination)
+{
+ this->destination = destination ;
+}
+
+
+long MessageDispatchNotification::getDeliverySequenceId()
+{
+ return deliverySequenceId ;
+}
+
+void MessageDispatchNotification::setDeliverySequenceId(long deliverySequenceId)
+{
+ this->deliverySequenceId = deliverySequenceId ;
+}
+
+
+p<MessageId> MessageDispatchNotification::getMessageId()
+{
+ return messageId ;
+}
+
+void MessageDispatchNotification::setMessageId(p<MessageId> messageId)
+{
+ this->messageId = messageId ;
+}
Propchange: incubator/activemq/trunk/openwire-cpp/src/command/MessageDispatchNotification.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/activemq/trunk/openwire-cpp/src/command/MessageDispatchNotification.cpp
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: incubator/activemq/trunk/openwire-cpp/src/command/MessageDispatchNotification.hpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/MessageDispatchNotification.hpp?rev=382091&view=auto
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/MessageDispatchNotification.hpp (added)
+++ incubator/activemq/trunk/openwire-cpp/src/command/MessageDispatchNotification.hpp Wed Mar 1 09:34:23 2006
@@ -0,0 +1,91 @@
+/*
+* Copyright 2006 The Apache Software Foundation or its licensors, as
+* applicable.
+*
+* Licensed 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 MessageDispatchNotification_hpp_
+#define MessageDispatchNotification_hpp_
+
+#include <string>
+
+/* we could cut this down - for now include all possible headers */
+#include "command/BaseCommand.hpp"
+#include "command/BrokerId.hpp"
+#include "command/ConnectionId.hpp"
+#include "command/ConsumerId.hpp"
+#include "command/ProducerId.hpp"
+#include "command/SessionId.hpp"
+
+#include "command/BaseCommand.hpp"
+#include "util/ifr/p"
+
+namespace apache
+{
+ namespace activemq
+ {
+ namespace client
+ {
+ namespace command
+ {
+ using namespace ifr;
+ using namespace apache::activemq::client;
+
+/*
+ *
+ * Marshalling code for Open Wire Format for MessageDispatchNotification
+ *
+ *
+ * NOTE!: This file is autogenerated - do not modify!
+ * if you need to make a change, please see the Groovy scripts in the
+ * activemq-core module
+ *
+ */
+class MessageDispatchNotification : public BaseCommand
+{
+private:
+ p<ConsumerId> consumerId ;
+ ActiveMQDestination destination ;
+ long deliverySequenceId ;
+ p<MessageId> messageId ;
+
+public:
+ const static int TYPE = 90;
+
+public:
+ MessageDispatchNotification() ;
+ virtual ~MessageDispatchNotification() ;
+
+
+ virtual p<ConsumerId> getConsumerId() ;
+ virtual void setConsumerId(p<ConsumerId> consumerId) ;
+
+ virtual ActiveMQDestination getDestination() ;
+ virtual void setDestination(ActiveMQDestination destination) ;
+
+ virtual long getDeliverySequenceId() ;
+ virtual void setDeliverySequenceId(long deliverySequenceId) ;
+
+ virtual p<MessageId> getMessageId() ;
+ virtual void setMessageId(p<MessageId> messageId) ;
+
+
+} ;
+
+/* namespace */
+ }
+ }
+ }
+}
+
+#endif /*MessageDispatchNotification_hpp_*/
Added: incubator/activemq/trunk/openwire-cpp/src/command/MessageId.cpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/MessageId.cpp?rev=382091&view=auto
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/MessageId.cpp (added)
+++ incubator/activemq/trunk/openwire-cpp/src/command/MessageId.cpp Wed Mar 1 09:34:23 2006
@@ -0,0 +1,73 @@
+/*
+* Copyright 2006 The Apache Software Foundation or its licensors, as
+* applicable.
+*
+* Licensed 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 "command/MessageId.hpp"
+
+using namespace apache::activemq::client::command;
+
+/*
+ *
+ * Marshalling code for Open Wire Format for MessageId
+ *
+ *
+ * NOTE!: This file is autogenerated - do not modify!
+ * if you need to make a change, please see the Groovy scripts in the
+ * activemq-core module
+ *
+ */
+MessageId::MessageId()
+{
+ this->producerId = NULL ;
+ this->producerSequenceId = NULL ;
+ this->brokerSequenceId = NULL ;
+}
+
+MessageId::~MessageId()
+{
+}
+
+
+p<ProducerId> MessageId::getProducerId()
+{
+ return producerId ;
+}
+
+void MessageId::setProducerId(p<ProducerId> producerId)
+{
+ this->producerId = producerId ;
+}
+
+
+long MessageId::getProducerSequenceId()
+{
+ return producerSequenceId ;
+}
+
+void MessageId::setProducerSequenceId(long producerSequenceId)
+{
+ this->producerSequenceId = producerSequenceId ;
+}
+
+
+long MessageId::getBrokerSequenceId()
+{
+ return brokerSequenceId ;
+}
+
+void MessageId::setBrokerSequenceId(long brokerSequenceId)
+{
+ this->brokerSequenceId = brokerSequenceId ;
+}
Propchange: incubator/activemq/trunk/openwire-cpp/src/command/MessageId.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/activemq/trunk/openwire-cpp/src/command/MessageId.cpp
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: incubator/activemq/trunk/openwire-cpp/src/command/MessageId.hpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/MessageId.hpp?rev=382091&view=auto
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/MessageId.hpp (added)
+++ incubator/activemq/trunk/openwire-cpp/src/command/MessageId.hpp Wed Mar 1 09:34:23 2006
@@ -0,0 +1,87 @@
+/*
+* Copyright 2006 The Apache Software Foundation or its licensors, as
+* applicable.
+*
+* Licensed 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 MessageId_hpp_
+#define MessageId_hpp_
+
+#include <string>
+
+/* we could cut this down - for now include all possible headers */
+#include "command/BaseCommand.hpp"
+#include "command/BrokerId.hpp"
+#include "command/ConnectionId.hpp"
+#include "command/ConsumerId.hpp"
+#include "command/ProducerId.hpp"
+#include "command/SessionId.hpp"
+
+#include "command/AbstractCommand.hpp"
+#include "util/ifr/p"
+
+namespace apache
+{
+ namespace activemq
+ {
+ namespace client
+ {
+ namespace command
+ {
+ using namespace ifr;
+ using namespace apache::activemq::client;
+
+/*
+ *
+ * Marshalling code for Open Wire Format for MessageId
+ *
+ *
+ * NOTE!: This file is autogenerated - do not modify!
+ * if you need to make a change, please see the Groovy scripts in the
+ * activemq-core module
+ *
+ */
+class MessageId : public AbstractCommand
+{
+private:
+ p<ProducerId> producerId ;
+ long producerSequenceId ;
+ long brokerSequenceId ;
+
+public:
+ const static int TYPE = 110;
+
+public:
+ MessageId() ;
+ virtual ~MessageId() ;
+
+
+ virtual p<ProducerId> getProducerId() ;
+ virtual void setProducerId(p<ProducerId> producerId) ;
+
+ virtual long getProducerSequenceId() ;
+ virtual void setProducerSequenceId(long producerSequenceId) ;
+
+ virtual long getBrokerSequenceId() ;
+ virtual void setBrokerSequenceId(long brokerSequenceId) ;
+
+
+} ;
+
+/* namespace */
+ }
+ }
+ }
+}
+
+#endif /*MessageId_hpp_*/
Added: incubator/activemq/trunk/openwire-cpp/src/command/RemoveSubscriptionInfo.cpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/RemoveSubscriptionInfo.cpp?rev=382091&view=auto
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/RemoveSubscriptionInfo.cpp (added)
+++ incubator/activemq/trunk/openwire-cpp/src/command/RemoveSubscriptionInfo.cpp Wed Mar 1 09:34:23 2006
@@ -0,0 +1,73 @@
+/*
+* Copyright 2006 The Apache Software Foundation or its licensors, as
+* applicable.
+*
+* Licensed 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 "command/RemoveSubscriptionInfo.hpp"
+
+using namespace apache::activemq::client::command;
+
+/*
+ *
+ * Marshalling code for Open Wire Format for RemoveSubscriptionInfo
+ *
+ *
+ * NOTE!: This file is autogenerated - do not modify!
+ * if you need to make a change, please see the Groovy scripts in the
+ * activemq-core module
+ *
+ */
+RemoveSubscriptionInfo::RemoveSubscriptionInfo()
+{
+ this->connectionId = NULL ;
+ this->subcriptionName = NULL ;
+ this->clientId = NULL ;
+}
+
+RemoveSubscriptionInfo::~RemoveSubscriptionInfo()
+{
+}
+
+
+p<ConnectionId> RemoveSubscriptionInfo::getConnectionId()
+{
+ return connectionId ;
+}
+
+void RemoveSubscriptionInfo::setConnectionId(p<ConnectionId> connectionId)
+{
+ this->connectionId = connectionId ;
+}
+
+
+p<string> RemoveSubscriptionInfo::getSubcriptionName()
+{
+ return subcriptionName ;
+}
+
+void RemoveSubscriptionInfo::setSubcriptionName(p<string> subcriptionName)
+{
+ this->subcriptionName = subcriptionName ;
+}
+
+
+p<string> RemoveSubscriptionInfo::getClientId()
+{
+ return clientId ;
+}
+
+void RemoveSubscriptionInfo::setClientId(p<string> clientId)
+{
+ this->clientId = clientId ;
+}
Propchange: incubator/activemq/trunk/openwire-cpp/src/command/RemoveSubscriptionInfo.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/activemq/trunk/openwire-cpp/src/command/RemoveSubscriptionInfo.cpp
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: incubator/activemq/trunk/openwire-cpp/src/command/RemoveSubscriptionInfo.hpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/RemoveSubscriptionInfo.hpp?rev=382091&view=auto
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/RemoveSubscriptionInfo.hpp (added)
+++ incubator/activemq/trunk/openwire-cpp/src/command/RemoveSubscriptionInfo.hpp Wed Mar 1 09:34:23 2006
@@ -0,0 +1,87 @@
+/*
+* Copyright 2006 The Apache Software Foundation or its licensors, as
+* applicable.
+*
+* Licensed 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 RemoveSubscriptionInfo_hpp_
+#define RemoveSubscriptionInfo_hpp_
+
+#include <string>
+
+/* we could cut this down - for now include all possible headers */
+#include "command/BaseCommand.hpp"
+#include "command/BrokerId.hpp"
+#include "command/ConnectionId.hpp"
+#include "command/ConsumerId.hpp"
+#include "command/ProducerId.hpp"
+#include "command/SessionId.hpp"
+
+#include "command/BaseCommand.hpp"
+#include "util/ifr/p"
+
+namespace apache
+{
+ namespace activemq
+ {
+ namespace client
+ {
+ namespace command
+ {
+ using namespace ifr;
+ using namespace apache::activemq::client;
+
+/*
+ *
+ * Marshalling code for Open Wire Format for RemoveSubscriptionInfo
+ *
+ *
+ * NOTE!: This file is autogenerated - do not modify!
+ * if you need to make a change, please see the Groovy scripts in the
+ * activemq-core module
+ *
+ */
+class RemoveSubscriptionInfo : public BaseCommand
+{
+private:
+ p<ConnectionId> connectionId ;
+ p<string> subcriptionName ;
+ p<string> clientId ;
+
+public:
+ const static int TYPE = 0;
+
+public:
+ RemoveSubscriptionInfo() ;
+ virtual ~RemoveSubscriptionInfo() ;
+
+
+ virtual p<ConnectionId> getConnectionId() ;
+ virtual void setConnectionId(p<ConnectionId> connectionId) ;
+
+ virtual p<string> getSubcriptionName() ;
+ virtual void setSubcriptionName(p<string> subcriptionName) ;
+
+ virtual p<string> getClientId() ;
+ virtual void setClientId(p<string> clientId) ;
+
+
+} ;
+
+/* namespace */
+ }
+ }
+ }
+}
+
+#endif /*RemoveSubscriptionInfo_hpp_*/
Added: incubator/activemq/trunk/openwire-cpp/src/command/ShutdownInfo.cpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/ShutdownInfo.cpp?rev=382091&view=auto
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/ShutdownInfo.cpp (added)
+++ incubator/activemq/trunk/openwire-cpp/src/command/ShutdownInfo.cpp Wed Mar 1 09:34:23 2006
@@ -0,0 +1,37 @@
+/*
+* Copyright 2006 The Apache Software Foundation or its licensors, as
+* applicable.
+*
+* Licensed 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 "command/ShutdownInfo.hpp"
+
+using namespace apache::activemq::client::command;
+
+/*
+ *
+ * Marshalling code for Open Wire Format for ShutdownInfo
+ *
+ *
+ * NOTE!: This file is autogenerated - do not modify!
+ * if you need to make a change, please see the Groovy scripts in the
+ * activemq-core module
+ *
+ */
+ShutdownInfo::ShutdownInfo()
+{
+}
+
+ShutdownInfo::~ShutdownInfo()
+{
+}
Propchange: incubator/activemq/trunk/openwire-cpp/src/command/ShutdownInfo.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/activemq/trunk/openwire-cpp/src/command/ShutdownInfo.cpp
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: incubator/activemq/trunk/openwire-cpp/src/command/ShutdownInfo.hpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/ShutdownInfo.hpp?rev=382091&view=auto
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/ShutdownInfo.hpp (added)
+++ incubator/activemq/trunk/openwire-cpp/src/command/ShutdownInfo.hpp Wed Mar 1 09:34:23 2006
@@ -0,0 +1,75 @@
+/*
+* Copyright 2006 The Apache Software Foundation or its licensors, as
+* applicable.
+*
+* Licensed 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 ShutdownInfo_hpp_
+#define ShutdownInfo_hpp_
+
+#include <string>
+
+/* we could cut this down - for now include all possible headers */
+#include "command/BaseCommand.hpp"
+#include "command/BrokerId.hpp"
+#include "command/ConnectionId.hpp"
+#include "command/ConsumerId.hpp"
+#include "command/ProducerId.hpp"
+#include "command/SessionId.hpp"
+
+#include "command/BaseCommand.hpp"
+#include "util/ifr/p"
+
+namespace apache
+{
+ namespace activemq
+ {
+ namespace client
+ {
+ namespace command
+ {
+ using namespace ifr;
+ using namespace apache::activemq::client;
+
+/*
+ *
+ * Marshalling code for Open Wire Format for ShutdownInfo
+ *
+ *
+ * NOTE!: This file is autogenerated - do not modify!
+ * if you need to make a change, please see the Groovy scripts in the
+ * activemq-core module
+ *
+ */
+class ShutdownInfo : public BaseCommand
+{
+private:
+
+public:
+ const static int TYPE = 11;
+
+public:
+ ShutdownInfo() ;
+ virtual ~ShutdownInfo() ;
+
+
+
+} ;
+
+/* namespace */
+ }
+ }
+ }
+}
+
+#endif /*ShutdownInfo_hpp_*/
Added: incubator/activemq/trunk/openwire-cpp/src/command/SubscriptionInfo.cpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/SubscriptionInfo.cpp?rev=382091&view=auto
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/SubscriptionInfo.cpp (added)
+++ incubator/activemq/trunk/openwire-cpp/src/command/SubscriptionInfo.cpp Wed Mar 1 09:34:23 2006
@@ -0,0 +1,85 @@
+/*
+* Copyright 2006 The Apache Software Foundation or its licensors, as
+* applicable.
+*
+* Licensed 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 "command/SubscriptionInfo.hpp"
+
+using namespace apache::activemq::client::command;
+
+/*
+ *
+ * Marshalling code for Open Wire Format for SubscriptionInfo
+ *
+ *
+ * NOTE!: This file is autogenerated - do not modify!
+ * if you need to make a change, please see the Groovy scripts in the
+ * activemq-core module
+ *
+ */
+SubscriptionInfo::SubscriptionInfo()
+{
+ this->clientId = NULL ;
+ this->destination = NULL ;
+ this->selector = NULL ;
+ this->subcriptionName = NULL ;
+}
+
+SubscriptionInfo::~SubscriptionInfo()
+{
+}
+
+
+p<string> SubscriptionInfo::getClientId()
+{
+ return clientId ;
+}
+
+void SubscriptionInfo::setClientId(p<string> clientId)
+{
+ this->clientId = clientId ;
+}
+
+
+ActiveMQDestination SubscriptionInfo::getDestination()
+{
+ return destination ;
+}
+
+void SubscriptionInfo::setDestination(ActiveMQDestination destination)
+{
+ this->destination = destination ;
+}
+
+
+p<string> SubscriptionInfo::getSelector()
+{
+ return selector ;
+}
+
+void SubscriptionInfo::setSelector(p<string> selector)
+{
+ this->selector = selector ;
+}
+
+
+p<string> SubscriptionInfo::getSubcriptionName()
+{
+ return subcriptionName ;
+}
+
+void SubscriptionInfo::setSubcriptionName(p<string> subcriptionName)
+{
+ this->subcriptionName = subcriptionName ;
+}
Propchange: incubator/activemq/trunk/openwire-cpp/src/command/SubscriptionInfo.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/activemq/trunk/openwire-cpp/src/command/SubscriptionInfo.cpp
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: incubator/activemq/trunk/openwire-cpp/src/command/SubscriptionInfo.hpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/SubscriptionInfo.hpp?rev=382091&view=auto
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/SubscriptionInfo.hpp (added)
+++ incubator/activemq/trunk/openwire-cpp/src/command/SubscriptionInfo.hpp Wed Mar 1 09:34:23 2006
@@ -0,0 +1,91 @@
+/*
+* Copyright 2006 The Apache Software Foundation or its licensors, as
+* applicable.
+*
+* Licensed 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 SubscriptionInfo_hpp_
+#define SubscriptionInfo_hpp_
+
+#include <string>
+
+/* we could cut this down - for now include all possible headers */
+#include "command/BaseCommand.hpp"
+#include "command/BrokerId.hpp"
+#include "command/ConnectionId.hpp"
+#include "command/ConsumerId.hpp"
+#include "command/ProducerId.hpp"
+#include "command/SessionId.hpp"
+
+#include "command/AbstractCommand.hpp"
+#include "util/ifr/p"
+
+namespace apache
+{
+ namespace activemq
+ {
+ namespace client
+ {
+ namespace command
+ {
+ using namespace ifr;
+ using namespace apache::activemq::client;
+
+/*
+ *
+ * Marshalling code for Open Wire Format for SubscriptionInfo
+ *
+ *
+ * NOTE!: This file is autogenerated - do not modify!
+ * if you need to make a change, please see the Groovy scripts in the
+ * activemq-core module
+ *
+ */
+class SubscriptionInfo : public AbstractCommand
+{
+private:
+ p<string> clientId ;
+ ActiveMQDestination destination ;
+ p<string> selector ;
+ p<string> subcriptionName ;
+
+public:
+ const static int TYPE = 55;
+
+public:
+ SubscriptionInfo() ;
+ virtual ~SubscriptionInfo() ;
+
+
+ virtual p<string> getClientId() ;
+ virtual void setClientId(p<string> clientId) ;
+
+ virtual ActiveMQDestination getDestination() ;
+ virtual void setDestination(ActiveMQDestination destination) ;
+
+ virtual p<string> getSelector() ;
+ virtual void setSelector(p<string> selector) ;
+
+ virtual p<string> getSubcriptionName() ;
+ virtual void setSubcriptionName(p<string> subcriptionName) ;
+
+
+} ;
+
+/* namespace */
+ }
+ }
+ }
+}
+
+#endif /*SubscriptionInfo_hpp_*/
Added: incubator/activemq/trunk/openwire-cpp/src/command/TransactionId.cpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/TransactionId.cpp?rev=382091&view=auto
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/TransactionId.cpp (added)
+++ incubator/activemq/trunk/openwire-cpp/src/command/TransactionId.cpp Wed Mar 1 09:34:23 2006
@@ -0,0 +1,37 @@
+/*
+* Copyright 2006 The Apache Software Foundation or its licensors, as
+* applicable.
+*
+* Licensed 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 "command/TransactionId.hpp"
+
+using namespace apache::activemq::client::command;
+
+/*
+ *
+ * Marshalling code for Open Wire Format for TransactionId
+ *
+ *
+ * NOTE!: This file is autogenerated - do not modify!
+ * if you need to make a change, please see the Groovy scripts in the
+ * activemq-core module
+ *
+ */
+TransactionId::TransactionId()
+{
+}
+
+TransactionId::~TransactionId()
+{
+}
Propchange: incubator/activemq/trunk/openwire-cpp/src/command/TransactionId.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/activemq/trunk/openwire-cpp/src/command/TransactionId.cpp
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: incubator/activemq/trunk/openwire-cpp/src/command/TransactionId.hpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/TransactionId.hpp?rev=382091&view=auto
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/TransactionId.hpp (added)
+++ incubator/activemq/trunk/openwire-cpp/src/command/TransactionId.hpp Wed Mar 1 09:34:23 2006
@@ -0,0 +1,75 @@
+/*
+* Copyright 2006 The Apache Software Foundation or its licensors, as
+* applicable.
+*
+* Licensed 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 TransactionId_hpp_
+#define TransactionId_hpp_
+
+#include <string>
+
+/* we could cut this down - for now include all possible headers */
+#include "command/BaseCommand.hpp"
+#include "command/BrokerId.hpp"
+#include "command/ConnectionId.hpp"
+#include "command/ConsumerId.hpp"
+#include "command/ProducerId.hpp"
+#include "command/SessionId.hpp"
+
+#include "command/AbstractCommand.hpp"
+#include "util/ifr/p"
+
+namespace apache
+{
+ namespace activemq
+ {
+ namespace client
+ {
+ namespace command
+ {
+ using namespace ifr;
+ using namespace apache::activemq::client;
+
+/*
+ *
+ * Marshalling code for Open Wire Format for TransactionId
+ *
+ *
+ * NOTE!: This file is autogenerated - do not modify!
+ * if you need to make a change, please see the Groovy scripts in the
+ * activemq-core module
+ *
+ */
+class TransactionId : public AbstractCommand
+{
+private:
+
+public:
+ const static int TYPE = 0;
+
+public:
+ TransactionId() ;
+ virtual ~TransactionId() ;
+
+
+
+} ;
+
+/* namespace */
+ }
+ }
+ }
+}
+
+#endif /*TransactionId_hpp_*/
Added: incubator/activemq/trunk/openwire-cpp/src/command/TransactionInfo.cpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/TransactionInfo.cpp?rev=382091&view=auto
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/TransactionInfo.cpp (added)
+++ incubator/activemq/trunk/openwire-cpp/src/command/TransactionInfo.cpp Wed Mar 1 09:34:23 2006
@@ -0,0 +1,73 @@
+/*
+* Copyright 2006 The Apache Software Foundation or its licensors, as
+* applicable.
+*
+* Licensed 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 "command/TransactionInfo.hpp"
+
+using namespace apache::activemq::client::command;
+
+/*
+ *
+ * Marshalling code for Open Wire Format for TransactionInfo
+ *
+ *
+ * NOTE!: This file is autogenerated - do not modify!
+ * if you need to make a change, please see the Groovy scripts in the
+ * activemq-core module
+ *
+ */
+TransactionInfo::TransactionInfo()
+{
+ this->connectionId = NULL ;
+ this->transactionId = NULL ;
+ this->type = NULL ;
+}
+
+TransactionInfo::~TransactionInfo()
+{
+}
+
+
+p<ConnectionId> TransactionInfo::getConnectionId()
+{
+ return connectionId ;
+}
+
+void TransactionInfo::setConnectionId(p<ConnectionId> connectionId)
+{
+ this->connectionId = connectionId ;
+}
+
+
+p<TransactionId> TransactionInfo::getTransactionId()
+{
+ return transactionId ;
+}
+
+void TransactionInfo::setTransactionId(p<TransactionId> transactionId)
+{
+ this->transactionId = transactionId ;
+}
+
+
+byte TransactionInfo::getType()
+{
+ return type ;
+}
+
+void TransactionInfo::setType(byte type)
+{
+ this->type = type ;
+}
Propchange: incubator/activemq/trunk/openwire-cpp/src/command/TransactionInfo.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/activemq/trunk/openwire-cpp/src/command/TransactionInfo.cpp
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: incubator/activemq/trunk/openwire-cpp/src/command/TransactionInfo.hpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/TransactionInfo.hpp?rev=382091&view=auto
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/TransactionInfo.hpp (added)
+++ incubator/activemq/trunk/openwire-cpp/src/command/TransactionInfo.hpp Wed Mar 1 09:34:23 2006
@@ -0,0 +1,87 @@
+/*
+* Copyright 2006 The Apache Software Foundation or its licensors, as
+* applicable.
+*
+* Licensed 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 TransactionInfo_hpp_
+#define TransactionInfo_hpp_
+
+#include <string>
+
+/* we could cut this down - for now include all possible headers */
+#include "command/BaseCommand.hpp"
+#include "command/BrokerId.hpp"
+#include "command/ConnectionId.hpp"
+#include "command/ConsumerId.hpp"
+#include "command/ProducerId.hpp"
+#include "command/SessionId.hpp"
+
+#include "command/BaseCommand.hpp"
+#include "util/ifr/p"
+
+namespace apache
+{
+ namespace activemq
+ {
+ namespace client
+ {
+ namespace command
+ {
+ using namespace ifr;
+ using namespace apache::activemq::client;
+
+/*
+ *
+ * Marshalling code for Open Wire Format for TransactionInfo
+ *
+ *
+ * NOTE!: This file is autogenerated - do not modify!
+ * if you need to make a change, please see the Groovy scripts in the
+ * activemq-core module
+ *
+ */
+class TransactionInfo : public BaseCommand
+{
+private:
+ p<ConnectionId> connectionId ;
+ p<TransactionId> transactionId ;
+ byte type ;
+
+public:
+ const static int TYPE = 7;
+
+public:
+ TransactionInfo() ;
+ virtual ~TransactionInfo() ;
+
+
+ virtual p<ConnectionId> getConnectionId() ;
+ virtual void setConnectionId(p<ConnectionId> connectionId) ;
+
+ virtual p<TransactionId> getTransactionId() ;
+ virtual void setTransactionId(p<TransactionId> transactionId) ;
+
+ virtual byte getType() ;
+ virtual void setType(byte type) ;
+
+
+} ;
+
+/* namespace */
+ }
+ }
+ }
+}
+
+#endif /*TransactionInfo_hpp_*/
Added: incubator/activemq/trunk/openwire-cpp/src/command/WireFormatInfo.cpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/WireFormatInfo.cpp?rev=382091&view=auto
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/WireFormatInfo.cpp (added)
+++ incubator/activemq/trunk/openwire-cpp/src/command/WireFormatInfo.cpp Wed Mar 1 09:34:23 2006
@@ -0,0 +1,121 @@
+/*
+* Copyright 2006 The Apache Software Foundation or its licensors, as
+* applicable.
+*
+* Licensed 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 "command/WireFormatInfo.hpp"
+
+using namespace apache::activemq::client::command;
+
+/*
+ *
+ * Marshalling code for Open Wire Format for WireFormatInfo
+ *
+ *
+ * NOTE!: This file is autogenerated - do not modify!
+ * if you need to make a change, please see the Groovy scripts in the
+ * activemq-core module
+ *
+ */
+WireFormatInfo::WireFormatInfo()
+{
+ this->magic = NULL ;
+ this->version = NULL ;
+ this->cacheEnabled = NULL ;
+ this->stackTraceEnabled = NULL ;
+ this->tcpNoDelayEnabled = NULL ;
+ this->prefixPacketSize = NULL ;
+ this->tightEncodingEnabled = NULL ;
+}
+
+WireFormatInfo::~WireFormatInfo()
+{
+}
+
+
+byte[] WireFormatInfo::getMagic()
+{
+ return magic ;
+}
+
+void WireFormatInfo::setMagic(byte[] magic)
+{
+ this->magic = magic ;
+}
+
+
+int WireFormatInfo::getVersion()
+{
+ return version ;
+}
+
+void WireFormatInfo::setVersion(int version)
+{
+ this->version = version ;
+}
+
+
+bool WireFormatInfo::getCacheEnabled()
+{
+ return cacheEnabled ;
+}
+
+void WireFormatInfo::setCacheEnabled(bool cacheEnabled)
+{
+ this->cacheEnabled = cacheEnabled ;
+}
+
+
+bool WireFormatInfo::getStackTraceEnabled()
+{
+ return stackTraceEnabled ;
+}
+
+void WireFormatInfo::setStackTraceEnabled(bool stackTraceEnabled)
+{
+ this->stackTraceEnabled = stackTraceEnabled ;
+}
+
+
+bool WireFormatInfo::getTcpNoDelayEnabled()
+{
+ return tcpNoDelayEnabled ;
+}
+
+void WireFormatInfo::setTcpNoDelayEnabled(bool tcpNoDelayEnabled)
+{
+ this->tcpNoDelayEnabled = tcpNoDelayEnabled ;
+}
+
+
+bool WireFormatInfo::getPrefixPacketSize()
+{
+ return prefixPacketSize ;
+}
+
+void WireFormatInfo::setPrefixPacketSize(bool prefixPacketSize)
+{
+ this->prefixPacketSize = prefixPacketSize ;
+}
+
+
+bool WireFormatInfo::getTightEncodingEnabled()
+{
+ return tightEncodingEnabled ;
+}
+
+void WireFormatInfo::setTightEncodingEnabled(bool tightEncodingEnabled)
+{
+ this->tightEncodingEnabled = tightEncodingEnabled ;
+}
Propchange: incubator/activemq/trunk/openwire-cpp/src/command/WireFormatInfo.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/activemq/trunk/openwire-cpp/src/command/WireFormatInfo.cpp
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: incubator/activemq/trunk/openwire-cpp/src/command/WireFormatInfo.hpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/WireFormatInfo.hpp?rev=382091&view=auto
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/WireFormatInfo.hpp (added)
+++ incubator/activemq/trunk/openwire-cpp/src/command/WireFormatInfo.hpp Wed Mar 1 09:34:23 2006
@@ -0,0 +1,103 @@
+/*
+* Copyright 2006 The Apache Software Foundation or its licensors, as
+* applicable.
+*
+* Licensed 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 WireFormatInfo_hpp_
+#define WireFormatInfo_hpp_
+
+#include <string>
+
+/* we could cut this down - for now include all possible headers */
+#include "command/BaseCommand.hpp"
+#include "command/BrokerId.hpp"
+#include "command/ConnectionId.hpp"
+#include "command/ConsumerId.hpp"
+#include "command/ProducerId.hpp"
+#include "command/SessionId.hpp"
+
+#include "command/AbstractCommand.hpp"
+#include "util/ifr/p"
+
+namespace apache
+{
+ namespace activemq
+ {
+ namespace client
+ {
+ namespace command
+ {
+ using namespace ifr;
+ using namespace apache::activemq::client;
+
+/*
+ *
+ * Marshalling code for Open Wire Format for WireFormatInfo
+ *
+ *
+ * NOTE!: This file is autogenerated - do not modify!
+ * if you need to make a change, please see the Groovy scripts in the
+ * activemq-core module
+ *
+ */
+class WireFormatInfo : public AbstractCommand
+{
+private:
+ byte[] magic ;
+ int version ;
+ bool cacheEnabled ;
+ bool stackTraceEnabled ;
+ bool tcpNoDelayEnabled ;
+ bool prefixPacketSize ;
+ bool tightEncodingEnabled ;
+
+public:
+ const static int TYPE = 1;
+
+public:
+ WireFormatInfo() ;
+ virtual ~WireFormatInfo() ;
+
+
+ virtual byte[] getMagic() ;
+ virtual void setMagic(byte[] magic) ;
+
+ virtual int getVersion() ;
+ virtual void setVersion(int version) ;
+
+ virtual bool getCacheEnabled() ;
+ virtual void setCacheEnabled(bool cacheEnabled) ;
+
+ virtual bool getStackTraceEnabled() ;
+ virtual void setStackTraceEnabled(bool stackTraceEnabled) ;
+
+ virtual bool getTcpNoDelayEnabled() ;
+ virtual void setTcpNoDelayEnabled(bool tcpNoDelayEnabled) ;
+
+ virtual bool getPrefixPacketSize() ;
+ virtual void setPrefixPacketSize(bool prefixPacketSize) ;
+
+ virtual bool getTightEncodingEnabled() ;
+ virtual void setTightEncodingEnabled(bool tightEncodingEnabled) ;
+
+
+} ;
+
+/* namespace */
+ }
+ }
+ }
+}
+
+#endif /*WireFormatInfo_hpp_*/
Added: incubator/activemq/trunk/openwire-cpp/src/command/XATransactionId.cpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/XATransactionId.cpp?rev=382091&view=auto
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/XATransactionId.cpp (added)
+++ incubator/activemq/trunk/openwire-cpp/src/command/XATransactionId.cpp Wed Mar 1 09:34:23 2006
@@ -0,0 +1,73 @@
+/*
+* Copyright 2006 The Apache Software Foundation or its licensors, as
+* applicable.
+*
+* Licensed 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 "command/XATransactionId.hpp"
+
+using namespace apache::activemq::client::command;
+
+/*
+ *
+ * Marshalling code for Open Wire Format for XATransactionId
+ *
+ *
+ * NOTE!: This file is autogenerated - do not modify!
+ * if you need to make a change, please see the Groovy scripts in the
+ * activemq-core module
+ *
+ */
+XATransactionId::XATransactionId()
+{
+ this->formatId = NULL ;
+ this->globalTransactionId = NULL ;
+ this->branchQualifier = NULL ;
+}
+
+XATransactionId::~XATransactionId()
+{
+}
+
+
+int XATransactionId::getFormatId()
+{
+ return formatId ;
+}
+
+void XATransactionId::setFormatId(int formatId)
+{
+ this->formatId = formatId ;
+}
+
+
+byte[] XATransactionId::getGlobalTransactionId()
+{
+ return globalTransactionId ;
+}
+
+void XATransactionId::setGlobalTransactionId(byte[] globalTransactionId)
+{
+ this->globalTransactionId = globalTransactionId ;
+}
+
+
+byte[] XATransactionId::getBranchQualifier()
+{
+ return branchQualifier ;
+}
+
+void XATransactionId::setBranchQualifier(byte[] branchQualifier)
+{
+ this->branchQualifier = branchQualifier ;
+}
Propchange: incubator/activemq/trunk/openwire-cpp/src/command/XATransactionId.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/activemq/trunk/openwire-cpp/src/command/XATransactionId.cpp
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: incubator/activemq/trunk/openwire-cpp/src/command/XATransactionId.hpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/XATransactionId.hpp?rev=382091&view=auto
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/XATransactionId.hpp (added)
+++ incubator/activemq/trunk/openwire-cpp/src/command/XATransactionId.hpp Wed Mar 1 09:34:23 2006
@@ -0,0 +1,87 @@
+/*
+* Copyright 2006 The Apache Software Foundation or its licensors, as
+* applicable.
+*
+* Licensed 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 XATransactionId_hpp_
+#define XATransactionId_hpp_
+
+#include <string>
+
+/* we could cut this down - for now include all possible headers */
+#include "command/BaseCommand.hpp"
+#include "command/BrokerId.hpp"
+#include "command/ConnectionId.hpp"
+#include "command/ConsumerId.hpp"
+#include "command/ProducerId.hpp"
+#include "command/SessionId.hpp"
+
+#include "command/TransactionId.hpp"
+#include "util/ifr/p"
+
+namespace apache
+{
+ namespace activemq
+ {
+ namespace client
+ {
+ namespace command
+ {
+ using namespace ifr;
+ using namespace apache::activemq::client;
+
+/*
+ *
+ * Marshalling code for Open Wire Format for XATransactionId
+ *
+ *
+ * NOTE!: This file is autogenerated - do not modify!
+ * if you need to make a change, please see the Groovy scripts in the
+ * activemq-core module
+ *
+ */
+class XATransactionId : public TransactionId
+{
+private:
+ int formatId ;
+ byte[] globalTransactionId ;
+ byte[] branchQualifier ;
+
+public:
+ const static int TYPE = 112;
+
+public:
+ XATransactionId() ;
+ virtual ~XATransactionId() ;
+
+
+ virtual int getFormatId() ;
+ virtual void setFormatId(int formatId) ;
+
+ virtual byte[] getGlobalTransactionId() ;
+ virtual void setGlobalTransactionId(byte[] globalTransactionId) ;
+
+ virtual byte[] getBranchQualifier() ;
+ virtual void setBranchQualifier(byte[] branchQualifier) ;
+
+
+} ;
+
+/* namespace */
+ }
+ }
+ }
+}
+
+#endif /*XATransactionId_hpp_*/
Added: incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQBytesMessageMarshaller.cpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQBytesMessageMarshaller.cpp?rev=382091&view=auto
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQBytesMessageMarshaller.cpp (added)
+++ incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQBytesMessageMarshaller.cpp Wed Mar 1 09:34:23 2006
@@ -0,0 +1,78 @@
+/*
+ * Copyright 2006 The Apache Software Foundation or its licensors, as
+ * applicable.
+ *
+ * Licensed 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 "marshal/ActiveMQBytesMessageMarshaller.hpp"
+
+using namespace apache::activemq::client::marshal;
+
+/*
+ * Marshalling code for Open Wire Format for ActiveMQBytesMessage
+ *
+ * NOTE!: This file is autogenerated - do not modify!
+ * if you need to make a change, please see the Groovy scripts in the
+ * activemq-core module
+ */
+
+ActiveMQBytesMessageMarshaller::ActiveMQBytesMessageMarshaller()
+{
+ // no-op
+}
+
+ActiveMQBytesMessageMarshaller::~ActiveMQBytesMessageMarshaller()
+{
+ // no-op
+}
+
+
+
+DataStructure* ActiveMQBytesMessageMarshaller::createObject()
+{
+ return new ActiveMQBytesMessage();
+}
+
+byte ActiveMQBytesMessageMarshaller::getDataStructureType()
+{
+ return ActiveMQBytesMessage.ID_ActiveMQBytesMessage;
+}
+
+ /*
+ * Un-marshal an object instance from the data input stream
+ */
+void ActiveMQBytesMessageMarshaller::unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs)
+{
+ base.unmarshal(wireFormat, o, dataIn, bs);
+
+}
+
+
+/*
+ * Write the booleans that this object uses to a BooleanStream
+ */
+int ActiveMQBytesMessageMarshaller::marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) {
+ ActiveMQBytesMessage& info = (ActiveMQBytesMessage&) o;
+
+ int rc = base.marshal1(wireFormat, info, bs);
+
+ return rc + 0;
+}
+
+/*
+ * Write a object instance to data output stream
+ */
+void ActiveMQBytesMessageMarshaller::marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) {
+ base.marshal2(wireFormat, o, dataOut, bs);
+
+}
Propchange: incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQBytesMessageMarshaller.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQBytesMessageMarshaller.cpp
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQBytesMessageMarshaller.hpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQBytesMessageMarshaller.hpp?rev=382091&view=auto
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQBytesMessageMarshaller.hpp (added)
+++ incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQBytesMessageMarshaller.hpp Wed Mar 1 09:34:23 2006
@@ -0,0 +1,71 @@
+/*
+* Copyright 2006 The Apache Software Foundation or its licensors, as
+* applicable.
+*
+* Licensed 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 ActiveMQBytesMessageMarshaller_hpp_
+#define ActiveMQBytesMessageMarshaller_hpp_
+
+#include <string>
+
+#include "command/DataStructure.hpp"
+
+/* we could cut this down - for now include all possible headers */
+#include "command/BrokerId.hpp"
+#include "command/ConnectionId.hpp"
+#include "command/ConsumerId.hpp"
+#include "command/ProducerId.hpp"
+#include "command/SessionId.hpp"
+
+#include "io/BinaryReader.hpp"
+#include "io/BinaryWriter.hpp"
+
+#include "command/ActiveMQMessageMarshaller.hpp"
+#include "util/ifr/p"
+
+namespace apache
+{
+ namespace activemq
+ {
+ namespace client
+ {
+ namespace marshal
+ {
+ using namespace ifr ;
+ using namespace apache::activemq::client::command;
+ using namespace apache::activemq::client::io;
+
+/*
+ *
+ */
+class ActiveMQBytesMessageMarshaller : public ActiveMQMessageMarshaller
+{
+public:
+ ActiveMQBytesMessageMarshaller() ;
+ virtual ~ActiveMQBytesMessageMarshaller() ;
+
+ virtual DataStructure* createCommand() ;
+ virtual byte getDataStructureType() ;
+
+ virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
+ virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
+ virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
+} ;
+
+/* namespace */
+ }
+ }
+ }
+}
+#endif /*ActiveMQBytesMessageMarshaller_hpp_*/
Added: incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQDestinationMarshaller.cpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQDestinationMarshaller.cpp?rev=382091&view=auto
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQDestinationMarshaller.cpp (added)
+++ incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQDestinationMarshaller.cpp Wed Mar 1 09:34:23 2006
@@ -0,0 +1,74 @@
+/*
+ * Copyright 2006 The Apache Software Foundation or its licensors, as
+ * applicable.
+ *
+ * Licensed 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 "marshal/ActiveMQDestinationMarshaller.hpp"
+
+using namespace apache::activemq::client::marshal;
+
+/*
+ * Marshalling code for Open Wire Format for ActiveMQDestination
+ *
+ * NOTE!: This file is autogenerated - do not modify!
+ * if you need to make a change, please see the Groovy scripts in the
+ * activemq-core module
+ */
+
+ActiveMQDestinationMarshaller::ActiveMQDestinationMarshaller()
+{
+ // no-op
+}
+
+ActiveMQDestinationMarshaller::~ActiveMQDestinationMarshaller()
+{
+ // no-op
+}
+
+
+ /*
+ * Un-marshal an object instance from the data input stream
+ */
+void ActiveMQDestinationMarshaller::unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs)
+{
+ base.unmarshal(wireFormat, o, dataIn, bs);
+
+ ActiveMQDestination& info = (ActiveMQDestination&) o;
+ info.setPhysicalName(tightUnmarshalString(dataIn, bs));
+
+}
+
+
+/*
+ * Write the booleans that this object uses to a BooleanStream
+ */
+int ActiveMQDestinationMarshaller::marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) {
+ ActiveMQDestination& info = (ActiveMQDestination&) o;
+
+ int rc = base.marshal1(wireFormat, info, bs);
+ rc += writeString(info.getPhysicalName(), bs);
+
+ return rc + 0;
+}
+
+/*
+ * Write a object instance to data output stream
+ */
+void ActiveMQDestinationMarshaller::marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) {
+ base.marshal2(wireFormat, o, dataOut, bs);
+
+ ActiveMQDestination& info = (ActiveMQDestination&) o;
+ writeString(info.getPhysicalName(), dataOut, bs);
+
+}
Propchange: incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQDestinationMarshaller.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQDestinationMarshaller.cpp
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQDestinationMarshaller.hpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQDestinationMarshaller.hpp?rev=382091&view=auto
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQDestinationMarshaller.hpp (added)
+++ incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQDestinationMarshaller.hpp Wed Mar 1 09:34:23 2006
@@ -0,0 +1,71 @@
+/*
+* Copyright 2006 The Apache Software Foundation or its licensors, as
+* applicable.
+*
+* Licensed 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 ActiveMQDestinationMarshaller_hpp_
+#define ActiveMQDestinationMarshaller_hpp_
+
+#include <string>
+
+#include "command/DataStructure.hpp"
+
+/* we could cut this down - for now include all possible headers */
+#include "command/BrokerId.hpp"
+#include "command/ConnectionId.hpp"
+#include "command/ConsumerId.hpp"
+#include "command/ProducerId.hpp"
+#include "command/SessionId.hpp"
+
+#include "io/BinaryReader.hpp"
+#include "io/BinaryWriter.hpp"
+
+#include "command/BaseDataStreamMarshaller.hpp"
+#include "util/ifr/p"
+
+namespace apache
+{
+ namespace activemq
+ {
+ namespace client
+ {
+ namespace marshal
+ {
+ using namespace ifr ;
+ using namespace apache::activemq::client::command;
+ using namespace apache::activemq::client::io;
+
+/*
+ *
+ */
+class ActiveMQDestinationMarshaller : public BaseDataStreamMarshaller
+{
+public:
+ ActiveMQDestinationMarshaller() ;
+ virtual ~ActiveMQDestinationMarshaller() ;
+
+ virtual DataStructure* createCommand() ;
+ virtual byte getDataStructureType() ;
+
+ virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
+ virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
+ virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
+} ;
+
+/* namespace */
+ }
+ }
+ }
+}
+#endif /*ActiveMQDestinationMarshaller_hpp_*/
Added: incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQMapMessageMarshaller.cpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQMapMessageMarshaller.cpp?rev=382091&view=auto
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQMapMessageMarshaller.cpp (added)
+++ incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQMapMessageMarshaller.cpp Wed Mar 1 09:34:23 2006
@@ -0,0 +1,78 @@
+/*
+ * Copyright 2006 The Apache Software Foundation or its licensors, as
+ * applicable.
+ *
+ * Licensed 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 "marshal/ActiveMQMapMessageMarshaller.hpp"
+
+using namespace apache::activemq::client::marshal;
+
+/*
+ * Marshalling code for Open Wire Format for ActiveMQMapMessage
+ *
+ * NOTE!: This file is autogenerated - do not modify!
+ * if you need to make a change, please see the Groovy scripts in the
+ * activemq-core module
+ */
+
+ActiveMQMapMessageMarshaller::ActiveMQMapMessageMarshaller()
+{
+ // no-op
+}
+
+ActiveMQMapMessageMarshaller::~ActiveMQMapMessageMarshaller()
+{
+ // no-op
+}
+
+
+
+DataStructure* ActiveMQMapMessageMarshaller::createObject()
+{
+ return new ActiveMQMapMessage();
+}
+
+byte ActiveMQMapMessageMarshaller::getDataStructureType()
+{
+ return ActiveMQMapMessage.ID_ActiveMQMapMessage;
+}
+
+ /*
+ * Un-marshal an object instance from the data input stream
+ */
+void ActiveMQMapMessageMarshaller::unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs)
+{
+ base.unmarshal(wireFormat, o, dataIn, bs);
+
+}
+
+
+/*
+ * Write the booleans that this object uses to a BooleanStream
+ */
+int ActiveMQMapMessageMarshaller::marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) {
+ ActiveMQMapMessage& info = (ActiveMQMapMessage&) o;
+
+ int rc = base.marshal1(wireFormat, info, bs);
+
+ return rc + 0;
+}
+
+/*
+ * Write a object instance to data output stream
+ */
+void ActiveMQMapMessageMarshaller::marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) {
+ base.marshal2(wireFormat, o, dataOut, bs);
+
+}
Propchange: incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQMapMessageMarshaller.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQMapMessageMarshaller.cpp
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQMapMessageMarshaller.hpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQMapMessageMarshaller.hpp?rev=382091&view=auto
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQMapMessageMarshaller.hpp (added)
+++ incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQMapMessageMarshaller.hpp Wed Mar 1 09:34:23 2006
@@ -0,0 +1,71 @@
+/*
+* Copyright 2006 The Apache Software Foundation or its licensors, as
+* applicable.
+*
+* Licensed 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 ActiveMQMapMessageMarshaller_hpp_
+#define ActiveMQMapMessageMarshaller_hpp_
+
+#include <string>
+
+#include "command/DataStructure.hpp"
+
+/* we could cut this down - for now include all possible headers */
+#include "command/BrokerId.hpp"
+#include "command/ConnectionId.hpp"
+#include "command/ConsumerId.hpp"
+#include "command/ProducerId.hpp"
+#include "command/SessionId.hpp"
+
+#include "io/BinaryReader.hpp"
+#include "io/BinaryWriter.hpp"
+
+#include "command/ActiveMQMessageMarshaller.hpp"
+#include "util/ifr/p"
+
+namespace apache
+{
+ namespace activemq
+ {
+ namespace client
+ {
+ namespace marshal
+ {
+ using namespace ifr ;
+ using namespace apache::activemq::client::command;
+ using namespace apache::activemq::client::io;
+
+/*
+ *
+ */
+class ActiveMQMapMessageMarshaller : public ActiveMQMessageMarshaller
+{
+public:
+ ActiveMQMapMessageMarshaller() ;
+ virtual ~ActiveMQMapMessageMarshaller() ;
+
+ virtual DataStructure* createCommand() ;
+ virtual byte getDataStructureType() ;
+
+ virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
+ virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
+ virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
+} ;
+
+/* namespace */
+ }
+ }
+ }
+}
+#endif /*ActiveMQMapMessageMarshaller_hpp_*/
Added: incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQMessageMarshaller.cpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQMessageMarshaller.cpp?rev=382091&view=auto
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQMessageMarshaller.cpp (added)
+++ incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQMessageMarshaller.cpp Wed Mar 1 09:34:23 2006
@@ -0,0 +1,91 @@
+/*
+ * Copyright 2006 The Apache Software Foundation or its licensors, as
+ * applicable.
+ *
+ * Licensed 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 "marshal/ActiveMQMessageMarshaller.hpp"
+
+using namespace apache::activemq::client::marshal;
+
+/*
+ * Marshalling code for Open Wire Format for ActiveMQMessage
+ *
+ * NOTE!: This file is autogenerated - do not modify!
+ * if you need to make a change, please see the Groovy scripts in the
+ * activemq-core module
+ */
+
+ActiveMQMessageMarshaller::ActiveMQMessageMarshaller()
+{
+ // no-op
+}
+
+ActiveMQMessageMarshaller::~ActiveMQMessageMarshaller()
+{
+ // no-op
+}
+
+
+
+DataStructure* ActiveMQMessageMarshaller::createObject()
+{
+ return new ActiveMQMessage();
+}
+
+byte ActiveMQMessageMarshaller::getDataStructureType()
+{
+ return ActiveMQMessage.ID_ActiveMQMessage;
+}
+
+ /*
+ * Un-marshal an object instance from the data input stream
+ */
+void ActiveMQMessageMarshaller::unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs)
+{
+ base.unmarshal(wireFormat, o, dataIn, bs);
+
+ ActiveMQMessage& info = (ActiveMQMessage&) o;
+
+ info.beforeUnmarshall(wireFormat);
+
+
+ info.afterUnmarshall(wireFormat);
+
+}
+
+
+/*
+ * Write the booleans that this object uses to a BooleanStream
+ */
+int ActiveMQMessageMarshaller::marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) {
+ ActiveMQMessage& info = (ActiveMQMessage&) o;
+
+ info.beforeMarshall(wireFormat);
+
+ int rc = base.marshal1(wireFormat, info, bs);
+
+ return rc + 0;
+}
+
+/*
+ * Write a object instance to data output stream
+ */
+void ActiveMQMessageMarshaller::marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) {
+ base.marshal2(wireFormat, o, dataOut, bs);
+
+ ActiveMQMessage& info = (ActiveMQMessage&) o;
+
+ info.afterMarshall(wireFormat);
+
+}
Propchange: incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQMessageMarshaller.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQMessageMarshaller.cpp
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQMessageMarshaller.hpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQMessageMarshaller.hpp?rev=382091&view=auto
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQMessageMarshaller.hpp (added)
+++ incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQMessageMarshaller.hpp Wed Mar 1 09:34:23 2006
@@ -0,0 +1,71 @@
+/*
+* Copyright 2006 The Apache Software Foundation or its licensors, as
+* applicable.
+*
+* Licensed 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 ActiveMQMessageMarshaller_hpp_
+#define ActiveMQMessageMarshaller_hpp_
+
+#include <string>
+
+#include "command/DataStructure.hpp"
+
+/* we could cut this down - for now include all possible headers */
+#include "command/BrokerId.hpp"
+#include "command/ConnectionId.hpp"
+#include "command/ConsumerId.hpp"
+#include "command/ProducerId.hpp"
+#include "command/SessionId.hpp"
+
+#include "io/BinaryReader.hpp"
+#include "io/BinaryWriter.hpp"
+
+#include "command/MessageMarshaller.hpp"
+#include "util/ifr/p"
+
+namespace apache
+{
+ namespace activemq
+ {
+ namespace client
+ {
+ namespace marshal
+ {
+ using namespace ifr ;
+ using namespace apache::activemq::client::command;
+ using namespace apache::activemq::client::io;
+
+/*
+ *
+ */
+class ActiveMQMessageMarshaller : public MessageMarshaller
+{
+public:
+ ActiveMQMessageMarshaller() ;
+ virtual ~ActiveMQMessageMarshaller() ;
+
+ virtual DataStructure* createCommand() ;
+ virtual byte getDataStructureType() ;
+
+ virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
+ virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
+ virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
+} ;
+
+/* namespace */
+ }
+ }
+ }
+}
+#endif /*ActiveMQMessageMarshaller_hpp_*/
Added: incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQObjectMessageMarshaller.cpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQObjectMessageMarshaller.cpp?rev=382091&view=auto
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQObjectMessageMarshaller.cpp (added)
+++ incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQObjectMessageMarshaller.cpp Wed Mar 1 09:34:23 2006
@@ -0,0 +1,78 @@
+/*
+ * Copyright 2006 The Apache Software Foundation or its licensors, as
+ * applicable.
+ *
+ * Licensed 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 "marshal/ActiveMQObjectMessageMarshaller.hpp"
+
+using namespace apache::activemq::client::marshal;
+
+/*
+ * Marshalling code for Open Wire Format for ActiveMQObjectMessage
+ *
+ * NOTE!: This file is autogenerated - do not modify!
+ * if you need to make a change, please see the Groovy scripts in the
+ * activemq-core module
+ */
+
+ActiveMQObjectMessageMarshaller::ActiveMQObjectMessageMarshaller()
+{
+ // no-op
+}
+
+ActiveMQObjectMessageMarshaller::~ActiveMQObjectMessageMarshaller()
+{
+ // no-op
+}
+
+
+
+DataStructure* ActiveMQObjectMessageMarshaller::createObject()
+{
+ return new ActiveMQObjectMessage();
+}
+
+byte ActiveMQObjectMessageMarshaller::getDataStructureType()
+{
+ return ActiveMQObjectMessage.ID_ActiveMQObjectMessage;
+}
+
+ /*
+ * Un-marshal an object instance from the data input stream
+ */
+void ActiveMQObjectMessageMarshaller::unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs)
+{
+ base.unmarshal(wireFormat, o, dataIn, bs);
+
+}
+
+
+/*
+ * Write the booleans that this object uses to a BooleanStream
+ */
+int ActiveMQObjectMessageMarshaller::marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) {
+ ActiveMQObjectMessage& info = (ActiveMQObjectMessage&) o;
+
+ int rc = base.marshal1(wireFormat, info, bs);
+
+ return rc + 0;
+}
+
+/*
+ * Write a object instance to data output stream
+ */
+void ActiveMQObjectMessageMarshaller::marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) {
+ base.marshal2(wireFormat, o, dataOut, bs);
+
+}
Propchange: incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQObjectMessageMarshaller.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQObjectMessageMarshaller.cpp
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQObjectMessageMarshaller.hpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQObjectMessageMarshaller.hpp?rev=382091&view=auto
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQObjectMessageMarshaller.hpp (added)
+++ incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQObjectMessageMarshaller.hpp Wed Mar 1 09:34:23 2006
@@ -0,0 +1,71 @@
+/*
+* Copyright 2006 The Apache Software Foundation or its licensors, as
+* applicable.
+*
+* Licensed 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 ActiveMQObjectMessageMarshaller_hpp_
+#define ActiveMQObjectMessageMarshaller_hpp_
+
+#include <string>
+
+#include "command/DataStructure.hpp"
+
+/* we could cut this down - for now include all possible headers */
+#include "command/BrokerId.hpp"
+#include "command/ConnectionId.hpp"
+#include "command/ConsumerId.hpp"
+#include "command/ProducerId.hpp"
+#include "command/SessionId.hpp"
+
+#include "io/BinaryReader.hpp"
+#include "io/BinaryWriter.hpp"
+
+#include "command/ActiveMQMessageMarshaller.hpp"
+#include "util/ifr/p"
+
+namespace apache
+{
+ namespace activemq
+ {
+ namespace client
+ {
+ namespace marshal
+ {
+ using namespace ifr ;
+ using namespace apache::activemq::client::command;
+ using namespace apache::activemq::client::io;
+
+/*
+ *
+ */
+class ActiveMQObjectMessageMarshaller : public ActiveMQMessageMarshaller
+{
+public:
+ ActiveMQObjectMessageMarshaller() ;
+ virtual ~ActiveMQObjectMessageMarshaller() ;
+
+ virtual DataStructure* createCommand() ;
+ virtual byte getDataStructureType() ;
+
+ virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
+ virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
+ virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
+} ;
+
+/* namespace */
+ }
+ }
+ }
+}
+#endif /*ActiveMQObjectMessageMarshaller_hpp_*/
Added: incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQQueueMarshaller.cpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQQueueMarshaller.cpp?rev=382091&view=auto
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQQueueMarshaller.cpp (added)
+++ incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQQueueMarshaller.cpp Wed Mar 1 09:34:23 2006
@@ -0,0 +1,78 @@
+/*
+ * Copyright 2006 The Apache Software Foundation or its licensors, as
+ * applicable.
+ *
+ * Licensed 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 "marshal/ActiveMQQueueMarshaller.hpp"
+
+using namespace apache::activemq::client::marshal;
+
+/*
+ * Marshalling code for Open Wire Format for ActiveMQQueue
+ *
+ * NOTE!: This file is autogenerated - do not modify!
+ * if you need to make a change, please see the Groovy scripts in the
+ * activemq-core module
+ */
+
+ActiveMQQueueMarshaller::ActiveMQQueueMarshaller()
+{
+ // no-op
+}
+
+ActiveMQQueueMarshaller::~ActiveMQQueueMarshaller()
+{
+ // no-op
+}
+
+
+
+DataStructure* ActiveMQQueueMarshaller::createObject()
+{
+ return new ActiveMQQueue();
+}
+
+byte ActiveMQQueueMarshaller::getDataStructureType()
+{
+ return ActiveMQQueue.ID_ActiveMQQueue;
+}
+
+ /*
+ * Un-marshal an object instance from the data input stream
+ */
+void ActiveMQQueueMarshaller::unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs)
+{
+ base.unmarshal(wireFormat, o, dataIn, bs);
+
+}
+
+
+/*
+ * Write the booleans that this object uses to a BooleanStream
+ */
+int ActiveMQQueueMarshaller::marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) {
+ ActiveMQQueue& info = (ActiveMQQueue&) o;
+
+ int rc = base.marshal1(wireFormat, info, bs);
+
+ return rc + 0;
+}
+
+/*
+ * Write a object instance to data output stream
+ */
+void ActiveMQQueueMarshaller::marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) {
+ base.marshal2(wireFormat, o, dataOut, bs);
+
+}
Propchange: incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQQueueMarshaller.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQQueueMarshaller.cpp
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQQueueMarshaller.hpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQQueueMarshaller.hpp?rev=382091&view=auto
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQQueueMarshaller.hpp (added)
+++ incubator/activemq/trunk/openwire-cpp/src/marshal/ActiveMQQueueMarshaller.hpp Wed Mar 1 09:34:23 2006
@@ -0,0 +1,71 @@
+/*
+* Copyright 2006 The Apache Software Foundation or its licensors, as
+* applicable.
+*
+* Licensed 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 ActiveMQQueueMarshaller_hpp_
+#define ActiveMQQueueMarshaller_hpp_
+
+#include <string>
+
+#include "command/DataStructure.hpp"
+
+/* we could cut this down - for now include all possible headers */
+#include "command/BrokerId.hpp"
+#include "command/ConnectionId.hpp"
+#include "command/ConsumerId.hpp"
+#include "command/ProducerId.hpp"
+#include "command/SessionId.hpp"
+
+#include "io/BinaryReader.hpp"
+#include "io/BinaryWriter.hpp"
+
+#include "command/ActiveMQDestinationMarshaller.hpp"
+#include "util/ifr/p"
+
+namespace apache
+{
+ namespace activemq
+ {
+ namespace client
+ {
+ namespace marshal
+ {
+ using namespace ifr ;
+ using namespace apache::activemq::client::command;
+ using namespace apache::activemq::client::io;
+
+/*
+ *
+ */
+class ActiveMQQueueMarshaller : public ActiveMQDestinationMarshaller
+{
+public:
+ ActiveMQQueueMarshaller() ;
+ virtual ~ActiveMQQueueMarshaller() ;
+
+ virtual DataStructure* createCommand() ;
+ virtual byte getDataStructureType() ;
+
+ virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
+ virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
+ virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
+} ;
+
+/* namespace */
+ }
+ }
+ }
+}
+#endif /*ActiveMQQueueMarshaller_hpp_*/