You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Hanh-Missi Tran <Mi...@lifl.fr> on 2007/05/20 17:17:00 UTC
[SCXML] Event types
Hi
A TriggerEvent object is associated with a type (CALL_EVENT,
SIGNAL_EVENT, ..) but I don't know what they are used for. I look in
the source code but whenever an event is handled, its type is not used
(I'm wrong ?). So can someone tell me what they may be used for ?
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org
Re: [SCXML] Event types
Posted by Rahul Akolkar <ra...@gmail.com>.
On 5/20/07, Hanh-Missi Tran <Mi...@lifl.fr> wrote:
> Hi
>
> A TriggerEvent object is associated with a type (CALL_EVENT,
> SIGNAL_EVENT, ..) but I don't know what they are used for. I look in
> the source code but whenever an event is handled, its type is not used
> (I'm wrong ?). So can someone tell me what they may be used for ?
>
<snip/>
You are correct, the type information is not used.
One of the intents of providing that was to use it as potential basis
for priority (for example, a CHANGE_EVENT, since its usually a derived
event, would have a lower priority etc.) -- but that was never
realized in code (or spec).
-Rahul
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org