hi Vijay,

> Why is the init() function of calculatorWrapper.cpp
> being called 3 times. I know that one call is being
> made explicilty in the function GetClassInstance() of
> CalculatorService.cpp. What about the Others?

I went through the code and figured out this problem. I will fix this
problem. Thanks for pointing it out.

Roshan

On Tue, 2005-01-04 at 02:55, vijay ponnavolu wrote:
> Hello all,
> 
> I have been trying to understand how the webServices
> work, by tracing the execution path.
> 
> Below is the trace for the calculator exmaple:
> 
> CalculatorService.cpp(12): In 
> GetClassInstance(BasicHandler **inst)
> CalculatorWrapper.cpp(12): In the constructor for
> calculator wrapper
> Calculator.cpp(11): In the constructor for calculator
> CalculatorWrapper.cpp(29): In the init() for
> calculator wrapper
> CalculatorWrapper.cpp(29): In the init() for
> calculator wrapper
> CalculatorWrapper.cpp(29): In the init() for
> calculator wrapper
> CalculatorWrapper.cpp(46): In the invoke() for
> calculator wrapper
> CalculatorWrapper.cpp(69): In the add() for calculator
> wrapper
> Calculator.cpp(21): In the add() for calculator 30
> CalculatorWrapper.cpp(35): In the fini() for
> calculator wrapper
> 
> 
> Why is the init() function of calculatorWrapper.cpp
> being called 3 times. I know that one call is being
> made explicilty in the function GetClassInstance() of
> CalculatorService.cpp. What about the Others?
> 
> The other question is, when will the function
> "DestroyInstance()" in the CalculatorService.cpp be
> called?. Will it be called when you stop apache
> server?.
> 
> Thank you,
> Vijay
> 
> 
>               
> __________________________________ 
> Do you Yahoo!? 
> All your favorites on one personal page  Try My Yahoo!
> http://my.yahoo.com
> 

Reply via email to