commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mansour Al Akeel <mansour.alak...@gmail.com>
Subject Re: [SCXML] How to obtain a collection of valid events
Date Sat, 21 May 2016 01:36:20 GMT
Woonsan,
Thank you for replying.
>From what you said, I can conclude that this is not supported or
offered by SCXML. Am I right here?
AFAIR an FSM should report if the token is recognized or not, and not
just complete the transition/ignore the token silently.. If I am right
here as well, then this use case is not specific to me.
Do you see in the future, this will be supported by SCXML ? Should we
open a JIRA ticket ?

Thank you


On Mon, May 16, 2016 at 10:04 AM, Woonsan Ko <woonsan@apache.org> wrote:
> Hi Mansour,
>
> I don't see any convenient method to easily figure out what are
> available event names for transitions like your use case needs.
> All the knowledge about that is encapsulated in
> org.apache.commons.scxml2.semantics.SCXMLSemanticsImpl internally, so
> you might want to take a look at it. SCXMLSemantics is not exposed to
> applications from the execution context.
>
> Regards,
>
> Woonsan
>
>
> On Sat, May 14, 2016 at 9:19 AM, Mansour Al Akeel
> <mansour.alakeel@gmail.com> wrote:
>> Hello all,
>>
>> Based on my understanding, a state machine provides feedback about the
>> input. If the token is not recognized, it should report this.
>>
>> I am prototyping in SCXML, and trying to find a way to find if the
>> supplied event/token is recognized or not. I am unable to find a way
>> to tell. May be someone else had luck with this, and can share the way
>> with me.
>>
>> So my question is, I am working in an AbstractStateMachine, and I have
>> an instance of SCXMLExcutor obtained from getEngine(). How can I find
>> the valid inputs ??
>>
>>
>> Thank you
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
>> For additional commands, e-mail: user-help@commons.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message