activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r503288 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/OpenWireFormat.h
Date Sat, 03 Feb 2007 19:21:50 GMT
Author: tabish
Date: Sat Feb  3 11:21:49 2007
New Revision: 503288

URL: http://svn.apache.org/viewvc?view=rev&rev=503288
Log:
http://issues.apache.org/activemq/browse/AMQCPP-30

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/OpenWireFormat.h

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/OpenWireFormat.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/OpenWireFormat.h?view=diff&rev=503288&r1=503287&r2=503288
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/OpenWireFormat.h
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/OpenWireFormat.h
Sat Feb  3 11:21:49 2007
@@ -40,7 +40,7 @@
          * @param properties - can contain optional config params.
          */    
         OpenWireFormat( const activemq::util::Properties& properties );
-        
+
         virtual ~OpenWireFormat();
 
         /**
@@ -49,7 +49,7 @@
          * @param marshaller - the Marshaller to add to the collection.
          */
         void addMarshaller( DataStreamMarshaller* marshaller );
-        
+
         /**
          * Stream based marshaling
          * @param command - The Command to Marshal
@@ -78,7 +78,7 @@
         virtual int tightMarshalNestedObject1( commands::DataStructure* object, 
                                                utils::BooleanStream* bs )
             throw ( io::IOException );
-        
+
         /**
          * Utility method that will Tight marshall some internally nested object
          * that implements the DataStructure interface.  Writes the data to the
@@ -153,7 +153,7 @@
         bool isStackTraceEnabled() const {
             return stackTraceEnabled;
         }
-    
+
         /**
          * Sets if the stackTraceEnabled flag is on
          * @param stackTraceEnabled - ture to turn flag is on
@@ -161,7 +161,7 @@
         void setStackTraceEnabled( bool stackTraceEnabled ) {
             this->stackTraceEnabled = stackTraceEnabled;
         }
-    
+
         /**
          * Checks if the tcpNoDelayEnabled flag is on
          * @return true if the flag is on.
@@ -169,7 +169,7 @@
         bool isTcpNoDelayEnabled() const {
             return tcpNoDelayEnabled;
         }
-    
+
         /**
          * Sets if the tcpNoDelayEnabled flag is on
          * @param tcpNoDelayEnabled - ture to turn flag is on
@@ -177,7 +177,7 @@
         void setTcpNoDelayEnabled( bool tcpNoDelayEnabled ) {
             this->tcpNoDelayEnabled = tcpNoDelayEnabled;
         }
-    
+
         /**
          * Get the current Wireformat Version
          * @return int that identifies the version
@@ -185,7 +185,7 @@
         int getVersion() const {
             return version;
         }
-    
+
         /**
          * Set the current Wireformat Version
          * @param version - int that identifies the version
@@ -193,7 +193,7 @@
         void setVersion( int version ) {
             this->version = version;
         }
-    
+
         /**
          * Checks if the cacheEnabled flag is on
          * @return true if the flag is on.
@@ -201,7 +201,7 @@
         bool isCacheEnabled() const {
             return cacheEnabled;
         }
-    
+
         /**
          * Sets if the cacheEnabled flag is on
          * @param cacheEnabled - ture to turn flag is on
@@ -209,7 +209,7 @@
         void setCacheEnabled( bool cacheEnabled ) {
             this->cacheEnabled = cacheEnabled;
         }
-    
+
         /**
          * Checks if the tightEncodingEnabled flag is on
          * @return true if the flag is on.
@@ -217,7 +217,7 @@
         bool isTightEncodingEnabled() const {
             return tightEncodingEnabled;
         }
-    
+
         /**
          * Sets if the tightEncodingEnabled flag is on
          * @param tightEncodingEnabled - ture to turn flag is on
@@ -225,7 +225,7 @@
         void setTightEncodingEnabled( bool tightEncodingEnabled ) {
             this->tightEncodingEnabled = tightEncodingEnabled;
         }
-    
+
         /**
          * Checks if the sizePrefixDisabled flag is on
          * @return true if the flag is on.
@@ -233,7 +233,7 @@
         bool isSizePrefixDisabled() const {
             return sizePrefixDisabled;
         }
-    
+
         /**
          * Sets if the sizePrefixDisabled flag is on
          * @param sizePrefixDisabled - ture to turn flag is on
@@ -241,7 +241,7 @@
         void setSizePrefixDisabled( bool sizePrefixDisabled ) {
             this->sizePrefixDisabled = sizePrefixDisabled;
         }
-    
+
         /**
          * Get the current value of the maxInactivityDuration feild
          * @return the value of the maxInactivityDuration
@@ -249,7 +249,7 @@
         long getMaxInactivityDuration() const {
             return maxInactivityDuration;
         }
-    
+
         /**
          * Set the current Wireformat Version
          * @param version - int that identifies the version
@@ -259,7 +259,7 @@
         }
 
     protected:
-    
+
         /**
          * Perform the actual unmarshal of data from the given DataInputStream
          * return the unmarshalled DataStrucutre object once done, caller takes 
@@ -278,19 +278,19 @@
         static const unsigned char NULL_TYPE; 
 
     private:
-    
+
         // This object config data
         activemq::util::SimpleProperties properties;
-        
+
         // Prefered WireFormatInfo
         commands::WireFormatInfo* preferedWireFormatInfo;
-        
+
         // Marshallers
         std::vector< DataStreamMarshaller* > dataMarshallers;
-        
+
         // Uniquely Generated ID, initialize in the Ctor
         std::string id;
-        
+
         // WireFormat Data
         int version;
         bool stackTraceEnabled;
@@ -299,7 +299,7 @@
         bool tightEncodingEnabled;
         bool sizePrefixDisabled;
         int maxInactivityDuration;
-    
+
     };
 
 }}}



Mime
View raw message