activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r379623 [13/18] - in /incubator/activemq/trunk: ./ activecluster/ activecluster/src/java/org/apache/activecluster/ activecluster/src/java/org/apache/activecluster/group/ activecluster/src/java/org/apache/activecluster/impl/ activeio/ active...
Date Tue, 21 Feb 2006 23:29:06 GMT
Modified: incubator/activemq/trunk/openwire-cpp/src/command/AbstractCommand.cpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/AbstractCommand.cpp?rev=379623&r1=379622&r2=379623&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/AbstractCommand.cpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/command/AbstractCommand.cpp Tue Feb 21 15:28:33 2006
@@ -1,116 +1,116 @@
-/*
- * 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 <string.h>
-#include "command/AbstractCommand.hpp"
-#include "command/ActiveMQMessage.hpp"
-#include "command/ActiveMQTextMessage.hpp"
-#include "command/MessageAck.hpp"
-#include "command/Response.hpp"
-#include "command/ConsumerInfo.hpp"
-#include "command/ProducerInfo.hpp"
-#include "command/BrokerInfo.hpp"
-#include "command/ConnectionInfo.hpp"
-#include "command/RemoveInfo.hpp"
-#include "command/SessionInfo.hpp"
-
-using namespace apache::activemq::client::command;
-
-/*
- * 
- */
-AbstractCommand::AbstractCommand()
-{
-}
-
-AbstractCommand::~AbstractCommand()
-{
-}
-
-int AbstractCommand::getCommandType()
-{
-    return 0 ; 
-}
-
-p<string> AbstractCommand::getCommandTypeAsString(int type)
-{
-    p<string> packetType = new string() ;
-
-    switch( type )
-    {
-        case ActiveMQMessage::TYPE:
-            packetType->assign("ACTIVEMQ_MESSAGE") ;
-            break ;
-        case ActiveMQTextMessage::TYPE:
-            packetType->assign("ACTIVEMQ_TEXT_MESSAGE") ;
-            break ;
-//        case ActiveMQObjectMessage::TYPE:
-//            packetType->assign("ACTIVEMQ_OBJECT_MESSAGE") ;
-//            break ;
-//        case ActiveMQBytesMessage::TYPE:
-//            packetType->assign("ACTIVEMQ_BYTES_MESSAGE") ;
-//            break ;
-//        case ActiveMQStreamMessage::TYPE:
-//            packetType->assign("ACTIVEMQ_STREAM_MESSAGE") ;
-//            break ;
-//        case ActiveMQMapMessage::TYPE:
-//            packetType->assign("ACTIVEMQ_MAP_MESSAGE") ;
-//            break ;
-        case MessageAck::TYPE:
-            packetType->assign("ACTIVEMQ_MSG_ACK") ;
-            break ;
-        case Response::TYPE:
-            packetType->assign("RESPONSE") ;
-            break ;
-        case ConsumerInfo::TYPE:
-            packetType->assign("CONSUMER_INFO") ;
-            break ;
-        case ProducerInfo::TYPE:
-            packetType->assign("PRODUCER_INFO") ;
-            break;
-//        case TransactionInfo::TYPE:
-//            packetType->assign("TRANSACTION_INFO") ;
-//            break ;
-        case BrokerInfo::TYPE:
-            packetType->assign("BROKER_INFO") ;
-            break ;
-        case ConnectionInfo::TYPE:
-            packetType->assign("CONNECTION_INFO") ;
-            break ;
-        case SessionInfo::TYPE:
-            packetType->assign("SESSION_INFO") ;
-            break ;
-//        case RemoveSubscriptionInfo::TYPE:
-//            packetType->assign("DURABLE_UNSUBSCRIBE") ;
-//            break ;
-//        case IntegerResponse::TYPE:
-//            packetType->assign("INT_RESPONSE_RECEIPT_INFO") ;
-//            break ;
-//        case WireFormatInfo::TYPE:
-//            packetType->assign("WIRE_FORMAT_INFO") ;
-//            break ;
-        case RemoveInfo::TYPE:
-            packetType->assign("REMOVE_INFO") ;
-            break ;
-//        case KeepAliveInfo::TYPE:
-//            packetType->assign("KEEP_ALIVE") ;
-//            break ;
-        default:
-            packetType->assign("UNDEFINED") ;
-            break ;
-    }
-    return packetType ;
-}
+/*
+ * 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 <string.h>
+#include "command/AbstractCommand.hpp"
+#include "command/ActiveMQMessage.hpp"
+#include "command/ActiveMQTextMessage.hpp"
+#include "command/MessageAck.hpp"
+#include "command/Response.hpp"
+#include "command/ConsumerInfo.hpp"
+#include "command/ProducerInfo.hpp"
+#include "command/BrokerInfo.hpp"
+#include "command/ConnectionInfo.hpp"
+#include "command/RemoveInfo.hpp"
+#include "command/SessionInfo.hpp"
+
+using namespace apache::activemq::client::command;
+
+/*
+ * 
+ */
+AbstractCommand::AbstractCommand()
+{
+}
+
+AbstractCommand::~AbstractCommand()
+{
+}
+
+int AbstractCommand::getCommandType()
+{
+    return 0 ; 
+}
+
+p<string> AbstractCommand::getCommandTypeAsString(int type)
+{
+    p<string> packetType = new string() ;
+
+    switch( type )
+    {
+        case ActiveMQMessage::TYPE:
+            packetType->assign("ACTIVEMQ_MESSAGE") ;
+            break ;
+        case ActiveMQTextMessage::TYPE:
+            packetType->assign("ACTIVEMQ_TEXT_MESSAGE") ;
+            break ;
+//        case ActiveMQObjectMessage::TYPE:
+//            packetType->assign("ACTIVEMQ_OBJECT_MESSAGE") ;
+//            break ;
+//        case ActiveMQBytesMessage::TYPE:
+//            packetType->assign("ACTIVEMQ_BYTES_MESSAGE") ;
+//            break ;
+//        case ActiveMQStreamMessage::TYPE:
+//            packetType->assign("ACTIVEMQ_STREAM_MESSAGE") ;
+//            break ;
+//        case ActiveMQMapMessage::TYPE:
+//            packetType->assign("ACTIVEMQ_MAP_MESSAGE") ;
+//            break ;
+        case MessageAck::TYPE:
+            packetType->assign("ACTIVEMQ_MSG_ACK") ;
+            break ;
+        case Response::TYPE:
+            packetType->assign("RESPONSE") ;
+            break ;
+        case ConsumerInfo::TYPE:
+            packetType->assign("CONSUMER_INFO") ;
+            break ;
+        case ProducerInfo::TYPE:
+            packetType->assign("PRODUCER_INFO") ;
+            break;
+//        case TransactionInfo::TYPE:
+//            packetType->assign("TRANSACTION_INFO") ;
+//            break ;
+        case BrokerInfo::TYPE:
+            packetType->assign("BROKER_INFO") ;
+            break ;
+        case ConnectionInfo::TYPE:
+            packetType->assign("CONNECTION_INFO") ;
+            break ;
+        case SessionInfo::TYPE:
+            packetType->assign("SESSION_INFO") ;
+            break ;
+//        case RemoveSubscriptionInfo::TYPE:
+//            packetType->assign("DURABLE_UNSUBSCRIBE") ;
+//            break ;
+//        case IntegerResponse::TYPE:
+//            packetType->assign("INT_RESPONSE_RECEIPT_INFO") ;
+//            break ;
+//        case WireFormatInfo::TYPE:
+//            packetType->assign("WIRE_FORMAT_INFO") ;
+//            break ;
+        case RemoveInfo::TYPE:
+            packetType->assign("REMOVE_INFO") ;
+            break ;
+//        case KeepAliveInfo::TYPE:
+//            packetType->assign("KEEP_ALIVE") ;
+//            break ;
+        default:
+            packetType->assign("UNDEFINED") ;
+            break ;
+    }
+    return packetType ;
+}

