activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r379623 [14/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/ConsumerInfo.cpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/ConsumerInfo.cpp?rev=379623&r1=379622&r2=379623&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/ConsumerInfo.cpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/command/ConsumerInfo.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/ConsumerInfo.hpp"
-
-using namespace apache::activemq::client::command;
-
-/*
- * Dummy, should be auto-generated
- */
-ConsumerInfo::ConsumerInfo()
-{
-    consumerId = NULL ;
-}
-
-ConsumerInfo::ConsumerInfo(const char* name)
-{
-    consumerId = NULL ;
-}
-
-ConsumerInfo::~ConsumerInfo()
-{
-}
-
-p<ConsumerId> ConsumerInfo::getConsumerId()
-{
-    return consumerId ;
-}
-
-void ConsumerInfo::setConsumerId(p<ConsumerId> consumerId)
-{
-    this->consumerId = consumerId ;
-}
+/*
+ * 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/ConsumerInfo.hpp"
+
+using namespace apache::activemq::client::command;
+
+/*
+ * Dummy, should be auto-generated
+ */
+ConsumerInfo::ConsumerInfo()
+{
+    consumerId = NULL ;
+}
+
+ConsumerInfo::ConsumerInfo(const char* name)
+{
+    consumerId = NULL ;
+}
+
+ConsumerInfo::~ConsumerInfo()
+{
+}
+
+p<ConsumerId> ConsumerInfo::getConsumerId()
+{
+    return consumerId ;
+}
+
+void ConsumerInfo::setConsumerId(p<ConsumerId> consumerId)
+{
+    this->consumerId = consumerId ;
+}

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

Modified: incubator/activemq/trunk/openwire-cpp/src/command/ConsumerInfo.hpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/ConsumerInfo.hpp?rev=379623&r1=379622&r2=379623&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/ConsumerInfo.hpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/command/ConsumerInfo.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 ConsumerInfo_hpp_
-#define ConsumerInfo_hpp_
-
-#include "command/BaseCommand.hpp"
-#include "command/ConsumerId.hpp"
-#include "util/ifr/p"
-
-namespace apache
-{
-  namespace activemq
-  {
-    namespace client
-    {
-      namespace command
-      {
-        using namespace ifr;
-
-/*
- * Dummy, should be auto-generated.
- */
-class ConsumerInfo : public BaseCommand
-{
-private:
-    p<ConsumerId> consumerId ;
-
-public:
-    const static int TYPE = 5 ;
-
-public:
-    ConsumerInfo() ;
-    ConsumerInfo(const char* name) ;
-    virtual ~ConsumerInfo() ;
-
-    virtual p<ConsumerId> getConsumerId() ;
-    virtual void setConsumerId(p<ConsumerId> consumerId) ;
-} ;
-
-/* 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 ConsumerInfo_hpp_
+#define ConsumerInfo_hpp_
+
+#include "command/BaseCommand.hpp"
+#include "command/ConsumerId.hpp"
+#include "util/ifr/p"
+
+namespace apache
+{
+  namespace activemq
+  {
+    namespace client
+    {
+      namespace command
+      {
+        using namespace ifr;
+
+/*
+ * Dummy, should be auto-generated.
+ */
+class ConsumerInfo : public BaseCommand
+{
+private:
+    p<ConsumerId> consumerId ;
+
+public:
+    const static int TYPE = 5 ;
+
+public:
+    ConsumerInfo() ;
+    ConsumerInfo(const char* name) ;
+    virtual ~ConsumerInfo() ;
+
+    virtual p<ConsumerId> getConsumerId() ;
+    virtual void setConsumerId(p<ConsumerId> consumerId) ;
+} ;
+
+/* namespace */
+      }
+    }
+  }
+}
+
 #endif /*ConsumerInfo_hpp_*/

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

Modified: incubator/activemq/trunk/openwire-cpp/src/command/ExceptionResponse.cpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/ExceptionResponse.cpp?rev=379623&r1=379622&r2=379623&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/ExceptionResponse.cpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/command/ExceptionResponse.cpp Tue Feb 21 15:28:33 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.
- */
-#include "command/ExceptionResponse.hpp"
-
-using namespace apache::activemq::client::command;
-
-/*
- * 
- */
-ExceptionResponse::ExceptionResponse()
-{
-}
-
-ExceptionResponse::~ExceptionResponse()
-{
-}
-
-int ExceptionResponse::getCommandType()
-{
-    return ExceptionResponse::TYPE ;
-}
-
-p<BrokerError> ExceptionResponse::getException()
-{
-    return exception ;
-}
-
-void ExceptionResponse::setException(p<BrokerError> exception)
-{
-    this->exception = exception ;
-}
+/*
+ * 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/ExceptionResponse.hpp"
+
+using namespace apache::activemq::client::command;
+
+/*
+ * 
+ */
+ExceptionResponse::ExceptionResponse()
+{
+}
+
+ExceptionResponse::~ExceptionResponse()
+{
+}
+
+int ExceptionResponse::getCommandType()
+{
+    return ExceptionResponse::TYPE ;
+}
+
+p<BrokerError> ExceptionResponse::getException()
+{
+    return exception ;
+}
+
+void ExceptionResponse::setException(p<BrokerError> exception)
+{
+    this->exception = exception ;
+}

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

Modified: incubator/activemq/trunk/openwire-cpp/src/command/ExceptionResponse.hpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/ExceptionResponse.hpp?rev=379623&r1=379622&r2=379623&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/ExceptionResponse.hpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/command/ExceptionResponse.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 ExceptionResponse_hpp_
-#define ExceptionResponse_hpp_
-
-#include "BrokerError.hpp"
-#include "command/Response.hpp"
-#include "util/ifr/p"
-
-namespace apache
-{
-  namespace activemq
-  {
-    namespace client
-    {
-      namespace command
-      {
-        using namespace ifr;
-        using namespace apache::activemq::client;
-
-/*
- * 
- */
-class ExceptionResponse : public Response
-{
-private:
-    p<BrokerError> exception ;
-
-public:
-    static const int TYPE = 31 ;
-
-public:
-    ExceptionResponse() ;
-    ~ExceptionResponse() ;
-
-    virtual int getCommandType() ;
-    p<BrokerError> getException() ;
-    void setException(p<BrokerError> exception) ;
-};
-
-/* 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 ExceptionResponse_hpp_
+#define ExceptionResponse_hpp_
+
+#include "BrokerError.hpp"
+#include "command/Response.hpp"
+#include "util/ifr/p"
+
+namespace apache
+{
+  namespace activemq
+  {
+    namespace client
+    {
+      namespace command
+      {
+        using namespace ifr;
+        using namespace apache::activemq::client;
+
+/*
+ * 
+ */
+class ExceptionResponse : public Response
+{
+private:
+    p<BrokerError> exception ;
+
+public:
+    static const int TYPE = 31 ;
+
+public:
+    ExceptionResponse() ;
+    ~ExceptionResponse() ;
+
+    virtual int getCommandType() ;
+    p<BrokerError> getException() ;
+    void setException(p<BrokerError> exception) ;
+};
+
+/* namespace */
+      }
+    }
+  }
+}
+
 #endif /*ExceptionResponse_hpp_*/

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

Modified: incubator/activemq/trunk/openwire-cpp/src/command/ICommand.hpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/ICommand.hpp?rev=379623&r1=379622&r2=379623&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/ICommand.hpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/command/ICommand.hpp Tue Feb 21 15:28:33 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 ICommand_hpp_
-#define ICommand_hpp_
-
-#include "command/IDataStructure.hpp"
-
-namespace apache
-{
-  namespace activemq
-  {
-    namespace client
-    {
-      namespace command
-      {
-
-/*
- * Interface for commands.
- */
-struct ICommand : IDataStructure
-{
- //   virtual char getCommandType() = 0 ;
-} ;
-
-/* namespace */
-      }
-    }
-  }
-}
-
-#endif /*ICommand_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 ICommand_hpp_
+#define ICommand_hpp_
+
+#include "command/IDataStructure.hpp"
+
+namespace apache
+{
+  namespace activemq
+  {
+    namespace client
+    {
+      namespace command
+      {
+
+/*
+ * Interface for commands.
+ */
+struct ICommand : IDataStructure
+{
+ //   virtual char getCommandType() = 0 ;
+} ;
+
+/* namespace */
+      }
+    }
+  }
+}
+
+#endif /*ICommand_hpp_*/

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

Modified: incubator/activemq/trunk/openwire-cpp/src/command/IDataStructure.hpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/IDataStructure.hpp?rev=379623&r1=379622&r2=379623&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/IDataStructure.hpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/command/IDataStructure.hpp Tue Feb 21 15:28:33 2006
@@ -1,43 +1,43 @@
-/*
- * 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 IDataStructure_hpp_
-#define IDataStructure_hpp_
-
-namespace apache
-{
-  namespace activemq
-  {
-    namespace client
-    {
-      namespace command
-      {
-
-/*
- * Mockup interface for writing to streams.
- */
-struct IDataStructure
-{
-    virtual int getCommandType() = 0 ;
-} ;
-
-/* namespace */
-      }
-    }
-  }
-}
-
-#endif /*IDataStructure_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 IDataStructure_hpp_
+#define IDataStructure_hpp_
+
+namespace apache
+{
+  namespace activemq
+  {
+    namespace client
+    {
+      namespace command
+      {
+
+/*
+ * Mockup interface for writing to streams.
+ */
+struct IDataStructure
+{
+    virtual int getCommandType() = 0 ;
+} ;
+
+/* namespace */
+      }
+    }
+  }
+}
+
+#endif /*IDataStructure_hpp_*/

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

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

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

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

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

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

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

