You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by di...@apache.org on 2006/01/26 16:31:43 UTC

svn commit: r372545 - in /webservices/axis/trunk/c: include/axis/client/ src/engine/client/ src/server/apache/ src/server/apache2/ src/server/simple_axis_server/ src/transport/ src/transport/axis3/ src/transport/axis3/HTTPChannel/ src/transport/axis3/H...

Author: dicka
Date: Thu Jan 26 07:31:28 2006
New Revision: 372545

URL: http://svn.apache.org/viewcvs?rev=372545&view=rev
Log:
Remove redundant "const" on input parameter to Stub::setTransportTimeout(), as this causes issues on some Unix platforms.

Modified:
    webservices/axis/trunk/c/include/axis/client/Stub.hpp
    webservices/axis/trunk/c/src/engine/client/Stub.cpp
    webservices/axis/trunk/c/src/server/apache/ApacheTransport.h
    webservices/axis/trunk/c/src/server/apache2/Apache2Transport.h
    webservices/axis/trunk/c/src/server/simple_axis_server/SimpleAxisTransport.h
    webservices/axis/trunk/c/src/transport/SOAPTransport.h
    webservices/axis/trunk/c/src/transport/axis3/HTTPChannel/HTTPChannel.cpp
    webservices/axis/trunk/c/src/transport/axis3/HTTPChannel/HTTPChannel.hpp
    webservices/axis/trunk/c/src/transport/axis3/HTTPSSLChannel/HTTPSSLChannel.cpp
    webservices/axis/trunk/c/src/transport/axis3/HTTPSSLChannel/HTTPSSLChannel.hpp
    webservices/axis/trunk/c/src/transport/axis3/HTTPTransport.cpp
    webservices/axis/trunk/c/src/transport/axis3/HTTPTransport.hpp
    webservices/axis/trunk/c/src/transport/axis3/IChannel.hpp

Modified: webservices/axis/trunk/c/include/axis/client/Stub.hpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/include/axis/client/Stub.hpp?rev=372545&r1=372544&r2=372545&view=diff
==============================================================================
--- webservices/axis/trunk/c/include/axis/client/Stub.hpp (original)
+++ webservices/axis/trunk/c/include/axis/client/Stub.hpp Thu Jan 26 07:31:28 2006
@@ -447,7 +447,7 @@
     *                 timeout. Hence you want to reset a timeout already set
     *                 use 0.
     */
-    void setTransportTimeout(const long lSeconds);
+    void setTransportTimeout(long lSeconds);
   /**
     * Get the status of the stub to see any error situation
     */

Modified: webservices/axis/trunk/c/src/engine/client/Stub.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/src/engine/client/Stub.cpp?rev=372545&r1=372544&r2=372545&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/engine/client/Stub.cpp (original)
+++ webservices/axis/trunk/c/src/engine/client/Stub.cpp Thu Jan 26 07:31:28 2006
@@ -324,7 +324,7 @@
 }
 
 void