Propchange: incubator/activemq/trunk/openwire-cpp/src/command/AbstractCommand.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/activemq/trunk/openwire-cpp/src/command/AbstractCommand.hpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/AbstractCommand.hpp?rev=379623&r1=379622&r2=379623&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/AbstractCommand.hpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/command/AbstractCommand.hpp Tue Feb 21 15:28:33 2006
@@ -1,57 +1,57 @@
-/*
- * 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 AbstractCommand_hpp_
-#define AbstractCommand_hpp_
-
-#include <string>
-#include "command/ICommand.hpp"
-#include "util/ifr/p"
-
-namespace apache
-{
-  namespace activemq
-  {
-    namespace client
-    {
-      namespace command
-      {
-        using namespace ifr;
-        using namespace std;
-
-/*
- * 
- */
-class AbstractCommand : public ICommand
-{
-protected:
-    AbstractCommand() ;
-
-public:
-    ~AbstractCommand() ;
-
-    virtual int getCommandType() ;
-
-    static p<string> getCommandTypeAsString(int type) ;
-} ;
-
-/* namespace */
-      }
-    }
-  }
-}
-
-#endif /*AbstractCommand_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 AbstractCommand_hpp_
+#define AbstractCommand_hpp_
+
+#include <string>
+#include "command/ICommand.hpp"
+#include "util/ifr/p"
+
+namespace apache
+{
+  namespace activemq
+  {
+    namespace client
+    {
+      namespace command
+      {
+        using namespace ifr;
+        using namespace std;
+
+/*
+ * 
+ */
+class AbstractCommand : public ICommand
+{
+protected:
+    AbstractCommand() ;
+
+public:
+    ~AbstractCommand() ;
+
+    virtual int getCommandType() ;
+
+    static p<string> getCommandTypeAsString(int type) ;
+} ;
+
+/* namespace */
+      }
+    }
+  }
+}
+
+#endif /*AbstractCommand_hpp_*/

Propchange: incubator/activemq/trunk/openwire-cpp/src/command/AbstractCommand.hpp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/activemq/trunk/openwire-cpp/src/command/ActiveMQDestination.cpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/ActiveMQDestination.cpp?rev=379623&r1=379622&r2=379623&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/ActiveMQDestination.cpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/command/ActiveMQDestination.cpp Tue Feb 21 15:28:33 2006
@@ -1,30 +1,30 @@
-/*
- * 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/ActiveMQDestination.hpp"
-
-using namespace apache::activemq::client::command;
-
-/*
- * Dummy, should be auto-generated
- */
-ActiveMQDestination::ActiveMQDestination()
-{
-}
-
-ActiveMQDestination::~ActiveMQDestination()
-{
-}
+/*
+ * 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/ActiveMQDestination.hpp"
+
+using namespace apache::activemq::client::command;
+
+/*
+ * Dummy, should be auto-generated
+ */
+ActiveMQDestination::ActiveMQDestination()
+{
+}
+
+ActiveMQDestination::~ActiveMQDestination()
+{
+}

Propchange: incubator/activemq/trunk/openwire-cpp/src/command/ActiveMQDestination.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/activemq/trunk/openwire-cpp/src/command/ActiveMQDestination.hpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/ActiveMQDestination.hpp?rev=379623&r1=379622&r2=379623&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/ActiveMQDestination.hpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/command/ActiveMQDestination.hpp Tue Feb 21 15:28:33 2006
@@ -1,49 +1,49 @@
-/*
- * 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 ActiveMQDestination_hpp_
-#define ActiveMQDestination_hpp_
-
-#include "IDestination.hpp"
-#include "command/AbstractCommand.hpp"
-
-namespace apache
-{
-  namespace activemq
-  {
-    namespace client
-    {
-      namespace command
-      {
-        using namespace apache::activemq::client;
-
-/*
- * Dummy, should be auto-generated.
- */
-class ActiveMQDestination : public AbstractCommand, IDestination
-{
-public:
-    ActiveMQDestination() ;
-    virtual ~ActiveMQDestination() ;
-} ;
-
-/* namespace */
-      }
-    }
-  }
-}
-
+/*
+ * 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 ActiveMQDestination_hpp_
+#define ActiveMQDestination_hpp_
+
+#include "IDestination.hpp"
+#include "command/AbstractCommand.hpp"
+
+namespace apache
+{
+  namespace activemq
+  {
+    namespace client
+    {
+      namespace command
+      {
+        using namespace apache::activemq::client;
+
+/*
+ * Dummy, should be auto-generated.
+ */
+class ActiveMQDestination : public AbstractCommand, IDestination
+{
+public:
+    ActiveMQDestination() ;
+    virtual ~ActiveMQDestination() ;
+} ;
+
+/* namespace */
+      }
+    }
+  }
+}
+
 #endif /*ActiveMQDestination_hpp_*/

Propchange: incubator/activemq/trunk/openwire-cpp/src/command/ActiveMQDestination.hpp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/activemq/trunk/openwire-cpp/src/command/ActiveMQMessage.cpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/ActiveMQMessage.cpp?rev=379623&r1=379622&r2=379623&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/ActiveMQMessage.cpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/command/ActiveMQMessage.cpp Tue Feb 21 15:28:33 2006
@@ -1,50 +1,50 @@
-/*
- * 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/ActiveMQMessage.hpp"
-
-using namespace apache::activemq::client::command;
-
-/*
- * Dummy, should be auto-generated
- */
-ActiveMQMessage::ActiveMQMessage()
-{
-    destination = NULL ;
-}
-
-ActiveMQMessage::ActiveMQMessage(const char* name)
-{
-}
-
-ActiveMQMessage::~ActiveMQMessage()
-{
-}
-
-p<IDestination> ActiveMQMessage::getFromDestination()
-{
-    return destination ;
-}
-
-void ActiveMQMessage::setFromDestination(p<IDestination> destination)
-{
-    this->destination = destination ;
-}
-
-p<ActiveMQMessage> ActiveMQMessage::transform(p<IMessage> message)
-{
-    return (p<ActiveMQMessage>&)message ;
-}
+/*
+ * 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/ActiveMQMessage.hpp"
+
+using namespace apache::activemq::client::command;
+
+/*
+ * Dummy, should be auto-generated
+ */
+ActiveMQMessage::ActiveMQMessage()
+{
+    destination = NULL ;
+}
+
+ActiveMQMessage::ActiveMQMessage(const char* name)
+{
+}
+
+ActiveMQMessage::~ActiveMQMessage()
+{
+}
+
+p<IDestination> ActiveMQMessage::getFromDestination()
+{
+    return destination ;
+}
+
+void ActiveMQMessage::setFromDestination(p<IDestination> destination)
+{
+    this->destination = destination ;
+}
+
+p<ActiveMQMessage> ActiveMQMessage::transform(p<IMessage> message)
+{
+    return (p<ActiveMQMessage>&)message ;
+}