Modified: incubator/activemq/trunk/openwire-cpp/src/command/MessageAck.hpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/MessageAck.hpp?rev=379623&r1=379622&r2=379623&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/MessageAck.hpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/command/MessageAck.hpp 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.
- */
-#ifndef MessageAck_hpp_
-#define MessageAck_hpp_
-
-#include "command/BaseCommand.hpp"
-
-namespace apache
-{
-  namespace activemq
-  {
-    namespace client
-    {
-      namespace command
-      {
-
-/*
- * Dummy, should be auto-generated.
- */
-class MessageAck : public BaseCommand
-{
-public:
-    const static int TYPE = 22 ;
-
-public:
-    MessageAck() ;
-    virtual ~MessageAck() ;
-} ;
-
-/* 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 MessageAck_hpp_
+#define MessageAck_hpp_
+
+#include "command/BaseCommand.hpp"
+
+namespace apache
+{
+  namespace activemq
+  {
+    namespace client
+    {
+      namespace command
+      {
+
+/*
+ * Dummy, should be auto-generated.
+ */
+class MessageAck : public BaseCommand
+{
+public:
+    const static int TYPE = 22 ;
+
+public:
+    MessageAck() ;
+    virtual ~MessageAck() ;
+} ;
+
+/* namespace */
+      }
+    }
+  }
+}
+
 #endif /*MessageAck_hpp_*/

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

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

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

