activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r474601 - in /incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands: BaseDataStructure.h WireFormatInfo.h
Date Tue, 14 Nov 2006 00:16:00 GMT
Author: tabish
Date: Mon Nov 13 16:15:59 2006
New Revision: 474601

URL: http://svn.apache.org/viewvc?view=rev&rev=474601
Log:
Updates for planned Openwire Support

Modified:
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/BaseDataStructure.h
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/WireFormatInfo.h

Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/BaseDataStructure.h
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/BaseDataStructure.h?view=diff&rev=474601&r1=474600&r2=474601
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/BaseDataStructure.h
(original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/BaseDataStructure.h
Mon Nov 13 16:15:59 2006
@@ -23,6 +23,10 @@
 namespace activemq{
 namespace connector{
 namespace openwire{
+
+    // Forward Declare for now
+    class OpenWireFormat;
+    
 namespace commands{
 
     class BaseDataStructure : public DataStructure
@@ -39,6 +43,30 @@
         virtual bool isMarshallAware() const {
             return false;
         }
+
+        /**
+         * Perform any processing needed before an marshal
+         * @param wireformat - the OpenWireFormat object in use.
+         */
+        virtual void beforeMarshall( OpenWireFormat* wireFormat ) {}
+        
+        /**
+         * Perform any processing needed after an unmarshal
+         * @param wireformat - the OpenWireFormat object in use.
+         */
+        virtual void afterMarshall( OpenWireFormat* wireFormat ) {}
+        
+        /**
+         * Perform any processing needed before an unmarshal
+         * @param wireformat - the OpenWireFormat object in use.
+         */
+        virtual void beforeUnmarshall( OpenWireFormat* wireFormat ) {}
+        
+        /**
+         * Perform any processing needed after an unmarshal
+         * @param wireformat - the OpenWireFormat object in use.
+         */
+        virtual void afterUnmarshall( OpenWireFormat* wireFormat ) {}
 
     };
 

Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/WireFormatInfo.h
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/WireFormatInfo.h?view=diff&rev=474601&r1=474600&r2=474601
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/WireFormatInfo.h
(original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/WireFormatInfo.h
Mon Nov 13 16:15:59 2006
@@ -18,12 +18,14 @@
 #ifndef _ACTIVEMQ_CONNECTOR_OPENWIRE_COMMANDS_WIREFORMATINFO_H_
 #define _ACTIVEMQ_CONNECTOR_OPENWIRE_COMMANDS_WIREFORMATINFO_H_
 
+#include <activemq/connector/openwire/commands/BaseDataStructure.h>
+
 namespace activemq{
 namespace connector{
 namespace openwire{
 namespace commands{
 
-    class WireFormatInfo
+    class WireFormatInfo : public BaseDataStructure
     {
     public:
     



Mime
View raw message