Propchange: incubator/activemq/trunk/openwire-cpp/src/command/ActiveMQMessage.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/activemq/trunk/openwire-cpp/src/command/ActiveMQMessage.hpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/ActiveMQMessage.hpp?rev=379623&r1=379622&r2=379623&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/ActiveMQMessage.hpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/command/ActiveMQMessage.hpp Tue Feb 21 15:28:33 2006
@@ -1,65 +1,65 @@
-/*
- * 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 ActiveMQMessage_hpp_
-#define ActiveMQMessage_hpp_
-
-#include <string>
-#include "IDestination.hpp"
-#include "IMessage.hpp"
-#include "command/Message.hpp"
-#include "util/ifr/p"
-
-namespace apache
-{
-  namespace activemq
-  {
-    namespace client
-    {
-      namespace command
-      {
-        using namespace ifr;
-        using namespace apache::activemq::client;
-
-/*
- * Dummy, should be auto-generated.
- */
-class ActiveMQMessage : public Message, IMessage
-{
-private:
-    p<IDestination> destination ;
-
-public:
-    const static int TYPE = 23 ;
-
-public:
-    ActiveMQMessage() ;
-    ActiveMQMessage(const char* name) ;
-    virtual ~ActiveMQMessage() ;
-
-    virtual p<IDestination> getFromDestination() ;
-    virtual void setFromDestination(p<IDestination> destination) ;
-
-    static p<ActiveMQMessage> transform(p<IMessage> message) ;
-} ;
-
-/* namespace */
-      }
-    }
-  }
-}
-
+/*
+ * 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 ActiveMQMessage_hpp_
+#define ActiveMQMessage_hpp_
+
+#include <string>
+#include "IDestination.hpp"
+#include "IMessage.hpp"
+#include "command/Message.hpp"
+#include "util/ifr/p"
+
+namespace apache
+{
+  namespace activemq
+  {
+    namespace client
+    {
+      namespace command
+      {
+        using namespace ifr;
+        using namespace apache::activemq::client;
+
+/*
+ * Dummy, should be auto-generated.
+ */
+class ActiveMQMessage : public Message, IMessage
+{
+private:
+    p<IDestination> destination ;
+
+public:
+    const static int TYPE = 23 ;
+
+public:
+    ActiveMQMessage() ;
+    ActiveMQMessage(const char* name) ;
+    virtual ~ActiveMQMessage() ;
+
+    virtual p<IDestination> getFromDestination() ;
+    virtual void setFromDestination(p<IDestination> destination) ;
+
+    static p<ActiveMQMessage> transform(p<IMessage> message) ;
+} ;
+
+/* namespace */
+      }
+    }
+  }
+}
+
 #endif /*ActiveMQMessage_hpp_*/

Propchange: incubator/activemq/trunk/openwire-cpp/src/command/ActiveMQMessage.hpp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/activemq/trunk/openwire-cpp/src/command/ActiveMQQueue.cpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/ActiveMQQueue.cpp?rev=379623&r1=379622&r2=379623&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/ActiveMQQueue.cpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/command/ActiveMQQueue.cpp Tue Feb 21 15:28:33 2006
@@ -1,34 +1,34 @@
-/*
- * 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/ActiveMQQueue.hpp"
-
-using namespace apache::activemq::client::command;
-
-/*
- * Dummy, should be auto-generated
- */
-ActiveMQQueue::ActiveMQQueue()
-{
-}
-
-ActiveMQQueue::ActiveMQQueue(const char* name)
-{
-}
-
-ActiveMQQueue::~ActiveMQQueue()
-{
-}
+/*
+ * 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/ActiveMQQueue.hpp"
+
+using namespace apache::activemq::client::command;
+
+/*
+ * Dummy, should be auto-generated
+ */
+ActiveMQQueue::ActiveMQQueue()
+{
+}
+
+ActiveMQQueue::ActiveMQQueue(const char* name)
+{
+}
+
+ActiveMQQueue::~ActiveMQQueue()
+{
+}

Propchange: incubator/activemq/trunk/openwire-cpp/src/command/ActiveMQQueue.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/activemq/trunk/openwire-cpp/src/command/ActiveMQQueue.hpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/ActiveMQQueue.hpp?rev=379623&r1=379622&r2=379623&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/ActiveMQQueue.hpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/command/ActiveMQQueue.hpp Tue Feb 21 15:28:33 2006
@@ -1,48 +1,48 @@
-/*
- * 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 ActiveMQQueue_hpp_
-#define ActiveMQQueue_hpp_
-
-#include "command/ActiveMQDestination.hpp"
-
-namespace apache
-{
-  namespace activemq
-  {
-    namespace client
-    {
-      namespace command
-      {
-
-/*
- * Dummy, should be auto-generated.
- */
-class ActiveMQQueue : public ActiveMQDestination
-{
-public:
-    ActiveMQQueue() ;
-    ActiveMQQueue(const char* name) ;
-    virtual ~ActiveMQQueue() ;
-} ;
-
-/* namespace */
-      }
-    }
-  }
-}
-
+/*
+ * 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 ActiveMQQueue_hpp_
+#define ActiveMQQueue_hpp_
+
+#include "command/ActiveMQDestination.hpp"
+
+namespace apache
+{
+  namespace activemq
+  {
+    namespace client
+    {
+      namespace command
+      {
+
+/*
+ * Dummy, should be auto-generated.
+ */
+class ActiveMQQueue : public ActiveMQDestination
+{
+public:
+    ActiveMQQueue() ;
+    ActiveMQQueue(const char* name) ;
+    virtual ~ActiveMQQueue() ;
+} ;
+
+/* namespace */
+      }
+    }
+  }
+}
+
 #endif /*ActiveMQQueue_hpp_*/

Propchange: incubator/activemq/trunk/openwire-cpp/src/command/ActiveMQQueue.hpp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/activemq/trunk/openwire-cpp/src/command/ActiveMQTextMessage.cpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/ActiveMQTextMessage.cpp?rev=379623&r1=379622&r2=379623&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/ActiveMQTextMessage.cpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/command/ActiveMQTextMessage.cpp Tue Feb 21 15:28:33 2006
@@ -1,35 +1,35 @@
-/*
- * 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/ActiveMQTextMessage.hpp"
-
-using namespace apache::activemq::client::command;
-
-/*
- * Dummy, should be auto-generated
- */
-ActiveMQTextMessage::ActiveMQTextMessage()
-{
-}
-
-ActiveMQTextMessage::ActiveMQTextMessage(const char* name)
-   : ActiveMQMessage(name)
-{
-}
-
-ActiveMQTextMessage::~ActiveMQTextMessage()
-{
-}
+/*
+ * 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/ActiveMQTextMessage.hpp"
+
+using namespace apache::activemq::client::command;
+
+/*
+ * Dummy, should be auto-generated
+ */
+ActiveMQTextMessage::ActiveMQTextMessage()
+{
+}
+
+ActiveMQTextMessage::ActiveMQTextMessage(const char* name)
+   : ActiveMQMessage(name)
+{
+}
+
+ActiveMQTextMessage::~ActiveMQTextMessage()
+{
+}

