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 2004/12/20 09:36:14 UTC

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

samisa      2004/12/20 00:36:14

  Modified:    c/src/engine/client Stub.cpp
  Log:
  Changes to API in line with fixes for AXISCPP-316 - Spelling mistakes in API names. Changed 'Trasport' to 'Transport'.
  
  Revision  Changes    Path
  1.30      +25 -25    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.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- Stub.cpp	23 Nov 2004 17:21:04 -0000	1.29
  +++ Stub.cpp	20 Dec 2004 08:36:14 -0000	1.30
  @@ -31,7 +31,7 @@
       m_pCall = new Call();
       m_pCall->setProtocol(eProtocol);
       m_pCall->setEndpointURI(pcEndPointUri);
  -    m_pTrasport = m_pCall->getTransport();
  +    m_pTransport = m_pCall->getTransport();
   
   	// Initialise m_viCurrentSOAPMethodAttribute to something sensible 
   	// in case getFirstSOAPMethodAttribute isn't called first.
  @@ -54,53 +54,53 @@
   
   void Stub::setTransportProperty(const char *pcKey, const char *pcValue)
   {
  -    if (m_pTrasport)
  -        m_pTrasport->setTransportProperty(pcKey, pcValue);
  +    if (m_pTransport)
  +        m_pTransport->setTransportProperty(pcKey, pcValue);
   }
   
   
  -const char* Stub::getFirstTrasportPropertyKey()
  +const char* Stub::getFirstTransportPropertyKey()
   {
  -    if (m_pTrasport)
  -        return m_pTrasport->getFirstTrasportPropertyKey();
  +    if (m_pTransport)
  +        return m_pTransport->getFirstTransportPropertyKey();
       else
           return NULL;
   }
   
  -const char* Stub::getNextTrasportPropertyKey()
  +const char* Stub::getNextTransportPropertyKey()
   {
  -    if (m_pTrasport)
  -        return m_pTrasport->getNextTrasportPropertyKey();
  +    if (m_pTransport)
  +        return m_pTransport->getNextTransportPropertyKey();
       else
           return NULL;
   }
   
  -const char* Stub::getCurrentTrasportPropertyKey()
  +const char* Stub::getCurrentTransportPropertyKey()
   {
  -    if (m_pTrasport)
  -        return m_pTrasport->getCurrentTrasportPropertyKey();
  +    if (m_pTransport)
  +        return m_pTransport->getCurrentTransportPropertyKey();
       else
           return NULL;
   }
   
  -const char* Stub::getCurrentTrasportPropertyValue()
  +const char* Stub::getCurrentTransportPropertyValue()
   {
  -    if (m_pTrasport)
  -        return m_pTrasport->getCurrentTrasportPropertyValue();
  +    if (m_pTransport)
  +        return m_pTransport->getCurrentTransportPropertyValue();
       else
           return NULL;
   }
   
  -void Stub::deleteCurrentTrasportProperty()
  +void Stub::deleteCurrentTransportProperty()
   {
  -    if (m_pTrasport)
  -        m_pTrasport->deleteCurrentTrasportProperty();
  +    if (m_pTransport)
  +        m_pTransport->deleteCurrentTransportProperty();
   }
   
  -void Stub::deleteTrasportProperty(char* pcKey, unsigned int uiOccurance)
  +void Stub::deleteTransportProperty(char* pcKey, unsigned int uiOccurance)
   {
  -    if (m_pTrasport)
  -        m_pTrasport->deleteTrasportProperty(pcKey, uiOccurance);
  +    if (m_pTransport)
  +        m_pTransport->deleteTransportProperty(pcKey, uiOccurance);
   }
   
   void Stub::setHandlerProperty(AxisChar* name, void* value, int len)
  @@ -316,9 +316,9 @@
   
   void Stub::setTransportTimeout(const long lSeconds)
   {
  -    if (m_pTrasport)
  +    if (m_pTransport)
       {
  -        m_pTrasport->setTimeout(lSeconds);
  +        m_pTransport->setTimeout(lSeconds);
       }
   }
   
  @@ -338,9 +338,9 @@
   
   void Stub::setMaintainSession(bool bSession)
   {
  -    if (m_pTrasport)
  +    if (m_pTransport)
       {
  -        m_pTrasport->setMaintainSession(bSession);
  +        m_pTransport->setMaintainSession(bSession);
       }
   }