axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ros...@apache.org
Subject cvs commit: ws-axis/c/src/engine HandlerChain.cpp
Date Fri, 13 Feb 2004 07:47:54 GMT
roshan      2004/02/12 23:47:54

  Modified:    c/src/engine HandlerChain.cpp
  Log:
  code to support Handlers
  
  Revision  Changes    Path
  1.13      +19 -0     ws-axis/c/src/engine/HandlerChain.cpp
  
  Index: HandlerChain.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/engine/HandlerChain.cpp,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- HandlerChain.cpp	3 Feb 2004 13:04:47 -0000	1.12
  +++ HandlerChain.cpp	13 Feb 2004 07:47:54 -0000	1.13
  @@ -89,6 +89,7 @@
   	while (m_itCurrHandler != m_HandlerList.end())
   	{        
   		BasicHandler* pHandler = (*m_itCurrHandler).m_pHandler; 
  +		/*
   		if (AXIS_SUCCESS == pHandler->_functions->Invoke(pHandler->_object, pMsg))
   		{            
   			m_itCurrHandler++;
  @@ -98,6 +99,24 @@
               AXISTRACE1("Handler invoke not successful", WARN);            
   			OnFault(pMsg);
   			return AXIS_FAIL;
  +		}
  +		*/
  +		//----------change by roshan on 12Feb2004-------------
  +		if (0 != pHandler->_functions)
  +		{
  +			/* This is a C Handler */
  +		} else if (0 != pHandler->_object)
  +		{
  +			if (AXIS_SUCCESS == ((Handler*)(pHandler->_object))->Invoke(pMsg))
  +			{            
  +				m_itCurrHandler++;
  +			}
  +			else
  +			{
  +				AXISTRACE1("Handler invoke not successful", WARN);            
  +				OnFault(pMsg);
  +				return AXIS_FAIL;
  +			}
   		}
   	}
   	
  
  
  

Mime
View raw message