Propchange: incubator/activemq/trunk/openwire-cpp/src/command/ActiveMQTextMessage.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/activemq/trunk/openwire-cpp/src/command/ActiveMQTextMessage.hpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/ActiveMQTextMessage.hpp?rev=379623&r1=379622&r2=379623&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/ActiveMQTextMessage.hpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/command/ActiveMQTextMessage.hpp Tue Feb 21 15:28:33 2006
@@ -1,51 +1,51 @@
-/*
- * 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 ActiveMQTextMessage_hpp_
-#define ActiveMQTextMessage_hpp_
-
-#include "ActiveMQMessage.hpp"
-
-namespace apache
-{
-  namespace activemq
-  {
-    namespace client
-    {
-      namespace command
-      {
-
-/*
- * Dummy, should be auto-generated.
- */
-class ActiveMQTextMessage : public ActiveMQMessage
-{
-public:
-    const static int TYPE = 28 ;
-
-public:
-    ActiveMQTextMessage() ;
-    ActiveMQTextMessage(const char* name) ;
-    virtual ~ActiveMQTextMessage() ;
-} ;
-
-/* namespace */
-      }
-    }
-  }
-}
-
+/*
+ * 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 ActiveMQTextMessage_hpp_
+#define ActiveMQTextMessage_hpp_
+
+#include "ActiveMQMessage.hpp"
+
+namespace apache
+{
+  namespace activemq
+  {
+    namespace client
+    {
+      namespace command
+      {
+
+/*
+ * Dummy, should be auto-generated.
+ */
+class ActiveMQTextMessage : public ActiveMQMessage
+{
+public:
+    const static int TYPE = 28 ;
+
+public:
+    ActiveMQTextMessage() ;
+    ActiveMQTextMessage(const char* name) ;
+    virtual ~ActiveMQTextMessage() ;
+} ;
+
+/* namespace */
+      }
+    }
+  }
+}
+
 #endif /*ActiveMQTextMessage_hpp_*/

Propchange: incubator/activemq/trunk/openwire-cpp/src/command/ActiveMQTextMessage.hpp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/activemq/trunk/openwire-cpp/src/command/ActiveMQTopic.cpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/ActiveMQTopic.cpp?rev=379623&r1=379622&r2=379623&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/ActiveMQTopic.cpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/command/ActiveMQTopic.cpp Tue Feb 21 15:28:33 2006
@@ -1,34 +1,34 @@
-/*
- * 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/ActiveMQTopic.hpp"
-
-using namespace apache::activemq::client::command;
-
-/*
- * Dummy, should be auto-generated
- */
-ActiveMQTopic::ActiveMQTopic()
-{
-}
-
-ActiveMQTopic::ActiveMQTopic(const char* name)
-{
-}
-
-ActiveMQTopic::~ActiveMQTopic()
-{
-}
+/*
+ * 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/ActiveMQTopic.hpp"
+
+using namespace apache::activemq::client::command;
+
+/*
+ * Dummy, should be auto-generated
+ */
+ActiveMQTopic::ActiveMQTopic()
+{
+}
+
+ActiveMQTopic::ActiveMQTopic(const char* name)
+{
+}
+
+ActiveMQTopic::~ActiveMQTopic()
+{
+}

Propchange: incubator/activemq/trunk/openwire-cpp/src/command/ActiveMQTopic.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/activemq/trunk/openwire-cpp/src/command/ActiveMQTopic.hpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/ActiveMQTopic.hpp?rev=379623&r1=379622&r2=379623&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/ActiveMQTopic.hpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/command/ActiveMQTopic.hpp Tue Feb 21 15:28:33 2006
@@ -1,48 +1,48 @@
-/*
- * 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 ActiveMQTopic_hpp_
-#define ActiveMQTopic_hpp_
-
-#include "command/ActiveMQDestination.hpp"
-
-namespace apache
-{
-  namespace activemq
-  {
-    namespace client
-    {
-      namespace command
-      {
-
-/*
- * Dummy, should be auto-generated.
- */
-class ActiveMQTopic : public ActiveMQDestination
-{
-public:
-    ActiveMQTopic() ;
-    ActiveMQTopic(const char* name) ;
-    virtual ~ActiveMQTopic() ;
-} ;
-
-/* namespace */
-      }
-    }
-  }
-}
-
+/*
+ * 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 ActiveMQTopic_hpp_
+#define ActiveMQTopic_hpp_
+
+#include "command/ActiveMQDestination.hpp"
+
+namespace apache
+{
+  namespace activemq
+  {
+    namespace client
+    {
+      namespace command
+      {
+
+/*
+ * Dummy, should be auto-generated.
+ */
+class ActiveMQTopic : public ActiveMQDestination
+{
+public:
+    ActiveMQTopic() ;
+    ActiveMQTopic(const char* name) ;
+    virtual ~ActiveMQTopic() ;
+} ;
+
+/* namespace */
+      }
+    }
+  }
+}
+
 #endif /*ActiveMQTopic_hpp_*/

Propchange: incubator/activemq/trunk/openwire-cpp/src/command/ActiveMQTopic.hpp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/activemq/trunk/openwire-cpp/src/command/BaseCommand.cpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/BaseCommand.cpp?rev=379623&r1=379622&r2=379623&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/BaseCommand.cpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/command/BaseCommand.cpp Tue Feb 21 15:28:33 2006
@@ -1,95 +1,95 @@
-/*
- * 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/BaseCommand.hpp"
-
-using namespace apache::activemq::client::command;
-
-// Constructors -----------------------------------------------------
-
-/*
- * 
- */
-BaseCommand::BaseCommand()
-{
-}
-
-BaseCommand::~BaseCommand()
-{
-}
-
-
-// Attribute methods ------------------------------------------------
-
-int BaseCommand::getHashCode()
-{
-    return commandId ;
-}
-
-int BaseCommand::getCommandType()
-{
-    return BaseCommand::TYPE ;
-}
-
-int BaseCommand::getCommandId()
-{
-    return commandId ;
-}
-
-void BaseCommand::setCommandId(int id)
-{
-    commandId = id ;
-}
-
-bool BaseCommand::isResponseRequired()
-{
-    return responseRequired ;
-}
-
-void BaseCommand::setResponseRequired(bool required)
-{
-    responseRequired = required ;
-}
-
-
-// Operation methods ------------------------------------------------
-
-bool BaseCommand::operator== (BaseCommand& other)
-{
-    if( getCommandType() == other.getCommandType() &&
-        commandId == other.commandId &&
-        responseRequired == other.responseRequired )
-    {
-        return true ;
-    }
-    return false ;
-}
-
-p<string> BaseCommand::toString()
-{
-    p<string> str = new string() ;
-    char      buffer[5] ;
-    
-    str->assign( getCommandTypeAsString( getCommandType() )->c_str() ) ;
-
-    if( str->length() == 0 )
-        str->assign("") ;
-
-    str->append(": id = ") ;
-    str->append( itoa(getCommandId(), buffer, 10) ) ;
-
-    return str ;
-}
+/*
+ * 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/BaseCommand.hpp"
+
+using namespace apache::activemq::client::command;
+
+// Constructors -----------------------------------------------------
+
+/*
+ * 
+ */
+BaseCommand::BaseCommand()
+{
+}
+
+BaseCommand::~BaseCommand()
+{
+}
+
+
+// Attribute methods ------------------------------------------------
+
+int BaseCommand::getHashCode()
+{
+    return commandId ;
+}
+
+int BaseCommand::getCommandType()
+{
+    return BaseCommand::TYPE ;
+}
+
+int BaseCommand::getCommandId()
+{
+    return commandId ;
+}
+
+void BaseCommand::setCommandId(int id)
+{
+    commandId = id ;
+}
+
+bool BaseCommand::isResponseRequired()
+{
+    return responseRequired ;
+}
+
+void BaseCommand::setResponseRequired(bool required)
+{
+    responseRequired = required ;
+}
+
+
+// Operation methods ------------------------------------------------
+
+bool BaseCommand::operator== (BaseCommand& other)
+{
+    if( getCommandType() == other.getCommandType() &&
+        commandId == other.commandId &&
+        responseRequired == other.responseRequired )
+    {
+        return true ;
+    }
+    return false ;
+}
+
+p<string> BaseCommand::toString()
+{
+    p<string> str = new string() ;
+    char      buffer[5] ;
+    
+    str->assign( getCommandTypeAsString( getCommandType() )->c_str() ) ;
+
+    if( str->length() == 0 )
+        str->assign("") ;
+
+    str->append(": id = ") ;
+    str->append( itoa(getCommandId(), buffer, 10) ) ;
+
+    return str ;
+}

