axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject cvs commit: ws-axis/c/src/transport/axis2 Channel.cpp Channel.h
Date Fri, 15 Oct 2004 10:42:26 GMT
samisa      2004/10/15 03:42:26

  Modified:    c/src/transport/axis2 Channel.cpp Channel.h
  Log:
  Added support to set an opened socket.
  
  Revision  Changes    Path
  1.4       +6 -1      ws-axis/c/src/transport/axis2/Channel.cpp
  
  Index: Channel.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/transport/axis2/Channel.cpp,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Channel.cpp	7 Oct 2004 12:39:34 -0000	1.3
  +++ Channel.cpp	15 Oct 2004 10:42:26 -0000	1.4
  @@ -65,7 +65,7 @@
   
   bool
   Channel::open () //std::string & p_RemoteNode, unsigned short p_RemoteEnd)
  -throw (AxisTransportException)
  +throw (AxisTransportException&)
   {
       if (!Init ())
   	throw AxisTransportException(SERVER_TRANSPORT_CHANNEL_INIT_ERROR);
  @@ -410,3 +410,8 @@
       return select(FD_SETSIZE, &set, NULL, NULL, &timeout);
   }
   
  +// This is used by SimpleAxisServer
  +void Channel::setSocket(unsigned int uiNewSocket)
  +{
  +    m_Sock = uiNewSocket;
  +}
  
  
  
  1.2       +4 -1      ws-axis/c/src/transport/axis2/Channel.h
  
  Index: Channel.h
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/transport/axis2/Channel.h,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Channel.h	21 Sep 2004 03:52:24 -0000	1.1
  +++ Channel.h	15 Oct 2004 10:42:26 -0000	1.2
  @@ -85,7 +85,7 @@
       URL& getURLObject() { return m_URL; };
   
       /* Open a socket to a given remote node/server address with remote port */
  -    virtual bool  open() throw (AxisTransportException);
  +    virtual bool  open() throw (AxisTransportException&);
   
       /* Close all open sockets and clean up */
       virtual void  close(){closeChannel();}
  @@ -108,6 +108,9 @@
       * @param lSeconds Timeout in seconds
       */
       void setTimeout(const long lSeconds);
  +    
  +    // This is used by SimpleAxisServer
  +    void setSocket(unsigned int uiNewSocket);
   
   protected:
       /* OS specific initilization */
  
  
  

Mime
View raw message