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 sa...@apache.org on 2005/06/07 07:00:19 UTC

cvs commit: ws-axis/c/src/engine/client Stub.cpp

samisa      2005/06/06 22:00:19

  Modified:    c/src/engine/client Stub.cpp
  Log:
  Fixed the set proxy to use the transport object direstly
  
  Revision  Changes    Path
  1.46      +6 -4      ws-axis/c/src/engine/client/Stub.cpp
  
  Index: Stub.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/engine/client/Stub.cpp,v
  retrieving revision 1.45
  retrieving revision 1.46
  diff -u -r1.45 -r1.46
  --- Stub.cpp	2 Jun 2005 03:23:30 -0000	1.45
  +++ Stub.cpp	7 Jun 2005 05:00:19 -0000	1.46
  @@ -177,7 +177,7 @@
   Stub::deleteTransportProperty (char *pcKey, unsigned int uiOccurance)
   {
       if (m_pTransport)
  -	m_pTransport->deleteTransportProperty (pcKey, uiOccurance);
  +	    m_pTransport->deleteTransportProperty (pcKey, uiOccurance);
   }
   
   void
  @@ -298,8 +298,10 @@
   void
   Stub::setProxy (const char *pcProxyHost, unsigned int uiProxyPort)
   {
  -    //TODO - Samisa - This need to change in line with the changes to call open connection
  -    m_pCall->setProxy (pcProxyHost, uiProxyPort);
  +    if (m_pTransport)
  +    {
  +        m_pTransport->setProxy (pcProxyHost, uiProxyPort);
  +    }
   }
   
   void
  @@ -307,7 +309,7 @@
   {
       if (m_pTransport)
       {
  -	m_pTransport->setTimeout (lSeconds);
  +        m_pTransport->setTimeout (lSeconds);
       }
   }