Question on Multiple Opertion on a single CTelephony Session
| Tue, 2008-08-26 11:10 | |
|
Hello to you all , I Have a quesiton : I have read the CCallHandler Example over the Internet and i wanted to know the following : void CCallHandler::RunL()Regards , Yotam |
|






Forum posts: 683
One active object can only have one and only one outstanding asynchronous request going on at any time. So as long as your different requests are executed in queue, one after another, it's OK. But you have to wait the completion of the current request before launching a new one. If you want simultaneous requests, you need many active objects.
Forum posts: 48
so stopping one , and after that executing the other , correct ?
In Example :
If i hangup already , i know i am in Idle State , so i DoCancel() on the last request and perform the next assignment?
Forum posts: 683
When your AO is idle (no asynch request ongoing) you can safely start a new one. In case you do have a request active, just call Cancel (which will call DoCancel where you do your canceling, depending on state).
Forum posts: 48
I understand , thank you .