Modified: incubator/activemq/trunk/openwire-cpp/src/command/ProducerId.hpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/ProducerId.hpp?rev=379623&r1=379622&r2=379623&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/ProducerId.hpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/command/ProducerId.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 ProducerId_hpp_
-#define ProducerId_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 ProducerId : public AbstractCommand
-{
-private:
-    p<string> connectionId ;
-    long      sessionId,
-              producerId ;
-
-    const static int TYPE = 123 ;
-
-public:
-    ProducerId() ;
-    virtual ~ProducerId() ;
-
-    virtual int getCommandType() ;
-    virtual void setValue(long producerId) ;
-    virtual long getValue() ;
-    virtual void setSessionId(long sessionId) ;
-    virtual long getSessionId() ;
-    virtual void setConnectionId(const char* connectionId) ;
-    virtual p<string> getConnectionId() ;
-} ;
-
-/* namespace */
-      }
-    }
-  }
-}
-
-#endif /*ProducerId_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 ProducerId_hpp_
+#define ProducerId_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 ProducerId : public AbstractCommand
+{
+private:
+    p<string> connectionId ;
+    long      sessionId,
+              producerId ;
+
+    const static int TYPE = 123 ;
+
+public:
+    ProducerId() ;
+    virtual ~ProducerId() ;
+
+    virtual int getCommandType() ;
+    virtual void setValue(long producerId) ;
+    virtual long getValue() ;
+    virtual void setSessionId(long sessionId) ;
+    virtual long getSessionId() ;
+    virtual void setConnectionId(const char* connectionId) ;
+    virtual p<string> getConnectionId() ;
+} ;
+
+/* namespace */
+      }
+    }
+  }
+}
+
+#endif /*ProducerId_hpp_*/

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

Modified: incubator/activemq/trunk/openwire-cpp/src/command/ProducerInfo.cpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/ProducerInfo.cpp?rev=379623&r1=379622&r2=379623&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/ProducerInfo.cpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/command/ProducerInfo.cpp Tue Feb 21 15:28:33 2006
@@ -1,52 +1,52 @@
-/*
- * 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/ProducerInfo.hpp"
-
-using namespace apache::activemq::client::command;
-
-/*
- * Dummy, should be auto-generated
- */
-ProducerInfo::ProducerInfo()
-{
-    this->producerId  = NULL ;
-    this->destination = NULL ;
-}
-
-ProducerInfo::~ProducerInfo()
-{
-}
-
-p<ProducerId> ProducerInfo::getProducerId()
-{
-    return producerId ;
-}
-
-void ProducerInfo::setProducerId(p<ProducerId> producerId)
-{
-    this->producerId = producerId ;
-}
-
-p<IDestination> ProducerInfo::getDestination()
-{
-    return destination ;
-}
-
-void ProducerInfo::setDestination(p<IDestination> destination)
-{
-    this->destination = destination ;
-}
+/*
+ * 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/ProducerInfo.hpp"
+
+using namespace apache::activemq::client::command;
+
+/*
+ * Dummy, should be auto-generated
+ */
+ProducerInfo::ProducerInfo()
+{
+    this->producerId  = NULL ;
+    this->destination = NULL ;
+}
+
+ProducerInfo::~ProducerInfo()
+{
+}
+
+p<ProducerId> ProducerInfo::getProducerId()
+{
+    return producerId ;
+}
+
+void ProducerInfo::setProducerId(p<ProducerId> producerId)
+{
+    this->producerId = producerId ;
+}
+
+p<IDestination> ProducerInfo::getDestination()
+{
+    return destination ;
+}
+
+void ProducerInfo::setDestination(p<IDestination> destination)
+{
+    this->destination = destination ;
+}

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

