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 pr...@apache.org on 2005/01/11 12:43:38 UTC
cvs commit: ws-axis/c/src/transport/axis3/HTTPChannel HTTPChannel.hpp HTTPChannel.cpp
prestonf 2005/01/11 03:43:38
Modified: c/src/transport/axis3/HTTPChannel HTTPChannel.hpp
HTTPChannel.cpp
Log:
Hi All,
These are modifications needed for the draft of the new http transport implementation AXIS3 (see AXISCPP-361).
Regards,
Fred Preston.
Revision Changes Path
1.5 +1 -1 ws-axis/c/src/transport/axis3/HTTPChannel/HTTPChannel.hpp
Index: HTTPChannel.hpp
===================================================================
RCS file: /home/cvs/ws-axis/c/src/transport/axis3/HTTPChannel/HTTPChannel.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- HTTPChannel.hpp 10 Jan 2005 15:26:00 -0000 1.4
+++ HTTPChannel.hpp 11 Jan 2005 11:43:38 -0000 1.5
@@ -56,8 +56,8 @@
virtual void setURL( const char * cpURL);
virtual URL & getURLObject();
bool open() throw (HTTPTransportException&);
+ bool close();
const std::string & GetLastErrorMsg();
-// const IChannel & operator >> (std::string& msg);
const IChannel & operator >> (const char * msg);
const IChannel & operator << (const char * msg);
void setTimeout( const long lSeconds);
1.4 +12 -0 ws-axis/c/src/transport/axis3/HTTPChannel/HTTPChannel.cpp
Index: HTTPChannel.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/src/transport/axis3/HTTPChannel/HTTPChannel.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- HTTPChannel.cpp 10 Jan 2005 15:26:00 -0000 1.3
+++ HTTPChannel.cpp 11 Jan 2005 11:43:38 -0000 1.4
@@ -71,6 +71,18 @@
return bSuccess;
}
+bool HTTPChannel::close()
+{
+ if( m_Sock != INVALID_SOCKET)
+ {
+ CloseChannel();
+ }
+
+ m_Sock = INVALID_SOCKET;
+
+ return AXIS_SUCCESS;
+}
+
const std::string & HTTPChannel::GetLastErrorMsg()
{
return m_LastError;