Propchange: incubator/activemq/trunk/openwire-cpp/src/command/BaseCommand.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/activemq/trunk/openwire-cpp/src/command/BaseCommand.hpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/BaseCommand.hpp?rev=379623&r1=379622&r2=379623&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/BaseCommand.hpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/command/BaseCommand.hpp Tue Feb 21 15:28:33 2006
@@ -1,69 +1,69 @@
-/*
- * 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 BaseCommand_hpp_
-#define BaseCommand_hpp_
-
-#include <string>
-#include "command/AbstractCommand.hpp"
-#include "util/ifr/p"
-
-namespace apache
-{
-  namespace activemq
-  {
-    namespace client
-    {
-      namespace command
-      {
-        using namespace ifr;
-        using namespace std;
-
-/*
- * 
- */
-class BaseCommand : public AbstractCommand
-{
-private:
-    int  commandId ;
-    bool responseRequired ;
-
-public:
-    const static int TYPE = 0 ;
-
-public:
-    BaseCommand() ;
-    virtual ~BaseCommand() ;
-
-    // Equals operator
-    bool operator== (BaseCommand& other) ;
-
-    virtual int getHashCode() ;
-    virtual int getCommandType() ;
-    virtual int getCommandId() ;
-    virtual void setCommandId(int id) ;
-    virtual bool isResponseRequired() ;
-    virtual void setResponseRequired(bool required) ;
-    virtual p<string> toString() ;
-};
-
-/* namespace */
-      }
-    }
-  }
-}
-
+/*
+ * 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 BaseCommand_hpp_
+#define BaseCommand_hpp_
+
+#include <string>
+#include "command/AbstractCommand.hpp"
+#include "util/ifr/p"
+
+namespace apache
+{
+  namespace activemq
+  {
+    namespace client
+    {
+      namespace command
+      {
+        using namespace ifr;
+        using namespace std;
+
+/*
+ * 
+ */
+class BaseCommand : public AbstractCommand
+{
+private:
+    int  commandId ;
+    bool responseRequired ;
+
+public:
+    const static int TYPE = 0 ;
+
+public:
+    BaseCommand() ;
+    virtual ~BaseCommand() ;
+
+    // Equals operator
+    bool operator== (BaseCommand& other) ;
+
+    virtual int getHashCode() ;
+    virtual int getCommandType() ;
+    virtual int getCommandId() ;
+    virtual void setCommandId(int id) ;
+    virtual bool isResponseRequired() ;
+    virtual void setResponseRequired(bool required) ;
+    virtual p<string> toString() ;
+};
+
+/* namespace */
+      }
+    }
+  }
+}
+
 #endif /*BaseCommand_hpp_*/

Propchange: incubator/activemq/trunk/openwire-cpp/src/command/BaseCommand.hpp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/activemq/trunk/openwire-cpp/src/command/BrokerId.cpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/BrokerId.cpp?rev=379623&r1=379622&r2=379623&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/BrokerId.cpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/command/BrokerId.cpp Tue Feb 21 15:28:33 2006
@@ -1,47 +1,47 @@
-/*
- * 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/BrokerId.hpp"
-
-using namespace apache::activemq::client::command;
-
-/*
- *
- */
-BrokerId::BrokerId()
-{
-    value = new string() ;
-}
-
-BrokerId::~BrokerId()
-{
-    // no-op
-}
-
-int BrokerId::getCommandType()
-{
-    return BrokerId::TYPE ;
-}
-
-p<string> BrokerId::getValue()
-{
-    return value ;
-}
-
-void BrokerId::setValue(const char* brokerId)
-{
-    this->value->assign( brokerId ) ;
-}
+/*
+ * 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/BrokerId.hpp"
+
+using namespace apache::activemq::client::command;
+
+/*
+ *
+ */
+BrokerId::BrokerId()
+{
+    value = new string() ;
+}
+
+BrokerId::~BrokerId()
+{
+    // no-op
+}
+
+int BrokerId::getCommandType()
+{
+    return BrokerId::TYPE ;
+}
+
+p<string> BrokerId::getValue()
+{
+    return value ;
+}
+
+void BrokerId::setValue(const char* brokerId)
+{
+    this->value->assign( brokerId ) ;
+}

Propchange: incubator/activemq/trunk/openwire-cpp/src/command/BrokerId.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/activemq/trunk/openwire-cpp/src/command/BrokerId.hpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/BrokerId.hpp?rev=379623&r1=379622&r2=379623&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/BrokerId.hpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/command/BrokerId.hpp Tue Feb 21 15:28:33 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 BrokerId_hpp_
-#define BrokerId_hpp_
-
-#include <string>
-#include "command/AbstractCommand.hpp"
-#include "util/ifr/p"
-
-namespace apache
-{
-  namespace activemq
-  {
-    namespace client
-    {
-      namespace command
-      {
-        using namespace ifr;
-        using namespace std ;
-
-/*
- *
- */
-class BrokerId : public AbstractCommand
-{
-private:
-    p<string> value ;
-
-public:
-    const static char TYPE = 124 ;
-
-public:
-    BrokerId() ;
-    virtual ~BrokerId() ;
-
-    virtual int getCommandType() ;
-    virtual p<string> getValue() ;
-    virtual void setValue(const char* brokerId) ;
-} ;
-
-/* namespace */
-      }
-    }
-  }
-}
-
+/*
+ * 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 BrokerId_hpp_
+#define BrokerId_hpp_
+
+#include <string>
+#include "command/AbstractCommand.hpp"
+#include "util/ifr/p"
+
+namespace apache
+{
+  namespace activemq
+  {
+    namespace client
+    {
+      namespace command
+      {
+        using namespace ifr;
+        using namespace std ;
+
+/*
+ *
+ */
+class BrokerId : public AbstractCommand
+{
+private:
+    p<string> value ;
+
+public:
+    const static char TYPE = 124 ;
+
+public:
+    BrokerId() ;
+    virtual ~BrokerId() ;
+
+    virtual int getCommandType() ;
+    virtual p<string> getValue() ;
+    virtual void setValue(const char* brokerId) ;
+} ;
+
+/* namespace */
+      }
+    }
+  }
+}
+
 #endif /*BrokerId_hpp_*/