Modified: incubator/activemq/trunk/openwire-cpp/src/command/ProducerInfo.hpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/ProducerInfo.hpp?rev=379623&r1=379622&r2=379623&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/ProducerInfo.hpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/command/ProducerInfo.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 ProducerInfo_hpp_
-#define ProducerInfo_hpp_
-
-#include <string>
-#include "IDestination.hpp"
-#include "command/BaseCommand.hpp"
-#include "command/ProducerId.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 ProducerInfo : public BaseCommand
-{
-private:
-    p<ProducerId> producerId ;
-    p<IDestination> destination ;
-
-public:
-    const static int TYPE = 6 ;
-
-public:
-    ProducerInfo() ;
-    virtual ~ProducerInfo() ;
-
-    virtual p<ProducerId> getProducerId() ;
-    virtual void setProducerId(p<ProducerId> producerId) ;
-    virtual p<IDestination> getDestination() ;
-    virtual void setDestination(p<IDestination> destination) ;
-} ;
-
-/* namespace */
-      }
-    }
-  }
-}
-
-#endif /*ProducerInfo_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 ProducerInfo_hpp_
+#define ProducerInfo_hpp_
+
+#include <string>
+#include "IDestination.hpp"
+#include "command/BaseCommand.hpp"
+#include "command/ProducerId.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 ProducerInfo : public BaseCommand
+{
+private:
+    p<ProducerId> producerId ;
+    p<IDestination> destination ;
+
+public:
+    const static int TYPE = 6 ;
+
+public:
+    ProducerInfo() ;
+    virtual ~ProducerInfo() ;
+
+    virtual p<ProducerId> getProducerId() ;
+    virtual void setProducerId(p<ProducerId> producerId) ;
+    virtual p<IDestination> getDestination() ;
+    virtual void setDestination(p<IDestination> destination) ;
+} ;
+
+/* namespace */
+      }
+    }
+  }
+}
+
+#endif /*ProducerInfo_hpp_*/

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

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

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

Modified: incubator/activemq/trunk/openwire-cpp/src/command/RemoveInfo.hpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/RemoveInfo.hpp?rev=379623&r1=379622&r2=379623&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/RemoveInfo.hpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/command/RemoveInfo.hpp Tue Feb 21 15:28:33 2006
@@ -1,59 +1,59 @@
-/*
- * 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 RemoveInfo_hpp_
-#define RemoveInfo_hpp_
-
-#include "command/BaseCommand.hpp"
-#include "command/IDataStructure.hpp"
-#include "util/ifr/p"
-
-namespace apache
-{
-  namespace activemq
-  {
-    namespace client
-    {
-      namespace command
-      {
-        using namespace ifr;
-
-/*
- * Dummy, should be auto-generated.
- */
-class RemoveInfo : public BaseCommand
-{
-private:
-    p<IDataStructure> objectId ;
-
-public:
-    const static int TYPE = 12 ;
-
-public:
-    RemoveInfo() ;
-    virtual ~RemoveInfo() ;
-
-    virtual p<IDataStructure> getObjectId() ;
-    virtual void setObjectId(p<IDataStructure> oid) ;
-} ;
-
-/* namespace */
-      }
-    }
-  }
-}
-
-#endif /*RemoveInfo_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 RemoveInfo_hpp_
+#define RemoveInfo_hpp_
+
+#include "command/BaseCommand.hpp"
+#include "command/IDataStructure.hpp"
+#include "util/ifr/p"
+
+namespace apache
+{
+  namespace activemq
+  {
+    namespace client
+    {
+      namespace command
+      {
+        using namespace ifr;
+
+/*
+ * Dummy, should be auto-generated.
+ */
+class RemoveInfo : public BaseCommand
+{
+private:
+    p<IDataStructure> objectId ;
+
+public:
+    const static int TYPE = 12 ;
+
+public:
+    RemoveInfo() ;
+    virtual ~RemoveInfo() ;
+
+    virtual p<IDataStructure> getObjectId() ;
+    virtual void setObjectId(p<IDataStructure> oid) ;
+} ;
+
+/* namespace */
+      }
+    }
+  }
+}
+
+#endif /*RemoveInfo_hpp_*/

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

