You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ch...@apache.org on 2006/07/28 18:13:47 UTC

svn commit: r426593 - /incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/activemq/command/AbstractCommand.hpp

Author: chirino
Date: Fri Jul 28 09:13:46 2006
New Revision: 426593

URL: http://svn.apache.org/viewvc?rev=426593&view=rev
Log:
svn propset svn:eol-style native

Modified:
    incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/activemq/command/AbstractCommand.hpp   (contents, props changed)

Modified: incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/activemq/command/AbstractCommand.hpp
URL: http://svn.apache.org/viewvc/incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/activemq/command/AbstractCommand.hpp?rev=426593&r1=426592&r2=426593&view=diff
==============================================================================
--- incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/activemq/command/AbstractCommand.hpp (original)
+++ incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/activemq/command/AbstractCommand.hpp Fri Jul 28 09:13:46 2006
@@ -1,70 +1,70 @@
-/*
- * Copyright 2006 The Apache Software Foundation or its licensors, as
- * applicable.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-#ifndef ActiveMQ_AbstractCommand_hpp_
-#define ActiveMQ_AbstractCommand_hpp_
-
-#include <string>
-#include "activemq/ICommand.hpp"
-#include "activemq/IDataStructure.hpp"
-#include "ppr/io/IOutputStream.hpp"
-#include "ppr/io/IInputStream.hpp"
-#include "ppr/io/IOException.hpp"
-#include "ppr/util/ifr/p"
-
-namespace apache
-{
-  namespace activemq
-  {
-    namespace command
-    {
-      using namespace ifr;
-      using namespace std;
-      using namespace apache::activemq;
-      using namespace apache::ppr::io;
-
-/*
- * 
- */
-class AbstractCommand : public ICommand
-{
-protected:
-    int  commandId ;
-    bool responseRequired ;
-
-protected:
-    AbstractCommand() : commandId (0), responseRequired (false) {}
-public:
-    virtual int getCommandId() ;
-    virtual void setCommandId(int id) ;
-    virtual bool getResponseRequired() ;
-    virtual void setResponseRequired(bool value) ;
-    virtual unsigned char getDataStructureType() ;
-
-    virtual bool isMarshallAware() ;
-    virtual int marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> writer) throw(IOException) ;
-    virtual void unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> reader) throw(IOException) ;
-
-    static p<IDataStructure> createObject(unsigned char type) ;
-    static p<string> getDataStructureTypeAsString(unsigned char type) ;
-} ;
-
-/* namespace */
-    }
-  }
-}
-
-#endif /*ActiveMQ_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 ActiveMQ_AbstractCommand_hpp_
+#define ActiveMQ_AbstractCommand_hpp_
+
+#include <string>
+#include "activemq/ICommand.hpp"
+#include "activemq/IDataStructure.hpp"
+#include "ppr/io/IOutputStream.hpp"
+#include "ppr/io/IInputStream.hpp"
+#include "ppr/io/IOException.hpp"
+#include "ppr/util/ifr/p"
+
+namespace apache
+{
+  namespace activemq
+  {
+    namespace command
+    {
+      using namespace ifr;
+      using namespace std;
+      using namespace apache::activemq;
+      using namespace apache::ppr::io;
+
+/*
+ * 
+ */
+class AbstractCommand : public ICommand
+{
+protected:
+    int  commandId ;
+    bool responseRequired ;
+
+protected:
+    AbstractCommand() : commandId (0), responseRequired (false) {}
+public:
+    virtual int getCommandId() ;
+    virtual void setCommandId(int id) ;
+    virtual bool getResponseRequired() ;
+    virtual void setResponseRequired(bool value) ;
+    virtual unsigned char getDataStructureType() ;
+
+    virtual bool isMarshallAware() ;
+    virtual int marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> writer) throw(IOException) ;
+    virtual void unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> reader) throw(IOException) ;
+
+    static p<IDataStructure> createObject(unsigned char type) ;
+    static p<string> getDataStructureTypeAsString(unsigned char type) ;
+} ;
+
+/* namespace */
+    }
+  }
+}
+
+#endif /*ActiveMQ_AbstractCommand_hpp_*/

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