Propchange: incubator/activemq/trunk/openwire-cpp/src/command/BrokerId.hpp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/activemq/trunk/openwire-cpp/src/command/BrokerInfo.cpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/BrokerInfo.cpp?rev=379623&r1=379622&r2=379623&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/BrokerInfo.cpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/command/BrokerInfo.cpp Tue Feb 21 15:28:33 2006
@@ -1,80 +1,80 @@
-/*
- * 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/BrokerInfo.hpp"
-
-using namespace apache::activemq::client::command;
-
-/*
- *
- */
-BrokerInfo::BrokerInfo()
-{
-    brokerId   = NULL ;
-    brokerURL  = new string() ;
-    brokerName = new string() ;
-    peerInfos  = NULL ;
-}
-
-BrokerInfo::~BrokerInfo()
-{
-    // no-op
-}
-
-int BrokerInfo::getCommandType()
-{
-    return BrokerInfo::TYPE ;
-}
-
-p<string> BrokerInfo::getBrokerName()
-{
-    return brokerName ;
-}
-
-void BrokerInfo::setBrokerName(const char* name)
-{
-    brokerName->assign(name) ;
-}
-
-p<BrokerId> BrokerInfo::getBrokerId()
-{
-    return brokerId ;
-}
-
-void BrokerInfo::setBrokerId(p<BrokerId> brokerId)
-{
-    this->brokerId = brokerId ;
-}
-
-p<string> BrokerInfo::getBrokerURL()
-{
-    return brokerURL ;
-}
-
-void BrokerInfo::setBrokerURL(const char* url)
-{
-    this->brokerURL->assign(url) ;
-}
-
-ap<BrokerInfo> BrokerInfo::getPeerBrokerInfo()
-{
-    return peerInfos ;
-}
-
-void BrokerInfo::setPeerBrokerInfo(ap<BrokerInfo> info)
-{
-    peerInfos = info ;
-}
+/*
+ * 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/BrokerInfo.hpp"
+
+using namespace apache::activemq::client::command;
+
+/*
+ *
+ */
+BrokerInfo::BrokerInfo()
+{
+    brokerId   = NULL ;
+    brokerURL  = new string() ;
+    brokerName = new string() ;
+    peerInfos  = NULL ;
+}
+
+BrokerInfo::~BrokerInfo()
+{
+    // no-op
+}
+
+int BrokerInfo::getCommandType()
+{
+    return BrokerInfo::TYPE ;
+}
+
+p<string> BrokerInfo::getBrokerName()
+{
+    return brokerName ;
+}
+
+void BrokerInfo::setBrokerName(const char* name)
+{
+    brokerName->assign(name) ;
+}
+
+p<BrokerId> BrokerInfo::getBrokerId()
+{
+    return brokerId ;
+}
+
+void BrokerInfo::setBrokerId(p<BrokerId> brokerId)
+{
+    this->brokerId = brokerId ;
+}
+
+p<string> BrokerInfo::getBrokerURL()
+{
+    return brokerURL ;
+}
+
+void BrokerInfo::setBrokerURL(const char* url)
+{
+    this->brokerURL->assign(url) ;
+}
+
+ap<BrokerInfo> BrokerInfo::getPeerBrokerInfo()
+{
+    return peerInfos ;
+}
+
+void BrokerInfo::setPeerBrokerInfo(ap<BrokerInfo> info)
+{
+    peerInfos = info ;
+}

Propchange: incubator/activemq/trunk/openwire-cpp/src/command/BrokerInfo.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/activemq/trunk/openwire-cpp/src/command/BrokerInfo.hpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/BrokerInfo.hpp?rev=379623&r1=379622&r2=379623&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/BrokerInfo.hpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/command/BrokerInfo.hpp Tue Feb 21 15:28:33 2006
@@ -1,72 +1,72 @@
-/*
- * 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 BrokerInfo_hpp_
-#define BrokerInfo_hpp_
-
-#include <string>
-#include "command/BaseCommand.hpp"
-#include "command/BrokerId.hpp"
-#include "util/ifr/ap"
-#include "util/ifr/p"
-
-namespace apache
-{
-  namespace activemq
-  {
-    namespace client
-    {
-      namespace command
-      {
-        using namespace ifr;
-        using namespace std;
-
-/*
- *
- */
-class BrokerInfo : public BaseCommand
-{
-private:
-    p<BrokerId>    brokerId ;
-    p<string>      brokerURL,
-                   brokerName ;
-    ap<BrokerInfo> peerInfos ;
-
-public:
-    const static char TYPE = 2 ;
-
-public:
-    BrokerInfo() ;
-    virtual ~BrokerInfo() ;
-
-    virtual int getCommandType() ;
-    virtual p<string> getBrokerName() ;
-    virtual void setBrokerName(const char* name) ;
-    virtual p<BrokerId> getBrokerId() ;
-    virtual void setBrokerId(p<BrokerId> id) ;
-    virtual p<string> getBrokerURL() ;
-    virtual void setBrokerURL(const char* url) ;
-    virtual ap<BrokerInfo> getPeerBrokerInfo() ;
-    virtual void setPeerBrokerInfo(ap<BrokerInfo> info) ;
-} ;
-
-/* namespace */
-      }
-    }
-  }
-}
-
+/*
+ * 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 BrokerInfo_hpp_
+#define BrokerInfo_hpp_
+
+#include <string>
+#include "command/BaseCommand.hpp"
+#include "command/BrokerId.hpp"
+#include "util/ifr/ap"
+#include "util/ifr/p"
+
+namespace apache
+{
+  namespace activemq
+  {
+    namespace client
+    {
+      namespace command
+      {
+        using namespace ifr;
+        using namespace std;
+
+/*
+ *
+ */
+class BrokerInfo : public BaseCommand
+{
+private:
+    p<BrokerId>    brokerId ;
+    p<string>      brokerURL,
+                   brokerName ;
+    ap<BrokerInfo> peerInfos ;
+
+public:
+    const static char TYPE = 2 ;
+
+public:
+    BrokerInfo() ;
+    virtual ~BrokerInfo() ;
+
+    virtual int getCommandType() ;
+    virtual p<string> getBrokerName() ;
+    virtual void setBrokerName(const char* name) ;
+    virtual p<BrokerId> getBrokerId() ;
+    virtual void setBrokerId(p<BrokerId> id) ;
+    virtual p<string> getBrokerURL() ;
+    virtual void setBrokerURL(const char* url) ;
+    virtual ap<BrokerInfo> getPeerBrokerInfo() ;
+    virtual void setPeerBrokerInfo(ap<BrokerInfo> info) ;
+} ;
+
+/* namespace */
+      }
+    }
+  }
+}
+
 #endif /*BrokerInfo_hpp_*/

Propchange: incubator/activemq/trunk/openwire-cpp/src/command/BrokerInfo.hpp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/activemq/trunk/openwire-cpp/src/command/ConnectionId.cpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/ConnectionId.cpp?rev=379623&r1=379622&r2=379623&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/ConnectionId.cpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/command/ConnectionId.cpp Tue Feb 21 15:28:33 2006
@@ -1,46 +1,46 @@
-/*
- * 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/ConnectionId.hpp"
-
-using namespace apache::activemq::client::command;
-
-/*
- * Dummy, should be auto-generated
- */
-ConnectionId::ConnectionId()
-{
-    value = new string() ;
-}
-
-ConnectionId::~ConnectionId()
-{
-}
-
-int ConnectionId::getCommandType()
-{
-    return ConnectionId::TYPE ;
-}
-
-void ConnectionId::setValue(const char* value)
-{
-    this->value->assign(value) ;
-}
-
-p<string> ConnectionId::getValue()
-{
-    return value ;
-}
+/*
+ * 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/ConnectionId.hpp"
+
+using namespace apache::activemq::client::command;
+
+/*
+ * Dummy, should be auto-generated
+ */
+ConnectionId::ConnectionId()
+{
+    value = new string() ;
+}
+
+ConnectionId::~ConnectionId()
+{
+}
+
+int ConnectionId::getCommandType()
+{
+    return ConnectionId::TYPE ;
+}
+
+void ConnectionId::setValue(const char* value)
+{
+    this->value->assign(value) ;
+}
+
+p<string> ConnectionId::getValue()
+{
+    return value ;
+}