Modified: incubator/activemq/trunk/openwire-cpp/src/command/Response.cpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/Response.cpp?rev=379623&r1=379622&r2=379623&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/Response.cpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/command/Response.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/Response.hpp"
-
-using namespace apache::activemq::client::command;
-
-/*
- * 
- */
-Response::Response()
-{
-}
-
-Response::~Response()
-{
-}
+/*
+ * 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/Response.hpp"
+
+using namespace apache::activemq::client::command;
+
+/*
+ * 
+ */
+Response::Response()
+{
+}
+
+Response::~Response()
+{
+}

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

Modified: incubator/activemq/trunk/openwire-cpp/src/command/Response.hpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/Response.hpp?rev=379623&r1=379622&r2=379623&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/Response.hpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/command/Response.hpp 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.
- */
-#ifndef Response_hpp_
-#define Response_hpp_
-
-#include "command/BaseCommand.hpp"
-
-namespace apache
-{
-  namespace activemq
-  {
-    namespace client
-    {
-      namespace command
-      {
-
-/*
- * Interface for commands.
- */
-class Response : public BaseCommand
-{
-public:
-    const static int TYPE = 30 ;
-
-public:
-    Response() ;
-    ~Response() ;
-};
-
-/* 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 Response_hpp_
+#define Response_hpp_
+
+#include "command/BaseCommand.hpp"
+
+namespace apache
+{
+  namespace activemq
+  {
+    namespace client
+    {
+      namespace command
+      {
+
+/*
+ * Interface for commands.
+ */
+class Response : public BaseCommand
+{
+public:
+    const static int TYPE = 30 ;
+
+public:
+    Response() ;
+    ~Response() ;
+};
+
+/* namespace */
+      }
+    }
+  }
+}
+
 #endif /*Response_hpp_*/

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

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

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

Modified: incubator/activemq/trunk/openwire-cpp/src/command/SessionId.hpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/SessionId.hpp?rev=379623&r1=379622&r2=379623&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/SessionId.hpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/command/SessionId.hpp Tue Feb 21 15:28:33 2006
@@ -1,63 +1,63 @@
-/*
- * 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 SessionId_hpp_
-#define SessionId_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 SessionId : public AbstractCommand
-{
-private:
-    p<string> connectionId ;
-    long      sessionId ;
-
-    const static int TYPE = 121 ;
-
-public:
-    SessionId() ;
-    virtual ~SessionId() ;
-
-    virtual int getCommandType() ;
-    virtual void setValue(long id) ;
-    virtual long getValue() ;
-    virtual void setConnectionId(const char* cid) ;
-    virtual p<string> getConnectionId() ;
-} ;
-
-/* namespace */
-      }
-    }
-  }
-}
-
-#endif /*SessionId_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 SessionId_hpp_
+#define SessionId_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 SessionId : public AbstractCommand
+{
+private:
+    p<string> connectionId ;
+    long      sessionId ;
+
+    const static int TYPE = 121 ;
+
+public:
+    SessionId() ;
+    virtual ~SessionId() ;
+
+    virtual int getCommandType() ;
+    virtual void setValue(long id) ;
+    virtual long getValue() ;
+    virtual void setConnectionId(const char* cid) ;
+    virtual p<string> getConnectionId() ;
+} ;
+
+/* namespace */
+      }
+    }
+  }
+}
+
+#endif /*SessionId_hpp_*/

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

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

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

Modified: incubator/activemq/trunk/openwire-cpp/src/command/SessionInfo.hpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/command/SessionInfo.hpp?rev=379623&r1=379622&r2=379623&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/command/SessionInfo.hpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/command/SessionInfo.hpp Tue Feb 21 15:28:33 2006
@@ -1,59 +1,59 @@
-/*
- * 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 SessionInfo_hpp_
-#define SessionInfo_hpp_
-
-#include "command/BaseCommand.hpp"
-#include "command/SessionId.hpp"
-#include "util/ifr/p"
-
-namespace apache
-{
-  namespace activemq
-  {
-    namespace client
-    {
-      namespace command
-      {
-        using namespace ifr;
-
-/*
- * Dummy, should be auto-generated.
- */
-class SessionInfo : public BaseCommand
-{
-private:
-    p<SessionId> sessionId ;
-
-public:
-    const static int TYPE = 4 ;
-
-public:
-    SessionInfo() ;
-    virtual ~SessionInfo() ;
-
-    virtual p<SessionId> getSessionId() ;
-    virtual void setSessionId(p<SessionId> sessionId) ;
-} ;
-
-/* namespace */
-      }
-    }
-  }
-}
-
-#endif /*SessionInfo_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 SessionInfo_hpp_
+#define SessionInfo_hpp_
+
+#include "command/BaseCommand.hpp"
+#include "command/SessionId.hpp"
+#include "util/ifr/p"
+
+namespace apache
+{
+  namespace activemq
+  {
+    namespace client
+    {
+      namespace command
+      {
+        using namespace ifr;
+
+/*
+ * Dummy, should be auto-generated.
+ */
+class SessionInfo : public BaseCommand
+{
+private:
+    p<SessionId> sessionId ;
+
+public:
+    const static int TYPE = 4 ;
+
+public:
+    SessionInfo() ;
+    virtual ~SessionInfo() ;
+
+    virtual p<SessionId> getSessionId() ;
+    virtual void setSessionId(p<SessionId> sessionId) ;
+} ;
+
+/* namespace */
+      }
+    }
+  }
+}
+
+#endif /*SessionInfo_hpp_*/

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