-Stub::setTransportTimeout (const long lSeconds)
+Stub::setTransportTimeout (long lSeconds)
 {
     if (m_pTransport)
     {

Modified: webservices/axis/trunk/c/src/server/apache/ApacheTransport.h
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/src/server/apache/ApacheTransport.h?rev=372545&r1=372544&r2=372545&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/server/apache/ApacheTransport.h (original)
+++ webservices/axis/trunk/c/src/server/apache/ApacheTransport.h Thu Jan 26 07:31:28 2006
@@ -101,7 +101,7 @@
     *
     * @param lSeconds Timeout in seconds
     */
-    void setTimeout(const long lSeconds) {};
+    void setTimeout(long lSeconds) {};
 
 private:
     AttachmentHelper* pAttachmentHelper;

Modified: webservices/axis/trunk/c/src/server/apache2/Apache2Transport.h
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/src/server/apache2/Apache2Transport.h?rev=372545&r1=372544&r2=372545&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/server/apache2/Apache2Transport.h (original)
+++ webservices/axis/trunk/c/src/server/apache2/Apache2Transport.h Thu Jan 26 07:31:28 2006
@@ -89,7 +89,7 @@
     *
     * @param lSeconds Timeout in seconds
     */
-    void setTimeout(const long lSeconds) {};
+    void setTimeout(long lSeconds) {};
 
 private:
 	AttachmentHelper* pAttachmentHelper;

Modified: webservices/axis/trunk/c/src/server/simple_axis_server/SimpleAxisTransport.h
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/src/server/simple_axis_server/SimpleAxisTransport.h?rev=372545&r1=372544&r2=372545&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/server/simple_axis_server/SimpleAxisTransport.h (original)
+++ webservices/axis/trunk/c/src/server/simple_axis_server/SimpleAxisTransport.h Thu Jan 26 07:31:28 2006
@@ -90,7 +90,7 @@
     *
     * @param lSeconds Timeout in seconds
     */
-    void setTimeout (const long lSeconds)
+    void setTimeout (long lSeconds)
     {
     };
 

Modified: webservices/axis/trunk/c/src/transport/SOAPTransport.h
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/src/transport/SOAPTransport.h?rev=372545&r1=372544&r2=372545&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/transport/SOAPTransport.h (original)
+++ webservices/axis/trunk/c/src/transport/SOAPTransport.h Thu Jan 26 07:31:28 2006
@@ -397,7 +397,7 @@
     *
     * @param lSeconds Timeout in seconds
     */
-    virtual void setTimeout(const long lSeconds) = 0;
+    virtual void setTimeout(long lSeconds) = 0;
     
   /**    
     * Iterator initiatior for transport property keys

Modified: webservices/axis/trunk/c/src/transport/axis3/HTTPChannel/HTTPChannel.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/src/transport/axis3/HTTPChannel/HTTPChannel.cpp?rev=372545&r1=372544&r2=372545&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/transport/axis3/HTTPChannel/HTTPChannel.cpp (original)
+++ webservices/axis/trunk/c/src/transport/axis3/HTTPChannel/HTTPChannel.cpp Thu Jan 26 07:31:28 2006
@@ -311,7 +311,7 @@
  * @param long containing timeout value in seconds
  */
 
-void HTTPChannel::setTimeout( const long lSeconds)
+void HTTPChannel::setTimeout( long lSeconds)
 {
     m_lTimeoutSeconds = lSeconds;
 }

Modified: webservices/axis/trunk/c/src/transport/axis3/HTTPChannel/HTTPChannel.hpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/src/transport/axis3/HTTPChannel/HTTPChannel.hpp?rev=372545&r1=372544&r2=372545&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/transport/axis3/HTTPChannel/HTTPChannel.hpp (original)
+++ webservices/axis/trunk/c/src/transport/axis3/HTTPChannel/HTTPChannel.hpp Thu Jan 26 07:31:28 2006
@@ -75,7 +75,7 @@
     const std::string &	GetLastErrorMsg();
     const IChannel &	operator >> (const char * msg);
     const IChannel &	operator << (const char * msg);
-    void				setTimeout( const long lSeconds);
+    void				setTimeout( long lSeconds);
     void				setSocket( unsigned int uiNewSocket);
 	bool				setTransportProperty( AXIS_TRANSPORT_INFORMATION_TYPE type, const char * value);
 	const char *		getTransportProperty( AXIS_TRANSPORT_INFORMATION_TYPE type);

Modified: webservices/axis/trunk/c/src/transport/axis3/HTTPSSLChannel/HTTPSSLChannel.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/src/transport/axis3/HTTPSSLChannel/HTTPSSLChannel.cpp?rev=372545&r1=372544&r2=372545&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/transport/axis3/HTTPSSLChannel/HTTPSSLChannel.cpp (original)
+++ webservices/axis/trunk/c/src/transport/axis3/HTTPSSLChannel/HTTPSSLChannel.cpp Thu Jan 26 07:31:28 2006
@@ -270,7 +270,7 @@
  * @param long containing timeout value in seconds
  */
 
-void HTTPSSLChannel::setTimeout( const long lSeconds)
+void HTTPSSLChannel::setTimeout( long lSeconds)
 {
     m_lTimeoutSeconds = lSeconds;
 }

Modified: webservices/axis/trunk/c/src/transport/axis3/HTTPSSLChannel/HTTPSSLChannel.hpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/src/transport/axis3/HTTPSSLChannel/HTTPSSLChannel.hpp?rev=372545&r1=372544&r2=372545&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/transport/axis3/HTTPSSLChannel/HTTPSSLChannel.hpp (original)
+++ webservices/axis/trunk/c/src/transport/axis3/HTTPSSLChannel/HTTPSSLChannel.hpp Thu Jan 26 07:31:28 2006
@@ -77,7 +77,7 @@
     const std::string &	GetLastErrorMsg();
     const IChannel &	operator >> (const char * msg);
     const IChannel &	operator << (const char * msg);
-    void				setTimeout( const long lSeconds);
+    void				setTimeout( long lSeconds);
     void				setSocket( unsigned int uiNewSocket);
 	bool				setTransportProperty( AXIS_TRANSPORT_INFORMATION_TYPE type, const char* value);
 	const char *		getTransportProperty( AXIS_TRANSPORT_INFORMATION_TYPE type);

Modified: webservices/axis/trunk/c/src/transport/axis3/HTTPTransport.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/src/transport/axis3/HTTPTransport.cpp?rev=372545&r1=372544&r2=372545&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/transport/axis3/HTTPTransport.cpp (original)
+++ webservices/axis/trunk/c/src/transport/axis3/HTTPTransport.cpp Thu Jan 26 07:31:28 2006
@@ -991,9 +991,9 @@
  * current maximum timeout period between that can elapse between receiving
  * message parts.
  *
- * @param const long Timeout is a long value in seconds.
+ * @param long Timeout is a long value in seconds.
  */
-void HTTPTransport::setTimeout( const long lSeconds)
+void HTTPTransport::setTimeout( long lSeconds)
 {
 	if( m_pActiveChannel != NULL)
 	{

Modified: webservices/axis/trunk/c/src/transport/axis3/HTTPTransport.hpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/src/transport/axis3/HTTPTransport.hpp?rev=372545&r1=372544&r2=372545&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/transport/axis3/HTTPTransport.hpp (original)
+++ webservices/axis/trunk/c/src/transport/axis3/HTTPTransport.hpp Thu Jan 26 07:31:28 2006
@@ -88,7 +88,7 @@
     int						getSubProtocol();
     AXIS_TRANSPORT_STATUS	flushOutput() throw (AxisException, HTTPTransportException);
     void					setProxy( const char *pcProxyHost, unsigned int uiProxyPort);
-    void					setTimeout( const long lSeconds);
+    void					setTimeout( long lSeconds);
     const char *			getHTTPProtocol();
     const char *			getHTTPMethod();
     void					setHTTPMethod( const char *);

Modified: webservices/axis/trunk/c/src/transport/axis3/IChannel.hpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/src/transport/axis3/IChannel.hpp?rev=372545&r1=372544&r2=372545&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/transport/axis3/IChannel.hpp (original)
+++ webservices/axis/trunk/c/src/transport/axis3/IChannel.hpp Thu Jan 26 07:31:28 2006
@@ -47,7 +47,7 @@
     virtual const IChannel&		operator << (const char * msg)=0;
 	virtual int					setSecureProperties( const char *) {return true;};
 	virtual const char *		getSecureProperties() {return NULL;};
-    virtual void				setTimeout( const long lSeconds)=0;
+    virtual void				setTimeout( long lSeconds)=0;
     virtual void				setSocket( unsigned int uiNewSocket)=0;
 	virtual bool				setTransportProperty( AXIS_TRANSPORT_INFORMATION_TYPE type, const char* value)=0;
 	virtual const char *		getTransportProperty( AXIS_TRANSPORT_INFORMATION_TYPE type)=0;