Propchange: incubator/activemq/trunk/openwire-cpp/src/command/ConnectionId.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/activemq/trunk/openwire-cpp/src/command/ConnectionId.hpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/ConnectionId.hpp?rev=379623&r1=379622&r2=379623&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/ConnectionId.hpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/command/ConnectionId.hpp Tue Feb 21 15:28:33 2006
@@ -1,60 +1,60 @@
-/*
- * 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 ConnectionId_hpp_
-#define ConnectionId_hpp_
-
-#include <string>
-#include "command/AbstractCommand.hpp"
-#include "util/ifr/p"
-
-namespace apache
-{
-  namespace activemq
-  {
-    namespace client
-    {
-      namespace command
-      {
-        using namespace ifr;
-        using namespace std;
-
-/*
- * Dummy, should be auto-generated.
- */
-class ConnectionId : public AbstractCommand
-{
-private:
-    p<string> value ;
-
-    const static int TYPE = 120 ;
-
-public:
-    ConnectionId() ;
-    virtual ~ConnectionId() ;
-
-    virtual int getCommandType() ;
-    virtual void setValue(const char* value) ;
-    virtual p<string> getValue() ;
-} ;
-
-/* namespace */
-      }
-    }
-  }
-}
-
-#endif /*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 ConnectionId_hpp_
+#define ConnectionId_hpp_
+
+#include <string>
+#include "command/AbstractCommand.hpp"
+#include "util/ifr/p"
+
+namespace apache
+{
+  namespace activemq
+  {
+    namespace client
+    {
+      namespace command
+      {
+        using namespace ifr;
+        using namespace std;
+
+/*
+ * Dummy, should be auto-generated.
+ */
+class ConnectionId : public AbstractCommand
+{
+private:
+    p<string> value ;
+
+    const static int TYPE = 120 ;
+
+public:
+    ConnectionId() ;
+    virtual ~ConnectionId() ;
+
+    virtual int getCommandType() ;
+    virtual void setValue(const char* value) ;
+    virtual p<string> getValue() ;
+} ;
+
+/* namespace */
+      }
+    }
+  }
+}
+
+#endif /*ConnectionId_hpp_*/

Propchange: incubator/activemq/trunk/openwire-cpp/src/command/ConnectionId.hpp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/activemq/trunk/openwire-cpp/src/command/ConnectionInfo.cpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/ConnectionInfo.cpp?rev=379623&r1=379622&r2=379623&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/ConnectionInfo.cpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/command/ConnectionInfo.cpp Tue Feb 21 15:28:33 2006
@@ -1,85 +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/ConnectionInfo.hpp"
-
-using namespace apache::activemq::client::command;
-
-/*
- * Dummy, should be auto-generated
- */
-ConnectionInfo::ConnectionInfo()
-{
-    connectionId = NULL ;
-    brokerPath   = NULL ;
-    username     = new string() ;
-    password     = new string() ;
-    clientId     = new string() ;
-}
-
-ConnectionInfo::~ConnectionInfo()
-{
-}
-
-p<ConnectionId> ConnectionInfo::getConnectionId()
-{
-    return connectionId ;
-}
-
-void ConnectionInfo::setConnectionId(p<ConnectionId> connectionId)
-{
-    this->connectionId = connectionId ;
-}
-
-p<string> ConnectionInfo::getUsername()
-{
-    return this->username ;
-}
-
-void ConnectionInfo::setUsername(const char* username)
-{
-    this->username->assign( username ) ;
-}
-
-p<string> ConnectionInfo::getPassword()
-{
-    return this->password ;
-}
-
-void ConnectionInfo::setPassword(const char* password)
-{
-    this->password->assign( password ) ;
-}
-
-p<string> ConnectionInfo::getClientId()
-{
-    return this->clientId ;
-}
-
-void ConnectionInfo::setClientId(const char* clientId)
-{
-    this->clientId->assign( clientId ) ;
-}
-
-p<BrokerId*> ConnectionInfo::getBrokerPath()
-{
-    return this->brokerPath ;
-}
-
-void ConnectionInfo::setBrokerPath(p<BrokerId*> brokerPath)
-{
-    this->brokerPath = brokerPath ;
-}
+/*
+ * 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/ConnectionInfo.hpp"
+
+using namespace apache::activemq::client::command;
+
+/*
+ * Dummy, should be auto-generated
+ */
+ConnectionInfo::ConnectionInfo()
+{
+    connectionId = NULL ;
+    brokerPath   = NULL ;
+    username     = new string() ;
+    password     = new string() ;
+    clientId     = new string() ;
+}
+
+ConnectionInfo::~ConnectionInfo()
+{
+}
+
+p<ConnectionId> ConnectionInfo::getConnectionId()
+{
+    return connectionId ;
+}
+
+void ConnectionInfo::setConnectionId(p<ConnectionId> connectionId)
+{
+    this->connectionId = connectionId ;
+}
+
+p<string> ConnectionInfo::getUsername()
+{
+    return this->username ;
+}
+
+void ConnectionInfo::setUsername(const char* username)
+{
+    this->username->assign( username ) ;
+}
+
+p<string> ConnectionInfo::getPassword()
+{
+    return this->password ;
+}
+
+void ConnectionInfo::setPassword(const char* password)
+{
+    this->password->assign( password ) ;
+}
+
+p<string> ConnectionInfo::getClientId()
+{
+    return this->clientId ;
+}
+
+void ConnectionInfo::setClientId(const char* clientId)
+{
+    this->clientId->assign( clientId ) ;
+}
+
+p<BrokerId*> ConnectionInfo::getBrokerPath()
+{
+    return this->brokerPath ;
+}
+
+void ConnectionInfo::setBrokerPath(p<BrokerId*> brokerPath)
+{
+    this->brokerPath = brokerPath ;
+}

