You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by na...@apache.org on 2007/02/13 19:27:48 UTC

svn commit: r507142 - in /webservices/axis/trunk/c/src/transport/axis3: HTTPChannel/HTTPChannel.hpp HTTPSSLChannel/HTTPSSLChannel.hpp IChannel.hpp

Author: nadiramra
Date: Tue Feb 13 10:27:47 2007
New Revision: 507142

URL: http://svn.apache.org/viewvc?view=rev&rev=507142
Log:
AXISCPP-481 - connection close problems - implement reopenRequired() channel interface

Modified:
    webservices/axis/trunk/c/src/transport/axis3/HTTPChannel/HTTPChannel.hpp
    webservices/axis/trunk/c/src/transport/axis3/HTTPSSLChannel/HTTPSSLChannel.hpp
    webservices/axis/trunk/c/src/transport/axis3/IChannel.hpp

Modified: webservices/axis/trunk/c/src/transport/axis3/HTTPChannel/HTTPChannel.hpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/transport/axis3/HTTPChannel/HTTPChannel.hpp?view=diff&rev=507142&r1=507141&r2=507142
==============================================================================
--- webservices/axis/trunk/c/src/transport/axis3/HTTPChannel/HTTPChannel.hpp (original)
+++ webservices/axis/trunk/c/src/transport/axis3/HTTPChannel/HTTPChannel.hpp Tue Feb 13 10:27:47 2007
@@ -80,7 +80,7 @@
 	bool				setTransportProperty( AXIS_TRANSPORT_INFORMATION_TYPE type, const char * value);
 	const char *		getTransportProperty( AXIS_TRANSPORT_INFORMATION_TYPE type);
     void				setProxy( const char * pcProxyHost, unsigned int uiProxyPort);
-	virtual bool		reopenRequired() throw() { return false; }
+	bool		        reopenRequired() { return (INVALID_SOCKET == m_Sock); }
 	void				closeQuietly( bool bNoExceptionOnForceClose);
 
 protected:

Modified: webservices/axis/trunk/c/src/transport/axis3/HTTPSSLChannel/HTTPSSLChannel.hpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/transport/axis3/HTTPSSLChannel/HTTPSSLChannel.hpp?view=diff&rev=507142&r1=507141&r2=507142
==============================================================================
--- webservices/axis/trunk/c/src/transport/axis3/HTTPSSLChannel/HTTPSSLChannel.hpp (original)
+++ webservices/axis/trunk/c/src/transport/axis3/HTTPSSLChannel/HTTPSSLChannel.hpp Tue Feb 13 10:27:47 2007
@@ -82,7 +82,7 @@
 	bool				setTransportProperty( AXIS_TRANSPORT_INFORMATION_TYPE type, const char* value);
 	const char *		getTransportProperty( AXIS_TRANSPORT_INFORMATION_TYPE type);
     void				setProxy( const char * pcProxyHost, unsigned int uiProxyPort);
-	virtual bool		reopenRequired() throw() { return false; }
+	bool		        reopenRequired() { return (INVALID_SOCKET == m_Sock); }
 	void				closeQuietly( bool bNoExceptionOnForceClose);
 
 protected:

Modified: webservices/axis/trunk/c/src/transport/axis3/IChannel.hpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/transport/axis3/IChannel.hpp?view=diff&rev=507142&r1=507141&r2=507142
==============================================================================
--- webservices/axis/trunk/c/src/transport/axis3/IChannel.hpp (original)
+++ webservices/axis/trunk/c/src/transport/axis3/IChannel.hpp Tue Feb 13 10:27:47 2007
@@ -58,8 +58,8 @@
     virtual int                 getSocket()=0;
     virtual bool                setTransportProperty( AXIS_TRANSPORT_INFORMATION_TYPE type, const char* value)=0;
     virtual const char *        getTransportProperty( AXIS_TRANSPORT_INFORMATION_TYPE type)=0;
-    virtual void                setProxy(const char *pcProxyHost,unsigned int uiProxyPort) = 0;
-    virtual bool                reopenRequired() throw() = 0;
+    virtual void                setProxy(const char *pcProxyHost,unsigned int uiProxyPort)=0;
+    virtual bool                reopenRequired()=0;
     virtual void                closeQuietly( bool bNoExceptionOnForceClose) = 0;
 };
 



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org