You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ch...@apache.org on 2006/07/06 00:36:42 UTC
svn commit: r419371 [3/10] - in
/incubator/activemq/trunk/openwire-cpp/src/main/cpp: activemq/
activemq/command/ activemq/protocol/ activemq/protocol/openwire/
activemq/transport/ activemq/transport/tcp/ cms/ ppr/ ppr/io/
ppr/io/encoding/ ppr/net/ ppr/...
Modified: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ActiveMQTempQueue.hpp
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ActiveMQTempQueue.hpp?rev=419371&r1=419370&r2=419371&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ActiveMQTempQueue.hpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ActiveMQTempQueue.hpp Wed Jul 5 15:36:36 2006
@@ -1,55 +1,55 @@
-/*
- * 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 ActiveMQ_ActiveMQTempQueue_hpp_
-#define ActiveMQ_ActiveMQTempQueue_hpp_
-
-#include "cms/ITemporaryQueue.hpp"
-#include "activemq/command/ActiveMQTempDestination.hpp"
-
-namespace apache
-{
- namespace activemq
- {
- namespace command
- {
- using namespace apache::cms;
-
-/*
- *
- */
-class ActiveMQTempQueue : public ActiveMQTempDestination, public ITemporaryQueue
-{
-public:
- const static unsigned char TYPE = 102 ;
-
-public:
- ActiveMQTempQueue() ;
- ActiveMQTempQueue(const char* name) ;
- virtual ~ActiveMQTempQueue() ;
-
- virtual unsigned char getDataStructureType() ;
- virtual p<string> getQueueName() ;
- virtual int getDestinationType() ;
- virtual p<ActiveMQDestination> createDestination(const char* name) ;
-} ;
-
-/* namespace */
- }
- }
-}
-
-#endif /*ActiveMQ_ActiveMQTempQueue_hpp_*/
+/*
+ * 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 ActiveMQ_ActiveMQTempQueue_hpp_
+#define ActiveMQ_ActiveMQTempQueue_hpp_
+
+#include "cms/ITemporaryQueue.hpp"
+#include "activemq/command/ActiveMQTempDestination.hpp"
+
+namespace apache
+{
+ namespace activemq
+ {
+ namespace command
+ {
+ using namespace apache::cms;
+
+/*
+ *
+ */
+class ActiveMQTempQueue : public ActiveMQTempDestination, public ITemporaryQueue
+{
+public:
+ const static unsigned char TYPE = 102 ;
+
+public:
+ ActiveMQTempQueue() ;
+ ActiveMQTempQueue(const char* name) ;
+ virtual ~ActiveMQTempQueue() ;
+
+ virtual unsigned char getDataStructureType() ;
+ virtual p<string> getQueueName() ;
+ virtual int getDestinationType() ;
+ virtual p<ActiveMQDestination> createDestination(const char* name) ;
+} ;
+
+/* namespace */
+ }
+ }
+}
+
+#endif /*ActiveMQ_ActiveMQTempQueue_hpp_*/
Propchange: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ActiveMQTempQueue.hpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ActiveMQTempTopic.hpp
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ActiveMQTempTopic.hpp?rev=419371&r1=419370&r2=419371&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ActiveMQTempTopic.hpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ActiveMQTempTopic.hpp Wed Jul 5 15:36:36 2006
@@ -1,55 +1,55 @@
-/*
- * 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 ActiveMQ_ActiveMQTempTopic_hpp_
-#define ActiveMQ_ActiveMQTempTopic_hpp_
-
-#include "cms/ITemporaryTopic.hpp"
-#include "activemq/command/ActiveMQTempDestination.hpp"
-
-namespace apache
-{
- namespace activemq
- {
- namespace command
- {
- using namespace apache::cms;
-
-/*
- *
- */
-class ActiveMQTempTopic : public ActiveMQTempDestination, public ITemporaryTopic
-{
-public:
- const static unsigned char TYPE = 103 ;
-
-public:
- ActiveMQTempTopic() ;
- ActiveMQTempTopic(const char* name) ;
- virtual ~ActiveMQTempTopic() ;
-
- virtual unsigned char getDataStructureType() ;
- virtual p<string> getTopicName() ;
- virtual int getDestinationType() ;
- virtual p<ActiveMQDestination> createDestination(const char* name) ;
-} ;
-
-/* namespace */
- }
- }
-}
-
-#endif /*ActiveMQ_ActiveMQTempTopic_hpp_*/
+/*
+ * 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 ActiveMQ_ActiveMQTempTopic_hpp_
+#define ActiveMQ_ActiveMQTempTopic_hpp_
+
+#include "cms/ITemporaryTopic.hpp"
+#include "activemq/command/ActiveMQTempDestination.hpp"
+
+namespace apache
+{
+ namespace activemq
+ {
+ namespace command
+ {
+ using namespace apache::cms;
+
+/*
+ *
+ */
+class ActiveMQTempTopic : public ActiveMQTempDestination, public ITemporaryTopic
+{
+public:
+ const static unsigned char TYPE = 103 ;
+
+public:
+ ActiveMQTempTopic() ;
+ ActiveMQTempTopic(const char* name) ;
+ virtual ~ActiveMQTempTopic() ;
+
+ virtual unsigned char getDataStructureType() ;
+ virtual p<string> getTopicName() ;
+ virtual int getDestinationType() ;
+ virtual p<ActiveMQDestination> createDestination(const char* name) ;
+} ;
+
+/* namespace */
+ }
+ }
+}
+
+#endif /*ActiveMQ_ActiveMQTempTopic_hpp_*/
Propchange: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ActiveMQTempTopic.hpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ActiveMQTextMessage.hpp
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ActiveMQTextMessage.hpp?rev=419371&r1=419370&r2=419371&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ActiveMQTextMessage.hpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ActiveMQTextMessage.hpp Wed Jul 5 15:36:36 2006
@@ -1,145 +1,145 @@
-/*
- * 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 ActiveMQ_ActiveMQTextMessage_hpp_
-#define ActiveMQ_ActiveMQTextMessage_hpp_
-
-#include <string>
-#include "cms/ITextMessage.hpp"
-#include "activemq/command/ActiveMQMessage.hpp"
-#include "ppr/io/ByteArrayOutputStream.hpp"
-#include "ppr/io/DataOutputStream.hpp"
-#include "ppr/io/encoding/ICharsetEncoder.hpp"
-#include "ppr/io/encoding/CharsetEncoderRegistry.hpp"
-#include "ppr/util/MapItemHolder.hpp"
-#include "ppr/util/ifr/p"
-
-namespace apache
-{
- namespace activemq
- {
- namespace command
- {
- using namespace ifr;
- using namespace apache::cms;
- using namespace apache::ppr::io;
- using namespace apache::ppr::io::encoding;
- using namespace apache::ppr::util;
-
-/*
- *
- */
-class ActiveMQTextMessage : public ActiveMQMessage, public ITextMessage
-{
-private:
- p<ICharsetEncoder> encoder ;
-
-public:
- const static unsigned char TYPE = 28 ;
-
-public:
- ActiveMQTextMessage() ;
- ActiveMQTextMessage(const char* text) ;
- ActiveMQTextMessage(const char* text, const char* encname) ;
- virtual ~ActiveMQTextMessage() ;
-
- virtual unsigned char getDataStructureType() ;
- virtual p<string> getText() ;
- virtual void setText(const char* text) ;
-
- //
- // The methods below are needed to resolve the multiple
- // inheritance of IMessage.
- virtual void acknowledge() {
- ActiveMQMessage::acknowledge() ;
- } ;
- virtual p<PropertyMap> getProperties() {
- return ActiveMQMessage::getProperties() ;
- } ;
- virtual p<string> getJMSCorrelationID() {
- return ActiveMQMessage::getJMSCorrelationID() ;
- } ;
- virtual void setJMSCorrelationID(const char* correlationId) {
- return ActiveMQMessage::setJMSCorrelationID(correlationId) ;
- } ;
- virtual p<IDestination> getJMSDestination() {
- return ActiveMQMessage::getJMSDestination() ;
- } ;
- virtual long long getJMSExpiration() {
- return ActiveMQMessage::getJMSExpiration() ;
- } ;
- virtual void setJMSExpiration(long long time) {
- return ActiveMQMessage::setJMSExpiration(time) ;
- } ;
- virtual p<string> getJMSMessageID() {
- return ActiveMQMessage::getJMSMessageID() ;
- } ;
- virtual bool getJMSPersistent() {
- return ActiveMQMessage::getJMSPersistent() ;
- } ;
- virtual void setJMSPersistent(bool persistent) {
- return ActiveMQMessage::setJMSPersistent(persistent) ;
- } ;
- virtual unsigned char getJMSPriority() {
- return ActiveMQMessage::getJMSPriority() ;
- } ;
- virtual void setJMSPriority(unsigned char priority) {
- return ActiveMQMessage::setJMSPriority(priority) ;
- } ;
- virtual bool getJMSRedelivered() {
- return ActiveMQMessage::getJMSRedelivered() ;
- } ;
- virtual p<IDestination> getJMSReplyTo() {
- return ActiveMQMessage::getJMSReplyTo() ;
- } ;
- virtual void setJMSReplyTo(p<IDestination> destination) {
- return ActiveMQMessage::setJMSReplyTo(destination) ;
- } ;
- virtual long long getJMSTimestamp() {
- return ActiveMQMessage::getJMSTimestamp() ;
- } ;
- virtual p<string> getJMSType() {
- return ActiveMQMessage::getJMSType() ;
- } ;
- virtual void setJMSType(const char* type) {
- return ActiveMQMessage::setJMSType(type) ;
- } ;
- virtual int getJMSXDeliveryCount() {
- return ActiveMQMessage::getJMSXDeliveryCount() ;
- } ;
- virtual p<string> getJMSXGroupID() {
- return ActiveMQMessage::getJMSXGroupID() ;
- } ;
- virtual void setJMSXGroupID(const char* groupId) {
- return ActiveMQMessage::setJMSXGroupID(groupId) ;
- } ;
- virtual int getJMSXGroupSeq() {
- return ActiveMQMessage::getJMSXGroupSeq() ;
- } ;
- virtual void setJMSXGroupSeq(int sequence) {
- return ActiveMQMessage::setJMSXGroupSeq(sequence) ;
- } ;
- virtual p<string> getJMSXProducerTxID() {
- return ActiveMQMessage::getJMSXProducerTxID() ;
- } ;
-} ;
-
-/* namespace */
- }
- }
-}
-
-#endif /*ActiveMQ_ActiveMQTextMessage_hpp_*/
+/*
+ * 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 ActiveMQ_ActiveMQTextMessage_hpp_
+#define ActiveMQ_ActiveMQTextMessage_hpp_
+
+#include <string>
+#include "cms/ITextMessage.hpp"
+#include "activemq/command/ActiveMQMessage.hpp"
+#include "ppr/io/ByteArrayOutputStream.hpp"
+#include "ppr/io/DataOutputStream.hpp"
+#include "ppr/io/encoding/ICharsetEncoder.hpp"
+#include "ppr/io/encoding/CharsetEncoderRegistry.hpp"
+#include "ppr/util/MapItemHolder.hpp"
+#include "ppr/util/ifr/p"
+
+namespace apache
+{
+ namespace activemq
+ {
+ namespace command
+ {
+ using namespace ifr;
+ using namespace apache::cms;
+ using namespace apache::ppr::io;
+ using namespace apache::ppr::io::encoding;
+ using namespace apache::ppr::util;
+
+/*
+ *
+ */
+class ActiveMQTextMessage : public ActiveMQMessage, public ITextMessage
+{
+private:
+ p<ICharsetEncoder> encoder ;
+
+public:
+ const static unsigned char TYPE = 28 ;
+
+public:
+ ActiveMQTextMessage() ;
+ ActiveMQTextMessage(const char* text) ;
+ ActiveMQTextMessage(const char* text, const char* encname) ;
+ virtual ~ActiveMQTextMessage() ;
+
+ virtual unsigned char getDataStructureType() ;
+ virtual p<string> getText() ;
+ virtual void setText(const char* text) ;
+
+ //
+ // The methods below are needed to resolve the multiple
+ // inheritance of IMessage.
+ virtual void acknowledge() {
+ ActiveMQMessage::acknowledge() ;
+ } ;
+ virtual p<PropertyMap> getProperties() {
+ return ActiveMQMessage::getProperties() ;
+ } ;
+ virtual p<string> getJMSCorrelationID() {
+ return ActiveMQMessage::getJMSCorrelationID() ;
+ } ;
+ virtual void setJMSCorrelationID(const char* correlationId) {
+ return ActiveMQMessage::setJMSCorrelationID(correlationId) ;
+ } ;
+ virtual p<IDestination> getJMSDestination() {
+ return ActiveMQMessage::getJMSDestination() ;
+ } ;
+ virtual long long getJMSExpiration() {
+ return ActiveMQMessage::getJMSExpiration() ;
+ } ;
+ virtual void setJMSExpiration(long long time) {
+ return ActiveMQMessage::setJMSExpiration(time) ;
+ } ;
+ virtual p<string> getJMSMessageID() {
+ return ActiveMQMessage::getJMSMessageID() ;
+ } ;
+ virtual bool getJMSPersistent() {
+ return ActiveMQMessage::getJMSPersistent() ;
+ } ;
+ virtual void setJMSPersistent(bool persistent) {
+ return ActiveMQMessage::setJMSPersistent(persistent) ;
+ } ;
+ virtual unsigned char getJMSPriority() {
+ return ActiveMQMessage::getJMSPriority() ;
+ } ;
+ virtual void setJMSPriority(unsigned char priority) {
+ return ActiveMQMessage::setJMSPriority(priority) ;
+ } ;
+ virtual bool getJMSRedelivered() {
+ return ActiveMQMessage::getJMSRedelivered() ;
+ } ;
+ virtual p<IDestination> getJMSReplyTo() {
+ return ActiveMQMessage::getJMSReplyTo() ;
+ } ;
+ virtual void setJMSReplyTo(p<IDestination> destination) {
+ return ActiveMQMessage::setJMSReplyTo(destination) ;
+ } ;
+ virtual long long getJMSTimestamp() {
+ return ActiveMQMessage::getJMSTimestamp() ;
+ } ;
+ virtual p<string> getJMSType() {
+ return ActiveMQMessage::getJMSType() ;
+ } ;
+ virtual void setJMSType(const char* type) {
+ return ActiveMQMessage::setJMSType(type) ;
+ } ;
+ virtual int getJMSXDeliveryCount() {
+ return ActiveMQMessage::getJMSXDeliveryCount() ;
+ } ;
+ virtual p<string> getJMSXGroupID() {
+ return ActiveMQMessage::getJMSXGroupID() ;
+ } ;
+ virtual void setJMSXGroupID(const char* groupId) {
+ return ActiveMQMessage::setJMSXGroupID(groupId) ;
+ } ;
+ virtual int getJMSXGroupSeq() {
+ return ActiveMQMessage::getJMSXGroupSeq() ;
+ } ;
+ virtual void setJMSXGroupSeq(int sequence) {
+ return ActiveMQMessage::setJMSXGroupSeq(sequence) ;
+ } ;
+ virtual p<string> getJMSXProducerTxID() {
+ return ActiveMQMessage::getJMSXProducerTxID() ;
+ } ;
+} ;
+
+/* namespace */
+ }
+ }
+}
+
+#endif /*ActiveMQ_ActiveMQTextMessage_hpp_*/
Propchange: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ActiveMQTextMessage.hpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ActiveMQTopic.hpp
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ActiveMQTopic.hpp?rev=419371&r1=419370&r2=419371&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ActiveMQTopic.hpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ActiveMQTopic.hpp Wed Jul 5 15:36:36 2006
@@ -1,55 +1,55 @@
-/*
- * 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 ActiveMQ_ActiveMQTopic_hpp_
-#define ActiveMQ_ActiveMQTopic_hpp_
-
-#include "cms/ITopic.hpp"
-#include "activemq/command/ActiveMQDestination.hpp"
-
-namespace apache
-{
- namespace activemq
- {
- namespace command
- {
- using namespace apache::cms;
-
-/*
- *
- */
-class ActiveMQTopic : public ActiveMQDestination, public ITopic
-{
-public:
- const static unsigned char TYPE = 101 ;
-
-public:
- ActiveMQTopic() ;
- ActiveMQTopic(const char* name) ;
- virtual ~ActiveMQTopic() ;
-
- virtual unsigned char getDataStructureType() ;
- virtual p<string> getTopicName() ;
- virtual int getDestinationType() ;
- virtual p<ActiveMQDestination> createDestination(const char* name) ;
-} ;
-
-/* namespace */
- }
- }
-}
-
-#endif /*ActiveMQ_ActiveMQTopic_hpp_*/
+/*
+ * 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 ActiveMQ_ActiveMQTopic_hpp_
+#define ActiveMQ_ActiveMQTopic_hpp_
+
+#include "cms/ITopic.hpp"
+#include "activemq/command/ActiveMQDestination.hpp"
+
+namespace apache
+{
+ namespace activemq
+ {
+ namespace command
+ {
+ using namespace apache::cms;
+
+/*
+ *
+ */
+class ActiveMQTopic : public ActiveMQDestination, public ITopic
+{
+public:
+ const static unsigned char TYPE = 101 ;
+
+public:
+ ActiveMQTopic() ;
+ ActiveMQTopic(const char* name) ;
+ virtual ~ActiveMQTopic() ;
+
+ virtual unsigned char getDataStructureType() ;
+ virtual p<string> getTopicName() ;
+ virtual int getDestinationType() ;
+ virtual p<ActiveMQDestination> createDestination(const char* name) ;
+} ;
+
+/* namespace */
+ }
+ }
+}
+
+#endif /*ActiveMQ_ActiveMQTopic_hpp_*/
Propchange: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ActiveMQTopic.hpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/BaseCommand.hpp
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/BaseCommand.hpp?rev=419371&r1=419370&r2=419371&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/BaseCommand.hpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/BaseCommand.hpp Wed Jul 5 15:36:36 2006
@@ -1,71 +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 ActiveMQ_BaseCommand_hpp_
-#define ActiveMQ_BaseCommand_hpp_
-
-#include <string>
-#include "activemq/ICommand.hpp"
-#include "activemq/command/BaseDataStructure.hpp"
-#include "activemq/protocol/IMarshaller.hpp"
-#include "ppr/io/IOutputStream.hpp"
-#include "ppr/io/IInputStream.hpp"
-#include "ppr/io/IOException.hpp"
-#include "ppr/util/ifr/p"
-
-namespace apache
-{
- namespace activemq
- {
- namespace command
- {
- using namespace ifr;
- using namespace std;
- using namespace apache::activemq;
- using namespace apache::activemq::protocol;
- using namespace apache::ppr::io;
-
-/*
- *
- */
-class BaseCommand : public BaseDataStructure, public ICommand
-{
-protected:
- int commandId ;
- bool responseRequired ;
-
-public:
- virtual int getCommandId() ;
- virtual void setCommandId(int id) ;
- virtual bool getResponseRequired() ;
- virtual void setResponseRequired(bool value) ;
-
- virtual int marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> ostream) throw(IOException) ;
- virtual void unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> istream) throw(IOException) ;
-
- // Equals operator
- bool operator== (BaseCommand& other) ;
-
- virtual int getHashCode() ;
- virtual p<string> toString() ;
-};
-
-/* namespace */
- }
- }
-}
-
-#endif /*ActiveMQ_BaseCommand_hpp_*/
+/*
+ * 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 ActiveMQ_BaseCommand_hpp_
+#define ActiveMQ_BaseCommand_hpp_
+
+#include <string>
+#include "activemq/ICommand.hpp"
+#include "activemq/command/BaseDataStructure.hpp"
+#include "activemq/protocol/IMarshaller.hpp"
+#include "ppr/io/IOutputStream.hpp"
+#include "ppr/io/IInputStream.hpp"
+#include "ppr/io/IOException.hpp"
+#include "ppr/util/ifr/p"
+
+namespace apache
+{
+ namespace activemq
+ {
+ namespace command
+ {
+ using namespace ifr;
+ using namespace std;
+ using namespace apache::activemq;
+ using namespace apache::activemq::protocol;
+ using namespace apache::ppr::io;
+
+/*
+ *
+ */
+class BaseCommand : public BaseDataStructure, public ICommand
+{
+protected:
+ int commandId ;
+ bool responseRequired ;
+
+public:
+ virtual int getCommandId() ;
+ virtual void setCommandId(int id) ;
+ virtual bool getResponseRequired() ;
+ virtual void setResponseRequired(bool value) ;
+
+ virtual int marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> ostream) throw(IOException) ;
+ virtual void unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> istream) throw(IOException) ;
+
+ // Equals operator
+ bool operator== (BaseCommand& other) ;
+
+ virtual int getHashCode() ;
+ virtual p<string> toString() ;
+};
+
+/* namespace */
+ }
+ }
+}
+
+#endif /*ActiveMQ_BaseCommand_hpp_*/
Propchange: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/BaseCommand.hpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/BaseDataStructure.hpp
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/BaseDataStructure.hpp?rev=419371&r1=419370&r2=419371&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/BaseDataStructure.hpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/BaseDataStructure.hpp Wed Jul 5 15:36:36 2006
@@ -1,61 +1,61 @@
-/*
- * 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 ActiveMQ_BaseDataStructure_hpp_
-#define ActiveMQ_BaseDataStructure_hpp_
-
-#include <string>
-#include "activemq/IDataStructure.hpp"
-#include "ppr/io/IOutputStream.hpp"
-#include "ppr/io/IInputStream.hpp"
-#include "ppr/io/IOException.hpp"
-#include "ppr/util/ifr/p"
-
-namespace apache
-{
- namespace activemq
- {
- namespace command
- {
- using namespace ifr;
- using namespace std;
- using namespace apache::activemq;
- using namespace apache::ppr::io;
-
-/*
- *
- */
-class BaseDataStructure : public IDataStructure
-{
-protected:
- BaseDataStructure() { } ;
-
-public:
- virtual unsigned char getDataStructureType() ;
-
- virtual int marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> ostream) throw(IOException) ;
- virtual void unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> istream) throw(IOException) ;
-
- static p<IDataStructure> createObject(unsigned char type) ;
- static p<string> getDataStructureTypeAsString(unsigned char type) ;
-} ;
-
-/* namespace */
- }
- }
-}
-
-#endif /*ActiveMQ_BaseDataStructure_hpp_*/
+/*
+ * 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 ActiveMQ_BaseDataStructure_hpp_
+#define ActiveMQ_BaseDataStructure_hpp_
+
+#include <string>
+#include "activemq/IDataStructure.hpp"
+#include "ppr/io/IOutputStream.hpp"
+#include "ppr/io/IInputStream.hpp"
+#include "ppr/io/IOException.hpp"
+#include "ppr/util/ifr/p"
+
+namespace apache
+{
+ namespace activemq
+ {
+ namespace command
+ {
+ using namespace ifr;
+ using namespace std;
+ using namespace apache::activemq;
+ using namespace apache::ppr::io;
+
+/*
+ *
+ */
+class BaseDataStructure : public IDataStructure
+{
+protected:
+ BaseDataStructure() { } ;
+
+public:
+ virtual unsigned char getDataStructureType() ;
+
+ virtual int marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> ostream) throw(IOException) ;
+ virtual void unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> istream) throw(IOException) ;
+
+ static p<IDataStructure> createObject(unsigned char type) ;
+ static p<string> getDataStructureTypeAsString(unsigned char type) ;
+} ;
+
+/* namespace */
+ }
+ }
+}
+
+#endif /*ActiveMQ_BaseDataStructure_hpp_*/
Propchange: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/BaseDataStructure.hpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/BooleanExpression.hpp
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/BooleanExpression.hpp?rev=419371&r1=419370&r2=419371&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/BooleanExpression.hpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/BooleanExpression.hpp Wed Jul 5 15:36:36 2006
@@ -1,45 +1,45 @@
-/*
- * 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 ActiveMQ_BooleanExpression_hpp_
-#define ActiveMQ_BooleanExpression_hpp_
-
-#include "activemq/command/BaseCommand.hpp"
-
-namespace apache
-{
- namespace activemq
- {
- namespace command
- {
-
-/*
- *
- */
-class BooleanExpression : public BaseCommand
-{
-protected:
-
-protected:
- BooleanExpression() {}
-} ;
-
-/* namespace */
- }
- }
-}
-
-#endif /*ActiveMQ_BooleanExpression_hpp_*/
+/*
+ * 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 ActiveMQ_BooleanExpression_hpp_
+#define ActiveMQ_BooleanExpression_hpp_
+
+#include "activemq/command/BaseCommand.hpp"
+
+namespace apache
+{
+ namespace activemq
+ {
+ namespace command
+ {
+
+/*
+ *
+ */
+class BooleanExpression : public BaseCommand
+{
+protected:
+
+protected:
+ BooleanExpression() {}
+} ;
+
+/* namespace */
+ }
+ }
+}
+
+#endif /*ActiveMQ_BooleanExpression_hpp_*/
Propchange: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/BooleanExpression.hpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/BrokerError.hpp
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/BrokerError.hpp?rev=419371&r1=419370&r2=419371&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/BrokerError.hpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/BrokerError.hpp Wed Jul 5 15:36:36 2006
@@ -1,78 +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.
- */
-#ifndef ActiveMQ_BrokerError_hpp_
-#define ActiveMQ_BrokerError_hpp_
-
-#include <string>
-#include <ostream>
-#include <sstream>
-#include "activemq/command/BaseCommand.hpp"
-#include "ppr/util/ifr/array"
-#include "ppr/util/ifr/p"
-
-namespace apache
-{
- namespace activemq
- {
- namespace command
- {
- using namespace ifr ;
- using namespace std ;
-
-/*
- *
- */
-struct StackTraceElement
-{
- p<string> className ;
- p<string> fileName ;
- p<string> methodName ;
- int lineNumber ;
-} ;
-
-/*
- * Represents an exception on the broker.
- */
-class BrokerError : public BaseCommand
-{
-private:
- p<string> message ;
- p<string> exceptionClass ;
- array<StackTraceElement> stackTraceElements ;
- p<BrokerError> cause ;
-
-public:
- BrokerError() ;
-
- virtual p<string> getMessage() ;
- virtual void setMessage(const char* msg) ;
- virtual p<string> getExceptionClass() ;
- virtual void setExceptionClass(const char* exClass) ;
- virtual array<StackTraceElement> getStackTraceElements() ;
- virtual void setStackTraceElements(array<StackTraceElement> elements) ;
- virtual p<BrokerError> getCause() ;
- virtual void setCause(p<BrokerError> cause) ;
- virtual p<string> getStackTrace() ;
- virtual void printStackTrace(ostream& out) ;
-} ;
-
-/* namespace */
- }
- }
-}
-
-#endif /*ActiveMQ_BrokerError_hpp_*/
+/*
+ * 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 ActiveMQ_BrokerError_hpp_
+#define ActiveMQ_BrokerError_hpp_
+
+#include <string>
+#include <ostream>
+#include <sstream>
+#include "activemq/command/BaseCommand.hpp"
+#include "ppr/util/ifr/array"
+#include "ppr/util/ifr/p"
+
+namespace apache
+{
+ namespace activemq
+ {
+ namespace command
+ {
+ using namespace ifr ;
+ using namespace std ;
+
+/*
+ *
+ */
+struct StackTraceElement
+{
+ p<string> className ;
+ p<string> fileName ;
+ p<string> methodName ;
+ int lineNumber ;
+} ;
+
+/*
+ * Represents an exception on the broker.
+ */
+class BrokerError : public BaseCommand
+{
+private:
+ p<string> message ;
+ p<string> exceptionClass ;
+ array<StackTraceElement> stackTraceElements ;
+ p<BrokerError> cause ;
+
+public:
+ BrokerError() ;
+
+ virtual p<string> getMessage() ;
+ virtual void setMessage(const char* msg) ;
+ virtual p<string> getExceptionClass() ;
+ virtual void setExceptionClass(const char* exClass) ;
+ virtual array<StackTraceElement> getStackTraceElements() ;
+ virtual void setStackTraceElements(array<StackTraceElement> elements) ;
+ virtual p<BrokerError> getCause() ;
+ virtual void setCause(p<BrokerError> cause) ;
+ virtual p<string> getStackTrace() ;
+ virtual void printStackTrace(ostream& out) ;
+} ;
+
+/* namespace */
+ }
+ }
+}
+
+#endif /*ActiveMQ_BrokerError_hpp_*/
Propchange: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/BrokerError.hpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/BrokerId.hpp
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/BrokerId.hpp?rev=419371&r1=419370&r2=419371&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/BrokerId.hpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/BrokerId.hpp Wed Jul 5 15:36:36 2006
@@ -1,83 +1,83 @@
-/*
-* 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 ActiveMQ_BrokerId_hpp_
-#define ActiveMQ_BrokerId_hpp_
-
-// Turn off warning message for ignored exception specification
-#ifdef _MSC_VER
-#pragma warning( disable : 4290 )
-#endif
-
-#include <string>
-#include "activemq/command/BaseDataStructure.hpp"
-
-#include "activemq/protocol/IMarshaller.hpp"
-#include "ppr/io/IOutputStream.hpp"
-#include "ppr/io/IInputStream.hpp"
-#include "ppr/io/IOException.hpp"
-#include "ppr/util/ifr/array"
-#include "ppr/util/ifr/p"
-
-namespace apache
-{
- namespace activemq
- {
- namespace command
- {
- using namespace ifr;
- using namespace std;
- using namespace apache::activemq;
- using namespace apache::activemq::protocol;
- using namespace apache::ppr::io;
-
-/*
- *
- * Command and marshalling code for OpenWire format for BrokerId
- *
- *
- * 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 BrokerId : public BaseDataStructure
-{
-protected:
- p<string> value ;
-
-public:
- const static unsigned char TYPE = 124;
-
-public:
- BrokerId() ;
- virtual ~BrokerId() ;
-
- virtual unsigned char getDataStructureType() ;
-
- virtual p<string> getValue() ;
- virtual void setValue(p<string> value) ;
-
- virtual int marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> ostream) throw (IOException) ;
- virtual void unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> istream) throw (IOException) ;
-} ;
-
-/* namespace */
- }
- }
-}
-
-#endif /*ActiveMQ_BrokerId_hpp_*/
+/*
+* 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 ActiveMQ_BrokerId_hpp_
+#define ActiveMQ_BrokerId_hpp_
+
+// Turn off warning message for ignored exception specification
+#ifdef _MSC_VER
+#pragma warning( disable : 4290 )
+#endif
+
+#include <string>
+#include "activemq/command/BaseDataStructure.hpp"
+
+#include "activemq/protocol/IMarshaller.hpp"
+#include "ppr/io/IOutputStream.hpp"
+#include "ppr/io/IInputStream.hpp"
+#include "ppr/io/IOException.hpp"
+#include "ppr/util/ifr/array"
+#include "ppr/util/ifr/p"
+
+namespace apache
+{
+ namespace activemq
+ {
+ namespace command
+ {
+ using namespace ifr;
+ using namespace std;
+ using namespace apache::activemq;
+ using namespace apache::activemq::protocol;
+ using namespace apache::ppr::io;
+
+/*
+ *
+ * Command and marshalling code for OpenWire format for BrokerId
+ *
+ *
+ * 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 BrokerId : public BaseDataStructure
+{
+protected:
+ p<string> value ;
+
+public:
+ const static unsigned char TYPE = 124;
+
+public:
+ BrokerId() ;
+ virtual ~BrokerId() ;
+
+ virtual unsigned char getDataStructureType() ;
+
+ virtual p<string> getValue() ;
+ virtual void setValue(p<string> value) ;
+
+ virtual int marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> ostream) throw (IOException) ;
+ virtual void unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> istream) throw (IOException) ;
+} ;
+
+/* namespace */
+ }
+ }
+}
+
+#endif /*ActiveMQ_BrokerId_hpp_*/
Propchange: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/BrokerId.hpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/BrokerInfo.hpp
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/BrokerInfo.hpp?rev=419371&r1=419370&r2=419371&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/BrokerInfo.hpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/BrokerInfo.hpp Wed Jul 5 15:36:36 2006
@@ -1,109 +1,109 @@
-/*
-* 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 ActiveMQ_BrokerInfo_hpp_
-#define ActiveMQ_BrokerInfo_hpp_
-
-// Turn off warning message for ignored exception specification
-#ifdef _MSC_VER
-#pragma warning( disable : 4290 )
-#endif
-
-#include <string>
-#include "activemq/command/BaseCommand.hpp"
-#include "activemq/command/BrokerId.hpp"
-#include "activemq/command/BrokerInfo.hpp"
-
-#include "activemq/protocol/IMarshaller.hpp"
-#include "ppr/io/IOutputStream.hpp"
-#include "ppr/io/IInputStream.hpp"
-#include "ppr/io/IOException.hpp"
-#include "ppr/util/ifr/array"
-#include "ppr/util/ifr/p"
-
-namespace apache
-{
- namespace activemq
- {
- namespace command
- {
- using namespace ifr;
- using namespace std;
- using namespace apache::activemq;
- using namespace apache::activemq::protocol;
- using namespace apache::ppr::io;
-
-/*
- *
- * Command and marshalling code for OpenWire format for BrokerInfo
- *
- *
- * 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 BrokerInfo : public BaseCommand
-{
-protected:
- p<BrokerId> brokerId ;
- p<string> brokerURL ;
- array<BrokerInfo> peerBrokerInfos ;
- p<string> brokerName ;
- bool slaveBroker ;
- bool masterBroker ;
- bool faultTolerantConfiguration ;
-
-public:
- const static unsigned char TYPE = 2;
-
-public:
- BrokerInfo() ;
- virtual ~BrokerInfo() ;
-
- virtual unsigned char getDataStructureType() ;
-
- virtual p<BrokerId> getBrokerId() ;
- virtual void setBrokerId(p<BrokerId> brokerId) ;
-
- virtual p<string> getBrokerURL() ;
- virtual void setBrokerURL(p<string> brokerURL) ;
-
- virtual array<BrokerInfo> getPeerBrokerInfos() ;
- virtual void setPeerBrokerInfos(array<BrokerInfo> peerBrokerInfos) ;
-
- virtual p<string> getBrokerName() ;
- virtual void setBrokerName(p<string> brokerName) ;
-
- virtual bool getSlaveBroker() ;
- virtual void setSlaveBroker(bool slaveBroker) ;
-
- virtual bool getMasterBroker() ;
- virtual void setMasterBroker(bool masterBroker) ;
-
- virtual bool getFaultTolerantConfiguration() ;
- virtual void setFaultTolerantConfiguration(bool faultTolerantConfiguration) ;
-
- virtual int marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> ostream) throw (IOException) ;
- virtual void unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> istream) throw (IOException) ;
-} ;
-
-/* namespace */
- }
- }
-}
-
-#endif /*ActiveMQ_BrokerInfo_hpp_*/
+/*
+* 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 ActiveMQ_BrokerInfo_hpp_
+#define ActiveMQ_BrokerInfo_hpp_
+
+// Turn off warning message for ignored exception specification
+#ifdef _MSC_VER
+#pragma warning( disable : 4290 )
+#endif
+
+#include <string>
+#include "activemq/command/BaseCommand.hpp"
+#include "activemq/command/BrokerId.hpp"
+#include "activemq/command/BrokerInfo.hpp"
+
+#include "activemq/protocol/IMarshaller.hpp"
+#include "ppr/io/IOutputStream.hpp"
+#include "ppr/io/IInputStream.hpp"
+#include "ppr/io/IOException.hpp"
+#include "ppr/util/ifr/array"
+#include "ppr/util/ifr/p"
+
+namespace apache
+{
+ namespace activemq
+ {
+ namespace command
+ {
+ using namespace ifr;
+ using namespace std;
+ using namespace apache::activemq;
+ using namespace apache::activemq::protocol;
+ using namespace apache::ppr::io;
+
+/*
+ *
+ * Command and marshalling code for OpenWire format for BrokerInfo
+ *
+ *
+ * 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 BrokerInfo : public BaseCommand
+{
+protected:
+ p<BrokerId> brokerId ;
+ p<string> brokerURL ;
+ array<BrokerInfo> peerBrokerInfos ;
+ p<string> brokerName ;
+ bool slaveBroker ;
+ bool masterBroker ;
+ bool faultTolerantConfiguration ;
+
+public:
+ const static unsigned char TYPE = 2;
+
+public:
+ BrokerInfo() ;
+ virtual ~BrokerInfo() ;
+
+ virtual unsigned char getDataStructureType() ;
+
+ virtual p<BrokerId> getBrokerId() ;
+ virtual void setBrokerId(p<BrokerId> brokerId) ;
+
+ virtual p<string> getBrokerURL() ;
+ virtual void setBrokerURL(p<string> brokerURL) ;
+
+ virtual array<BrokerInfo> getPeerBrokerInfos() ;
+ virtual void setPeerBrokerInfos(array<BrokerInfo> peerBrokerInfos) ;
+
+ virtual p<string> getBrokerName() ;
+ virtual void setBrokerName(p<string> brokerName) ;
+
+ virtual bool getSlaveBroker() ;
+ virtual void setSlaveBroker(bool slaveBroker) ;
+
+ virtual bool getMasterBroker() ;
+ virtual void setMasterBroker(bool masterBroker) ;
+
+ virtual bool getFaultTolerantConfiguration() ;
+ virtual void setFaultTolerantConfiguration(bool faultTolerantConfiguration) ;
+
+ virtual int marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> ostream) throw (IOException) ;
+ virtual void unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> istream) throw (IOException) ;
+} ;
+
+/* namespace */
+ }
+ }
+}
+
+#endif /*ActiveMQ_BrokerInfo_hpp_*/
Propchange: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/BrokerInfo.hpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ConnectionControl.hpp
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ConnectionControl.hpp?rev=419371&r1=419370&r2=419371&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ConnectionControl.hpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ConnectionControl.hpp Wed Jul 5 15:36:36 2006
@@ -1,99 +1,99 @@
-/*
-* 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 ActiveMQ_ConnectionControl_hpp_
-#define ActiveMQ_ConnectionControl_hpp_
-
-// Turn off warning message for ignored exception specification
-#ifdef _MSC_VER
-#pragma warning( disable : 4290 )
-#endif
-
-#include <string>
-#include "activemq/command/BaseCommand.hpp"
-
-#include "activemq/protocol/IMarshaller.hpp"
-#include "ppr/io/IOutputStream.hpp"
-#include "ppr/io/IInputStream.hpp"
-#include "ppr/io/IOException.hpp"
-#include "ppr/util/ifr/array"
-#include "ppr/util/ifr/p"
-
-namespace apache
-{
- namespace activemq
- {
- namespace command
- {
- using namespace ifr;
- using namespace std;
- using namespace apache::activemq;
- using namespace apache::activemq::protocol;
- using namespace apache::ppr::io;
-
-/*
- *
- * Command and marshalling code for OpenWire format for ConnectionControl
- *
- *
- * 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 ConnectionControl : public BaseCommand
-{
-protected:
- bool close ;
- bool exit ;
- bool faultTolerant ;
- bool resume ;
- bool suspend ;
-
-public:
- const static unsigned char TYPE = 18;
-
-public:
- ConnectionControl() ;
- virtual ~ConnectionControl() ;
-
- virtual unsigned char getDataStructureType() ;
-
- virtual bool getClose() ;
- virtual void setClose(bool close) ;
-
- virtual bool getExit() ;
- virtual void setExit(bool exit) ;
-
- virtual bool getFaultTolerant() ;
- virtual void setFaultTolerant(bool faultTolerant) ;
-
- virtual bool getResume() ;
- virtual void setResume(bool resume) ;
-
- virtual bool getSuspend() ;
- virtual void setSuspend(bool suspend) ;
-
- virtual int marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> ostream) throw (IOException) ;
- virtual void unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> istream) throw (IOException) ;
-} ;
-
-/* namespace */
- }
- }
-}
-
-#endif /*ActiveMQ_ConnectionControl_hpp_*/
+/*
+* 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 ActiveMQ_ConnectionControl_hpp_
+#define ActiveMQ_ConnectionControl_hpp_
+
+// Turn off warning message for ignored exception specification
+#ifdef _MSC_VER
+#pragma warning( disable : 4290 )
+#endif
+
+#include <string>
+#include "activemq/command/BaseCommand.hpp"
+
+#include "activemq/protocol/IMarshaller.hpp"
+#include "ppr/io/IOutputStream.hpp"
+#include "ppr/io/IInputStream.hpp"
+#include "ppr/io/IOException.hpp"
+#include "ppr/util/ifr/array"
+#include "ppr/util/ifr/p"
+
+namespace apache
+{
+ namespace activemq
+ {
+ namespace command
+ {
+ using namespace ifr;
+ using namespace std;
+ using namespace apache::activemq;
+ using namespace apache::activemq::protocol;
+ using namespace apache::ppr::io;
+
+/*
+ *
+ * Command and marshalling code for OpenWire format for ConnectionControl
+ *
+ *
+ * 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 ConnectionControl : public BaseCommand
+{
+protected:
+ bool close ;
+ bool exit ;
+ bool faultTolerant ;
+ bool resume ;
+ bool suspend ;
+
+public:
+ const static unsigned char TYPE = 18;
+
+public:
+ ConnectionControl() ;
+ virtual ~ConnectionControl() ;
+
+ virtual unsigned char getDataStructureType() ;
+
+ virtual bool getClose() ;
+ virtual void setClose(bool close) ;
+
+ virtual bool getExit() ;
+ virtual void setExit(bool exit) ;
+
+ virtual bool getFaultTolerant() ;
+ virtual void setFaultTolerant(bool faultTolerant) ;
+
+ virtual bool getResume() ;
+ virtual void setResume(bool resume) ;
+
+ virtual bool getSuspend() ;
+ virtual void setSuspend(bool suspend) ;
+
+ virtual int marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> ostream) throw (IOException) ;
+ virtual void unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> istream) throw (IOException) ;
+} ;
+
+/* namespace */
+ }
+ }
+}
+
+#endif /*ActiveMQ_ConnectionControl_hpp_*/
Propchange: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ConnectionControl.hpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ConnectionError.hpp
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ConnectionError.hpp?rev=419371&r1=419370&r2=419371&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ConnectionError.hpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ConnectionError.hpp Wed Jul 5 15:36:36 2006
@@ -1,89 +1,89 @@
-/*
-* 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 ActiveMQ_ConnectionError_hpp_
-#define ActiveMQ_ConnectionError_hpp_
-
-// Turn off warning message for ignored exception specification
-#ifdef _MSC_VER
-#pragma warning( disable : 4290 )
-#endif
-
-#include <string>
-#include "activemq/command/BaseCommand.hpp"
-#include "activemq/command/BrokerError.hpp"
-#include "activemq/command/ConnectionId.hpp"
-
-#include "activemq/protocol/IMarshaller.hpp"
-#include "ppr/io/IOutputStream.hpp"
-#include "ppr/io/IInputStream.hpp"
-#include "ppr/io/IOException.hpp"
-#include "ppr/util/ifr/array"
-#include "ppr/util/ifr/p"
-
-namespace apache
-{
- namespace activemq
- {
- namespace command
- {
- using namespace ifr;
- using namespace std;
- using namespace apache::activemq;
- using namespace apache::activemq::protocol;
- using namespace apache::ppr::io;
-
-/*
- *
- * Command and marshalling code for OpenWire format for ConnectionError
- *
- *
- * 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 ConnectionError : public BaseCommand
-{
-protected:
- p<BrokerError> exception ;
- p<ConnectionId> connectionId ;
-
-public:
- const static unsigned char TYPE = 16;
-
-public:
- ConnectionError() ;
- virtual ~ConnectionError() ;
-
- virtual unsigned char getDataStructureType() ;
-
- virtual p<BrokerError> getException() ;
- virtual void setException(p<BrokerError> exception) ;
-
- virtual p<ConnectionId> getConnectionId() ;
- virtual void setConnectionId(p<ConnectionId> connectionId) ;
-
- virtual int marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> ostream) throw (IOException) ;
- virtual void unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> istream) throw (IOException) ;
-} ;
-
-/* namespace */
- }
- }
-}
-
-#endif /*ActiveMQ_ConnectionError_hpp_*/
+/*
+* 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 ActiveMQ_ConnectionError_hpp_
+#define ActiveMQ_ConnectionError_hpp_
+
+// Turn off warning message for ignored exception specification
+#ifdef _MSC_VER
+#pragma warning( disable : 4290 )
+#endif
+
+#include <string>
+#include "activemq/command/BaseCommand.hpp"
+#include "activemq/command/BrokerError.hpp"
+#include "activemq/command/ConnectionId.hpp"
+
+#include "activemq/protocol/IMarshaller.hpp"
+#include "ppr/io/IOutputStream.hpp"
+#include "ppr/io/IInputStream.hpp"
+#include "ppr/io/IOException.hpp"
+#include "ppr/util/ifr/array"
+#include "ppr/util/ifr/p"
+
+namespace apache
+{
+ namespace activemq
+ {
+ namespace command
+ {
+ using namespace ifr;
+ using namespace std;
+ using namespace apache::activemq;
+ using namespace apache::activemq::protocol;
+ using namespace apache::ppr::io;
+
+/*
+ *
+ * Command and marshalling code for OpenWire format for ConnectionError
+ *
+ *
+ * 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 ConnectionError : public BaseCommand
+{
+protected:
+ p<BrokerError> exception ;
+ p<ConnectionId> connectionId ;
+
+public:
+ const static unsigned char TYPE = 16;
+
+public:
+ ConnectionError() ;
+ virtual ~ConnectionError() ;
+
+ virtual unsigned char getDataStructureType() ;
+
+ virtual p<BrokerError> getException() ;
+ virtual void setException(p<BrokerError> exception) ;
+
+ virtual p<ConnectionId> getConnectionId() ;
+ virtual void setConnectionId(p<ConnectionId> connectionId) ;
+
+ virtual int marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> ostream) throw (IOException) ;
+ virtual void unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> istream) throw (IOException) ;
+} ;
+
+/* namespace */
+ }
+ }
+}
+
+#endif /*ActiveMQ_ConnectionError_hpp_*/
Propchange: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ConnectionError.hpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ConnectionId.hpp
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ConnectionId.hpp?rev=419371&r1=419370&r2=419371&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ConnectionId.hpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ConnectionId.hpp Wed Jul 5 15:36:36 2006
@@ -1,83 +1,83 @@
-/*
-* 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 ActiveMQ_ConnectionId_hpp_
-#define ActiveMQ_ConnectionId_hpp_
-
-// Turn off warning message for ignored exception specification
-#ifdef _MSC_VER
-#pragma warning( disable : 4290 )
-#endif
-
-#include <string>
-#include "activemq/command/BaseDataStructure.hpp"
-
-#include "activemq/protocol/IMarshaller.hpp"
-#include "ppr/io/IOutputStream.hpp"
-#include "ppr/io/IInputStream.hpp"
-#include "ppr/io/IOException.hpp"
-#include "ppr/util/ifr/array"
-#include "ppr/util/ifr/p"
-
-namespace apache
-{
- namespace activemq
- {
- namespace command
- {
- using namespace ifr;
- using namespace std;
- using namespace apache::activemq;
- using namespace apache::activemq::protocol;
- using namespace apache::ppr::io;
-
-/*
- *
- * Command and marshalling code for OpenWire format for ConnectionId
- *
- *
- * 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 ConnectionId : public BaseDataStructure
-{
-protected:
- p<string> value ;
-
-public:
- const static unsigned char TYPE = 120;
-
-public:
- ConnectionId() ;
- virtual ~ConnectionId() ;
-
- virtual unsigned char getDataStructureType() ;
-
- virtual p<string> getValue() ;
- virtual void setValue(p<string> value) ;
-
- virtual int marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> ostream) throw (IOException) ;
- virtual void unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> istream) throw (IOException) ;
-} ;
-
-/* namespace */
- }
- }
-}
-
-#endif /*ActiveMQ_ConnectionId_hpp_*/
+/*
+* 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 ActiveMQ_ConnectionId_hpp_
+#define ActiveMQ_ConnectionId_hpp_
+
+// Turn off warning message for ignored exception specification
+#ifdef _MSC_VER
+#pragma warning( disable : 4290 )
+#endif
+
+#include <string>
+#include "activemq/command/BaseDataStructure.hpp"
+
+#include "activemq/protocol/IMarshaller.hpp"
+#include "ppr/io/IOutputStream.hpp"
+#include "ppr/io/IInputStream.hpp"
+#include "ppr/io/IOException.hpp"
+#include "ppr/util/ifr/array"
+#include "ppr/util/ifr/p"
+
+namespace apache
+{
+ namespace activemq
+ {
+ namespace command
+ {
+ using namespace ifr;
+ using namespace std;
+ using namespace apache::activemq;
+ using namespace apache::activemq::protocol;
+ using namespace apache::ppr::io;
+
+/*
+ *
+ * Command and marshalling code for OpenWire format for ConnectionId
+ *
+ *
+ * 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 ConnectionId : public BaseDataStructure
+{
+protected:
+ p<string> value ;
+
+public:
+ const static unsigned char TYPE = 120;
+
+public:
+ ConnectionId() ;
+ virtual ~ConnectionId() ;
+
+ virtual unsigned char getDataStructureType() ;
+
+ virtual p<string> getValue() ;
+ virtual void setValue(p<string> value) ;
+
+ virtual int marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> ostream) throw (IOException) ;
+ virtual void unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> istream) throw (IOException) ;
+} ;
+
+/* namespace */
+ }
+ }
+}
+
+#endif /*ActiveMQ_ConnectionId_hpp_*/
Propchange: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ConnectionId.hpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ConnectionInfo.hpp
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ConnectionInfo.hpp?rev=419371&r1=419370&r2=419371&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ConnectionInfo.hpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ConnectionInfo.hpp Wed Jul 5 15:36:36 2006
@@ -1,109 +1,109 @@
-/*
-* 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 ActiveMQ_ConnectionInfo_hpp_
-#define ActiveMQ_ConnectionInfo_hpp_
-
-// Turn off warning message for ignored exception specification
-#ifdef _MSC_VER
-#pragma warning( disable : 4290 )
-#endif
-
-#include <string>
-#include "activemq/command/BaseCommand.hpp"
-#include "activemq/command/ConnectionId.hpp"
-#include "activemq/command/BrokerId.hpp"
-
-#include "activemq/protocol/IMarshaller.hpp"
-#include "ppr/io/IOutputStream.hpp"
-#include "ppr/io/IInputStream.hpp"
-#include "ppr/io/IOException.hpp"
-#include "ppr/util/ifr/array"
-#include "ppr/util/ifr/p"
-
-namespace apache
-{
- namespace activemq
- {
- namespace command
- {
- using namespace ifr;
- using namespace std;
- using namespace apache::activemq;
- using namespace apache::activemq::protocol;
- using namespace apache::ppr::io;
-
-/*
- *
- * Command and marshalling code for OpenWire format for ConnectionInfo
- *
- *
- * 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 ConnectionInfo : public BaseCommand
-{
-protected:
- p<ConnectionId> connectionId ;
- p<string> clientId ;
- p<string> password ;
- p<string> userName ;
- array<BrokerId> brokerPath ;
- bool brokerMasterConnector ;
- bool manageable ;
-
-public:
- const static unsigned char TYPE = 3;
-
-public:
- ConnectionInfo() ;
- virtual ~ConnectionInfo() ;
-
- virtual unsigned char getDataStructureType() ;
-
- virtual p<ConnectionId> getConnectionId() ;
- virtual void setConnectionId(p<ConnectionId> connectionId) ;
-
- virtual p<string> getClientId() ;
- virtual void setClientId(p<string> clientId) ;
-
- virtual p<string> getPassword() ;
- virtual void setPassword(p<string> password) ;
-
- virtual p<string> getUserName() ;
- virtual void setUserName(p<string> userName) ;
-
- virtual array<BrokerId> getBrokerPath() ;
- virtual void setBrokerPath(array<BrokerId> brokerPath) ;
-
- virtual bool getBrokerMasterConnector() ;
- virtual void setBrokerMasterConnector(bool brokerMasterConnector) ;
-
- virtual bool getManageable() ;
- virtual void setManageable(bool manageable) ;
-
- virtual int marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> ostream) throw (IOException) ;
- virtual void unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> istream) throw (IOException) ;
-} ;
-
-/* namespace */
- }
- }
-}
-
-#endif /*ActiveMQ_ConnectionInfo_hpp_*/
+/*
+* 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 ActiveMQ_ConnectionInfo_hpp_
+#define ActiveMQ_ConnectionInfo_hpp_
+
+// Turn off warning message for ignored exception specification
+#ifdef _MSC_VER
+#pragma warning( disable : 4290 )
+#endif
+
+#include <string>
+#include "activemq/command/BaseCommand.hpp"
+#include "activemq/command/ConnectionId.hpp"
+#include "activemq/command/BrokerId.hpp"
+
+#include "activemq/protocol/IMarshaller.hpp"
+#include "ppr/io/IOutputStream.hpp"
+#include "ppr/io/IInputStream.hpp"
+#include "ppr/io/IOException.hpp"
+#include "ppr/util/ifr/array"
+#include "ppr/util/ifr/p"
+
+namespace apache
+{
+ namespace activemq
+ {
+ namespace command
+ {
+ using namespace ifr;
+ using namespace std;
+ using namespace apache::activemq;
+ using namespace apache::activemq::protocol;
+ using namespace apache::ppr::io;
+
+/*
+ *
+ * Command and marshalling code for OpenWire format for ConnectionInfo
+ *
+ *
+ * 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 ConnectionInfo : public BaseCommand
+{
+protected:
+ p<ConnectionId> connectionId ;
+ p<string> clientId ;
+ p<string> password ;
+ p<string> userName ;
+ array<BrokerId> brokerPath ;
+ bool brokerMasterConnector ;
+ bool manageable ;
+
+public:
+ const static unsigned char TYPE = 3;
+
+public:
+ ConnectionInfo() ;
+ virtual ~ConnectionInfo() ;
+
+ virtual unsigned char getDataStructureType() ;
+
+ virtual p<ConnectionId> getConnectionId() ;
+ virtual void setConnectionId(p<ConnectionId> connectionId) ;
+
+ virtual p<string> getClientId() ;
+ virtual void setClientId(p<string> clientId) ;
+
+ virtual p<string> getPassword() ;
+ virtual void setPassword(p<string> password) ;
+
+ virtual p<string> getUserName() ;
+ virtual void setUserName(p<string> userName) ;
+
+ virtual array<BrokerId> getBrokerPath() ;
+ virtual void setBrokerPath(array<BrokerId> brokerPath) ;
+
+ virtual bool getBrokerMasterConnector() ;
+ virtual void setBrokerMasterConnector(bool brokerMasterConnector) ;
+
+ virtual bool getManageable() ;
+ virtual void setManageable(bool manageable) ;
+
+ virtual int marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> ostream) throw (IOException) ;
+ virtual void unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> istream) throw (IOException) ;
+} ;
+
+/* namespace */
+ }
+ }
+}
+
+#endif /*ActiveMQ_ConnectionInfo_hpp_*/
Propchange: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ConnectionInfo.hpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ConsumerControl.hpp
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ConsumerControl.hpp?rev=419371&r1=419370&r2=419371&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ConsumerControl.hpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ConsumerControl.hpp Wed Jul 5 15:36:36 2006
@@ -1,92 +1,92 @@
-/*
-* 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 ActiveMQ_ConsumerControl_hpp_
-#define ActiveMQ_ConsumerControl_hpp_
-
-// Turn off warning message for ignored exception specification
-#ifdef _MSC_VER
-#pragma warning( disable : 4290 )
-#endif
-
-#include <string>
-#include "activemq/command/BaseCommand.hpp"
-#include "activemq/command/ConsumerId.hpp"
-
-#include "activemq/protocol/IMarshaller.hpp"
-#include "ppr/io/IOutputStream.hpp"
-#include "ppr/io/IInputStream.hpp"
-#include "ppr/io/IOException.hpp"
-#include "ppr/util/ifr/array"
-#include "ppr/util/ifr/p"
-
-namespace apache
-{
- namespace activemq
- {
- namespace command
- {
- using namespace ifr;
- using namespace std;
- using namespace apache::activemq;
- using namespace apache::activemq::protocol;
- using namespace apache::ppr::io;
-
-/*
- *
- * Command and marshalling code for OpenWire format for ConsumerControl
- *
- *
- * 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 ConsumerControl : public BaseCommand
-{
-protected:
- bool close ;
- p<ConsumerId> consumerId ;
- int prefetch ;
-
-public:
- const static unsigned char TYPE = 17;
-
-public:
- ConsumerControl() ;
- virtual ~ConsumerControl() ;
-
- virtual unsigned char getDataStructureType() ;
-
- virtual bool getClose() ;
- virtual void setClose(bool close) ;
-
- virtual p<ConsumerId> getConsumerId() ;
- virtual void setConsumerId(p<ConsumerId> consumerId) ;
-
- virtual int getPrefetch() ;
- virtual void setPrefetch(int prefetch) ;
-
- virtual int marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> ostream) throw (IOException) ;
- virtual void unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> istream) throw (IOException) ;
-} ;
-
-/* namespace */
- }
- }
-}
-
-#endif /*ActiveMQ_ConsumerControl_hpp_*/
+/*
+* 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 ActiveMQ_ConsumerControl_hpp_
+#define ActiveMQ_ConsumerControl_hpp_
+
+// Turn off warning message for ignored exception specification
+#ifdef _MSC_VER
+#pragma warning( disable : 4290 )
+#endif
+
+#include <string>
+#include "activemq/command/BaseCommand.hpp"
+#include "activemq/command/ConsumerId.hpp"
+
+#include "activemq/protocol/IMarshaller.hpp"
+#include "ppr/io/IOutputStream.hpp"
+#include "ppr/io/IInputStream.hpp"
+#include "ppr/io/IOException.hpp"
+#include "ppr/util/ifr/array"
+#include "ppr/util/ifr/p"
+
+namespace apache
+{
+ namespace activemq
+ {
+ namespace command
+ {
+ using namespace ifr;
+ using namespace std;
+ using namespace apache::activemq;
+ using namespace apache::activemq::protocol;
+ using namespace apache::ppr::io;
+
+/*
+ *
+ * Command and marshalling code for OpenWire format for ConsumerControl
+ *
+ *
+ * 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 ConsumerControl : public BaseCommand
+{
+protected:
+ bool close ;
+ p<ConsumerId> consumerId ;
+ int prefetch ;
+
+public:
+ const static unsigned char TYPE = 17;
+
+public:
+ ConsumerControl() ;
+ virtual ~ConsumerControl() ;
+
+ virtual unsigned char getDataStructureType() ;
+
+ virtual bool getClose() ;
+ virtual void setClose(bool close) ;
+
+ virtual p<ConsumerId> getConsumerId() ;
+ virtual void setConsumerId(p<ConsumerId> consumerId) ;
+
+ virtual int getPrefetch() ;
+ virtual void setPrefetch(int prefetch) ;
+
+ virtual int marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> ostream) throw (IOException) ;
+ virtual void unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> istream) throw (IOException) ;
+} ;
+
+/* namespace */
+ }
+ }
+}
+
+#endif /*ActiveMQ_ConsumerControl_hpp_*/
Propchange: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ConsumerControl.hpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ConsumerId.hpp
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ConsumerId.hpp?rev=419371&r1=419370&r2=419371&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ConsumerId.hpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ConsumerId.hpp Wed Jul 5 15:36:36 2006
@@ -1,91 +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 ActiveMQ_ConsumerId_hpp_
-#define ActiveMQ_ConsumerId_hpp_
-
-// Turn off warning message for ignored exception specification
-#ifdef _MSC_VER
-#pragma warning( disable : 4290 )
-#endif
-
-#include <string>
-#include "activemq/command/BaseDataStructure.hpp"
-
-#include "activemq/protocol/IMarshaller.hpp"
-#include "ppr/io/IOutputStream.hpp"
-#include "ppr/io/IInputStream.hpp"
-#include "ppr/io/IOException.hpp"
-#include "ppr/util/ifr/array"
-#include "ppr/util/ifr/p"
-
-namespace apache
-{
- namespace activemq
- {
- namespace command
- {
- using namespace ifr;
- using namespace std;
- using namespace apache::activemq;
- using namespace apache::activemq::protocol;
- using namespace apache::ppr::io;
-
-/*
- *
- * Command and marshalling code for OpenWire format for ConsumerId
- *
- *
- * 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 ConsumerId : public BaseDataStructure
-{
-protected:
- p<string> connectionId ;
- long long sessionId ;
- long long value ;
-
-public:
- const static unsigned char TYPE = 122;
-
-public:
- ConsumerId() ;
- virtual ~ConsumerId() ;
-
- virtual unsigned char getDataStructureType() ;
-
- virtual p<string> getConnectionId() ;
- virtual void setConnectionId(p<string> connectionId) ;
-
- virtual long long getSessionId() ;
- virtual void setSessionId(long long sessionId) ;
-
- virtual long long getValue() ;
- virtual void setValue(long long value) ;
-
- virtual int marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> ostream) throw (IOException) ;
- virtual void unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> istream) throw (IOException) ;
-} ;
-
-/* namespace */
- }
- }
-}
-
-#endif /*ActiveMQ_ConsumerId_hpp_*/
+/*
+* 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 ActiveMQ_ConsumerId_hpp_
+#define ActiveMQ_ConsumerId_hpp_
+
+// Turn off warning message for ignored exception specification
+#ifdef _MSC_VER
+#pragma warning( disable : 4290 )
+#endif
+
+#include <string>
+#include "activemq/command/BaseDataStructure.hpp"
+
+#include "activemq/protocol/IMarshaller.hpp"
+#include "ppr/io/IOutputStream.hpp"
+#include "ppr/io/IInputStream.hpp"
+#include "ppr/io/IOException.hpp"
+#include "ppr/util/ifr/array"
+#include "ppr/util/ifr/p"
+
+namespace apache
+{
+ namespace activemq
+ {
+ namespace command
+ {
+ using namespace ifr;
+ using namespace std;
+ using namespace apache::activemq;
+ using namespace apache::activemq::protocol;
+ using namespace apache::ppr::io;
+
+/*
+ *
+ * Command and marshalling code for OpenWire format for ConsumerId
+ *
+ *
+ * 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 ConsumerId : public BaseDataStructure
+{
+protected:
+ p<string> connectionId ;
+ long long sessionId ;
+ long long value ;
+
+public:
+ const static unsigned char TYPE = 122;
+
+public:
+ ConsumerId() ;
+ virtual ~ConsumerId() ;
+
+ virtual unsigned char getDataStructureType() ;
+
+ virtual p<string> getConnectionId() ;
+ virtual void setConnectionId(p<string> connectionId) ;
+
+ virtual long long getSessionId() ;
+ virtual void setSessionId(long long sessionId) ;
+
+ virtual long long getValue() ;
+ virtual void setValue(long long value) ;
+
+ virtual int marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> ostream) throw (IOException) ;
+ virtual void unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> istream) throw (IOException) ;
+} ;
+
+/* namespace */
+ }
+ }
+}
+
+#endif /*ActiveMQ_ConsumerId_hpp_*/
Propchange: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ConsumerId.hpp
------------------------------------------------------------------------------
svn:eol-style = native