Propchange: incubator/activemq/trunk/openwire-cpp/src/command/ConnectionInfo.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/activemq/trunk/openwire-cpp/src/command/ConnectionInfo.hpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/ConnectionInfo.hpp?rev=379623&r1=379622&r2=379623&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/ConnectionInfo.hpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/command/ConnectionInfo.hpp Tue Feb 21 15:28:33 2006
@@ -1,73 +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.
- */
-#ifndef ConnectionInfo_hpp_
-#define ConnectionInfo_hpp_
-
-#include <string>
-#include "command/BaseCommand.hpp"
-#include "command/BrokerId.hpp"
-#include "command/ConnectionId.hpp"
-#include "util/ifr/p"
-
-namespace apache
-{
-  namespace activemq
-  {
-    namespace client
-    {
-      namespace command
-      {
-        using namespace ifr;
-        using namespace std;
-
-/*
- * Dummy, should be auto-generated.
- */
-class ConnectionInfo : public BaseCommand
-{
-private:
-    p<ConnectionId> connectionId ;
-    p<BrokerId*>    brokerPath ;
-    p<string>       username,
-                    password,
-                    clientId ;
-public:
-    const static int TYPE = 3 ;
-
-public:
-    ConnectionInfo() ;
-    virtual ~ConnectionInfo() ;
-
-    virtual p<ConnectionId> getConnectionId() ;
-    virtual void setConnectionId(p<ConnectionId> connectionId) ;
-    virtual p<string> getUsername() ;
-    virtual void setUsername(const char* username) ;
-    virtual p<string> getPassword() ;
-    virtual void setPassword(const char* password) ;
-    virtual p<string> getClientId() ;
-    virtual void setClientId(const char* clientId) ;
-    virtual p<BrokerId*> getBrokerPath() ;
-    virtual void setBrokerPath(p<BrokerId*> brokerPath) ;
-} ;
-
-/* namespace */
-      }
-    }
-  }
-}
-
-#endif /*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 ConnectionInfo_hpp_
+#define ConnectionInfo_hpp_
+
+#include <string>
+#include "command/BaseCommand.hpp"
+#include "command/BrokerId.hpp"
+#include "command/ConnectionId.hpp"
+#include "util/ifr/p"
+
+namespace apache
+{
+  namespace activemq
+  {
+    namespace client
+    {
+      namespace command
+      {
+        using namespace ifr;
+        using namespace std;
+
+/*
+ * Dummy, should be auto-generated.
+ */
+class ConnectionInfo : public BaseCommand
+{
+private:
+    p<ConnectionId> connectionId ;
+    p<BrokerId*>    brokerPath ;
+    p<string>       username,
+                    password,
+                    clientId ;
+public:
+    const static int TYPE = 3 ;
+
+public:
+    ConnectionInfo() ;
+    virtual ~ConnectionInfo() ;
+
+    virtual p<ConnectionId> getConnectionId() ;
+    virtual void setConnectionId(p<ConnectionId> connectionId) ;
+    virtual p<string> getUsername() ;
+    virtual void setUsername(const char* username) ;
+    virtual p<string> getPassword() ;
+    virtual void setPassword(const char* password) ;
+    virtual p<string> getClientId() ;
+    virtual void setClientId(const char* clientId) ;
+    virtual p<BrokerId*> getBrokerPath() ;
+    virtual void setBrokerPath(p<BrokerId*> brokerPath) ;
+} ;
+
+/* namespace */
+      }
+    }
+  }
+}
+
+#endif /*ConnectionInfo_hpp_*/

Propchange: incubator/activemq/trunk/openwire-cpp/src/command/ConnectionInfo.hpp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/activemq/trunk/openwire-cpp/src/command/ConsumerId.cpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/ConsumerId.cpp?rev=379623&r1=379622&r2=379623&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/ConsumerId.cpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/command/ConsumerId.cpp Tue Feb 21 15:28:33 2006
@@ -1,66 +1,66 @@
-/*
- * 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/ConsumerId.hpp"
-
-using namespace apache::activemq::client::command;
-
-/*
- * Dummy, should be auto-generated
- */
-ConsumerId::ConsumerId()
-{
-    connectionId = new string() ;
-}
-
-ConsumerId::~ConsumerId()
-{
-}
-
-int ConsumerId::getCommandType()
-{
-    return ConsumerId::TYPE ;
-}
-
-void ConsumerId::setValue(long consumerId)
-{
-    this->consumerId = consumerId ;
-}
-
-long ConsumerId::getValue()
-{
-    return consumerId ;
-}
-
-void ConsumerId::setSessionId(long sessionId)
-{
-    this->sessionId = sessionId ;
-}
-
-long ConsumerId::getSessionId()
-{
-    return sessionId ;
-}
-
-void ConsumerId::setConnectionId(const char* connectionId)
-{
-    this->connectionId->assign( connectionId ) ;
-}
-
-p<string> ConsumerId::getConnectionId()
-{
-    return connectionId ;
-}
+/*
+ * 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/ConsumerId.hpp"
+
+using namespace apache::activemq::client::command;
+
+/*
+ * Dummy, should be auto-generated
+ */
+ConsumerId::ConsumerId()
+{
+    connectionId = new string() ;
+}
+
+ConsumerId::~ConsumerId()
+{
+}
+
+int ConsumerId::getCommandType()
+{
+    return ConsumerId::TYPE ;
+}
+
+void ConsumerId::setValue(long consumerId)
+{
+    this->consumerId = consumerId ;
+}
+
+long ConsumerId::getValue()
+{
+    return consumerId ;
+}
+
+void ConsumerId::setSessionId(long sessionId)
+{
+    this->sessionId = sessionId ;
+}
+
+long ConsumerId::getSessionId()
+{
+    return sessionId ;
+}
+
+void ConsumerId::setConnectionId(const char* connectionId)
+{
+    this->connectionId->assign( connectionId ) ;
+}
+
+p<string> ConsumerId::getConnectionId()
+{
+    return connectionId ;
+}

Propchange: incubator/activemq/trunk/openwire-cpp/src/command/ConsumerId.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/activemq/trunk/openwire-cpp/src/command/ConsumerId.hpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/ConsumerId.hpp?rev=379623&r1=379622&r2=379623&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/ConsumerId.hpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/command/ConsumerId.hpp Tue Feb 21 15:28:33 2006
@@ -1,66 +1,66 @@
-/*
- * 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 ConsumerId_hpp_
-#define ConsumerId_hpp_
-
-#include <string>
-#include "command/AbstractCommand.hpp"
-#include "util/ifr/p"
-
-namespace apache
-{
-  namespace activemq
-  {
-    namespace client
-    {
-      namespace command
-      {
-        using namespace ifr;
-        using namespace std;
-
-/*
- * Dummy, should be auto-generated.
- */
-class ConsumerId : public AbstractCommand
-{
-private:
-    p<string> connectionId ;
-    long      sessionId,
-              consumerId ;
-
-    const static int TYPE = 122 ;
-
-public:
-    ConsumerId() ;
-    virtual ~ConsumerId() ;
-
-    virtual int getCommandType() ;
-    virtual void setValue(long consumerId) ;
-    virtual long getValue() ;
-    virtual void setSessionId(long sessionId) ;
-    virtual long getSessionId() ;
-    virtual void setConnectionId(const char* connectionId) ;
-    virtual p<string> getConnectionId() ;
-} ;
-
-/* namespace */
-      }
-    }
-  }
-}
-
-#endif /*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 ConsumerId_hpp_
+#define ConsumerId_hpp_
+
+#include <string>
+#include "command/AbstractCommand.hpp"
+#include "util/ifr/p"
+
+namespace apache
+{
+  namespace activemq
+  {
+    namespace client
+    {
+      namespace command
+      {
+        using namespace ifr;
+        using namespace std;
+
+/*
+ * Dummy, should be auto-generated.
+ */
+class ConsumerId : public AbstractCommand
+{
+private:
+    p<string> connectionId ;
+    long      sessionId,
+              consumerId ;
+
+    const static int TYPE = 122 ;
+
+public:
+    ConsumerId() ;
+    virtual ~ConsumerId() ;
+
+    virtual int getCommandType() ;
+    virtual void setValue(long consumerId) ;
+    virtual long getValue() ;
+    virtual void setSessionId(long sessionId) ;
+    virtual long getSessionId() ;
+    virtual void setConnectionId(const char* connectionId) ;
+    virtual p<string> getConnectionId() ;
+} ;
+
+/* namespace */
+      }
+    }
+  }
+}
+
+#endif /*ConsumerId_hpp_*/

Propchange: incubator/activemq/trunk/openwire-cpp/src/command/ConsumerId.hpp
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message