Modified: incubator/activemq/trunk/openwire-cpp/src/io/BinaryReader.cpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/io/BinaryReader.cpp?rev=379623&r1=379622&r2=379623&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/io/BinaryReader.cpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/io/BinaryReader.cpp Tue Feb 21 15:28:33 2006
@@ -1,143 +1,143 @@
-/* 
- * 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 "io/BinaryReader.hpp"
-
-using namespace apache::activemq::client::io;
-
-/*
- *
- */
-BinaryReader::BinaryReader()
-{
-    // no-op
-}
-
-/*
- *
- */
-BinaryReader::~BinaryReader()
-{
-    // no-op
-}
-
-/*
- *
- */
-char BinaryReader::readByte() throw(IOException)
-{
-    char value ;
-
-    // Read a single byte
-    read(&value, sizeof(char)) ;
-    return value ;
-}
-
-/*
- *
- */
-bool BinaryReader::readBoolean() throw(IOException)
-{
-    bool value ;
-
-    // Read a boolean
-    read((char*)&value, sizeof(bool)) ;
-    return value ;
-}
-
-/*
- *
- */
-double BinaryReader::readDouble() throw(IOException)
-{
-    double value ;
-
-    // Read a double and convert from big endian to little endian if necessary
-    read((char*)&value, sizeof(double) ) ;
-    return ntohd(value) ;
-}
-
-/*
- *
- */
-float BinaryReader::readFloat() throw(IOException)
-{
-    float value ;
-
-    // Read a float and convert from big endian to little endian if necessary
-    read((char*)&value, sizeof(float)) ;
-    return ntohf(value) ;
-}
-
-/*
- *
- */
-short BinaryReader::readShort() throw(IOException)
-{
-    short value ;
-
-    // Read a short and convert from big endian to little endian if necessary
-    read((char*)&value, sizeof(short)) ;
-    return ntohs(value) ;
-}
-
-/*
- *
- */
-int BinaryReader::readInt() throw(IOException)
-{
-    int value ;
-
-    // Read an int and convert from big endian to little endian if necessary
-    read((char*)&value, sizeof(int)) ;
-    return ntohi(value) ;
-}
-
-/*
- *
- */
-long long BinaryReader::readLong() throw(IOException)
-{
-    long long value ;
-
-    // Read a long long and convert from big endian to little endian if necessary
-    read((char*)&value, sizeof(long long)) ;
-    return ntohl(value) ;
-}
-
-/*
- *
- */
-p<string> BinaryReader::readString() throw(IOException)
-{
-    p<string> value ;
-    char*     buffer ;
-    short     length ;
-
-    // Read length of string
-    length = readShort() ;
-    buffer = new char[length+1] ;
-
-    // Read string bytes
-    read(buffer, length) ;
-    *(buffer+length) = '\0' ;
-
-    // Create string class
-    value = new string() ;
-    value->assign(buffer) ;
-
-    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 "io/BinaryReader.hpp"
+
+using namespace apache::activemq::client::io;
+
+/*
+ *
+ */
+BinaryReader::BinaryReader()
+{
+    // no-op
+}
+
+/*
+ *
+ */
+BinaryReader::~BinaryReader()
+{
+    // no-op
+}
+
+/*
+ *
+ */
+char BinaryReader::readByte() throw(IOException)
+{
+    char value ;
+
+    // Read a single byte
+    read(&value, sizeof(char)) ;
+    return value ;
+}
+
+/*
+ *
+ */
+bool BinaryReader::readBoolean() throw(IOException)
+{
+    bool value ;
+
+    // Read a boolean
+    read((char*)&value, sizeof(bool)) ;
+    return value ;
+}
+
+/*
+ *
+ */
+double BinaryReader::readDouble() throw(IOException)
+{
+    double value ;
+
+    // Read a double and convert from big endian to little endian if necessary
+    read((char*)&value, sizeof(double) ) ;
+    return ntohd(value) ;
+}
+
+/*
+ *
+ */
+float BinaryReader::readFloat() throw(IOException)
+{
+    float value ;
+
+    // Read a float and convert from big endian to little endian if necessary
+    read((char*)&value, sizeof(float)) ;
+    return ntohf(value) ;
+}
+
+/*
+ *
+ */
+short BinaryReader::readShort() throw(IOException)
+{
+    short value ;
+
+    // Read a short and convert from big endian to little endian if necessary
+    read((char*)&value, sizeof(short)) ;
+    return ntohs(value) ;
+}
+
+/*
+ *
+ */
+int BinaryReader::readInt() throw(IOException)
+{
+    int value ;
+
+    // Read an int and convert from big endian to little endian if necessary
+    read((char*)&value, sizeof(int)) ;
+    return ntohi(value) ;
+}
+
+/*
+ *
+ */
+long long BinaryReader::readLong() throw(IOException)
+{
+    long long value ;
+
+    // Read a long long and convert from big endian to little endian if necessary
+    read((char*)&value, sizeof(long long)) ;
+    return ntohl(value) ;
+}
+
+/*
+ *
+ */
+p<string> BinaryReader::readString() throw(IOException)
+{
+    p<string> value ;
+    char*     buffer ;
+    short     length ;
+
+    // Read length of string
+    length = readShort() ;
+    buffer = new char[length+1] ;
+
+    // Read string bytes
+    read(buffer, length) ;
+    *(buffer+length) = '\0' ;
+
+    // Create string class
+    value = new string() ;
+    value->assign(buffer) ;
+
+    return value ;
+}

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

Modified: incubator/activemq/trunk/openwire-cpp/src/io/BinaryReader.hpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/io/BinaryReader.hpp?rev=379623&r1=379622&r2=379623&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/io/BinaryReader.hpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/io/BinaryReader.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 BinaryReader_hpp_
-#define BinaryReader_hpp_
-
-#include "util/Endian.hpp"
-#include "io/IReader.hpp"
-#include "util/ifr/p"
-
-namespace apache
-{
-  namespace activemq
-  {
-    namespace client
-    {
-      namespace io
-      {
-        using namespace ifr;
-
-/*
- * The BinaryReader class reads primitive C++ data types from an
- * underlying input stream in a Java compatible way. Strings are
- * read as raw bytes, no character decoding is performed.
- *
- * All numeric data types are assumed to be available in big
- * endian (network byte order) and are converted automatically
- * to little endian if needed by the platform.
- *
- * Should any error occur an IOException will be thrown.
- */
-class BinaryReader : public IReader
-{
-public:
-    BinaryReader() ;
-    virtual ~BinaryReader() ;
-
-    virtual void close() throw(IOException) = 0 ;
-    virtual int read(char* buffer, int size)  throw(IOException) = 0 ;
-    virtual char readByte() throw(IOException) ;
-    virtual bool readBoolean() throw(IOException) ;
-    virtual double readDouble() throw(IOException) ;
-    virtual float readFloat() throw(IOException) ;
-    virtual short readShort() throw(IOException) ;
-    virtual int readInt() throw(IOException) ;
-    virtual long long readLong() throw(IOException) ;
-    virtual p<string> readString() throw(IOException) ;
-} ;
-
-/* namespace */
-      }
-    }
-  }
-}
-
-#endif /*BinaryReader_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 BinaryReader_hpp_
+#define BinaryReader_hpp_
+
+#include "util/Endian.hpp"
+#include "io/IReader.hpp"
+#include "util/ifr/p"
+
+namespace apache
+{
+  namespace activemq
+  {
+    namespace client
+    {
+      namespace io
+      {
+        using namespace ifr;
+
+/*
+ * The BinaryReader class reads primitive C++ data types from an
+ * underlying input stream in a Java compatible way. Strings are
+ * read as raw bytes, no character decoding is performed.
+ *
+ * All numeric data types are assumed to be available in big
+ * endian (network byte order) and are converted automatically
+ * to little endian if needed by the platform.
+ *
+ * Should any error occur an IOException will be thrown.
+ */
+class BinaryReader : public IReader
+{
+public:
+    BinaryReader() ;
+    virtual ~BinaryReader() ;
+
+    virtual void close() throw(IOException) = 0 ;
+    virtual int read(char* buffer, int size)  throw(IOException) = 0 ;
+    virtual char readByte() throw(IOException) ;
+    virtual bool readBoolean() throw(IOException) ;
+    virtual double readDouble() throw(IOException) ;
+    virtual float readFloat() throw(IOException) ;
+    virtual short readShort() throw(IOException) ;
+    virtual int readInt() throw(IOException) ;
+    virtual long long readLong() throw(IOException) ;
+    virtual p<string> readString() throw(IOException) ;
+} ;
+
+/* namespace */
+      }
+    }
+  }
+}
+
+#endif /*BinaryReader_hpp_*/

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

Modified: incubator/activemq/trunk/openwire-cpp/src/io/BinaryWriter.cpp
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-cpp/src/io/BinaryWriter.cpp?rev=379623&r1=379622&r2=379623&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/io/BinaryWriter.cpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/io/BinaryWriter.cpp Tue Feb 21 15:28:33 2006
@@ -1,96 +1,96 @@
-/* 
- * 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 "io/BinaryWriter.hpp"
-
-using namespace apache::activemq::client::io;
-
-/*
- *
- */
-BinaryWriter::BinaryWriter()
-{
-    // no-op
-}
-
-/*
- *
- */
-BinaryWriter::~BinaryWriter()
-{
-    // no-op
-}
-
-void BinaryWriter::writeByte(char value) throw(IOException)
-{
-    // Write a single byte
-    write((char*)&value, sizeof(char)) ;
-}
-
-void BinaryWriter::writeBoolean(bool value) throw(IOException)
-{
-    // Write a boolean
-    write((char*)&value, sizeof(bool)) ;
-}
-
-void BinaryWriter::writeDouble(double v) throw(IOException)
-{
-    // Write a double, convert from little endian to big endian if necessary
-    double value = htond(v) ;
-    write((char*)&value, sizeof(double)) ;
-}
-
-void BinaryWriter::writeFloat(float v) throw(IOException)
-{
-    // Write a float, convert from little endian to big endian if necessary
-    float value = htonf(v) ;
-    write((char*)&value, sizeof(float)) ;
-}
-
-void BinaryWriter::writeShort(short v) throw(IOException)
-{
-    // Write a short, convert from little endian to big endian if necessary
-    short value = htons(v) ;
-    write((char*)&value, sizeof(short)) ;
-}
-
-void BinaryWriter::writeInt(int v) throw(IOException)
-{
-    // Write an int, convert from little endian to big endian if necessary
-    int value = htoni(v) ;
-    write((char*)&value, sizeof(int)) ;
-}
-
-void BinaryWriter::writeLong(long long v) throw(IOException)
-{
-    // Write a long long, convert from little endian to big endian if necessary
-    long long value = htonl(v) ;
-    write((char*)&value, sizeof(long long)) ;
-}
-
-void BinaryWriter::writeString(p<string> value) throw(IOException)
-{
-    // Assert argument
-    if( value->length() > USHRT_MAX )
-        throw IOException("String length exceeds maximum length") ;
-
-    // Write length of string
-    short length = (short)value->length() ;
-    writeShort( length ) ;
-
-    // Write string contents
-    write((char*)value->c_str(), length) ;
-}
+/* 
+ * 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 "io/BinaryWriter.hpp"
+
+using namespace apache::activemq::client::io;
+
+/*
+ *
+ */
+BinaryWriter::BinaryWriter()
+{
+    // no-op
+}
+
+/*
+ *
+ */
+BinaryWriter::~BinaryWriter()
+{
+    // no-op
+}
+
+void BinaryWriter::writeByte(char value) throw(IOException)
+{
+    // Write a single byte
+    write((char*)&value, sizeof(char)) ;
+}
+
+void BinaryWriter::writeBoolean(bool value) throw(IOException)
+{
+    // Write a boolean
+    write((char*)&value, sizeof(bool)) ;
+}
+
+void BinaryWriter::writeDouble(double v) throw(IOException)
+{
+    // Write a double, convert from little endian to big endian if necessary
+    double value = htond(v) ;
+    write((char*)&value, sizeof(double)) ;
+}
+
+void BinaryWriter::writeFloat(float v) throw(IOException)
+{
+    // Write a float, convert from little endian to big endian if necessary
+    float value = htonf(v) ;
+    write((char*)&value, sizeof(float)) ;
+}
+
+void BinaryWriter::writeShort(short v) throw(IOException)
+{
+    // Write a short, convert from little endian to big endian if necessary
+    short value = htons(v) ;
+    write((char*)&value, sizeof(short)) ;
+}
+
+void BinaryWriter::writeInt(int v) throw(IOException)
+{
+    // Write an int, convert from little endian to big endian if necessary
+    int value = htoni(v) ;
+    write((char*)&value, sizeof(int)) ;
+}
+
+void BinaryWriter::writeLong(long long v) throw(IOException)
+{
+    // Write a long long, convert from little endian to big endian if necessary
+    long long value = htonl(v) ;
+    write((char*)&value, sizeof(long long)) ;
+}
+
+void BinaryWriter::writeString(p<string> value) throw(IOException)
+{
+    // Assert argument
+    if( value->length() > USHRT_MAX )
+        throw IOException("String length exceeds maximum length") ;
+
+    // Write length of string
+    short length = (short)value->length() ;
+    writeShort( length ) ;
+
+    // Write string contents
+    write((char*)value->c_str(), length) ;
+}

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



Mime
View raw message