W3C home > Mailing lists > Public > www-voice@w3.org > April to June 2007

RE: SCXML: <invoke> etc.

From: Serge Voloshenyuk <serge_voloshenyuk@yahoo.com>
Date: Mon, 14 May 2007 12:36:20 -0700 (PDT)
To: www-voice@w3.org
Message-ID: <113841.98351.qm@web34305.mail.mud.yahoo.com>
As for me, you exaggerate problem with multiple invocations.
Developer knows about potential problem with  rapid reentering and if this is substantively for his task, he has to avoid it by using <CancelResponse> event.


>So if the system receives "S1.done" right after 
>firing the <invoke> on its second entry into S1, 
>it does not know which invocation the event is a 
>response to - if the "S1.done" was sent as the 
>result of the first invocation, it should be ignored,
>should not trigger <finalize> processing and not 
>added to the event queue, but if it was sent as 
>the result of the second invocation, it should 
>trigger <finalize> and be added to the event queue.

But why you introduce event <CancelResponse>?

Existence of event <CancelResponse> presumes that between cancellation and   <CancelResponse> a lot of other events can be received from  invoking process. How must they be processed? If they must be ignored, what purpose of <CancelResponse>? 
And IMHO what to do with this events is prerogative of developer.
What do you think about this?




       
---------------------------------
Pinpoint customers who are looking for what you sell. 
Received on Monday, 14 May 2007 19:36:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 14 May 2007 19:36:35 GMT