Subject: RE: SDL-News: sub-state machine and persistent state
john.svensson#telelogic.com
Date: Thu Feb 13 2003 - 07:54:37 GMT
Hello,
To me it sounds like you should model this with SDL services instead of
procedures. That would allow you to have a set of behavioral descriptions
that remembers their state.
Best regards,
John Svensson
----------------------------------------------------------------------------
------------------------------------------
John Svensson
Telelogic Technologies AB, PO Box 4128, SE-203 12 Malmö, Sweden
Phone: +46 40-17 47 45, +46-705 17 47 72
fax: +46 40-17 47 47
mailto: john.svensson#telelogic.com
http://www.telelogic.com <http://www.telelogic.com/>
----------------------------------------------------------------------------
------------------------------------------
Telelogic - Putting you ahead in development!
----------------------------------------------------------------------------
------------------------------------------
-----Original Message-----
From: Scott Shen [mailto:Scott.Shen#holleycomm.com]
Sent: den 12 februari 2003 23:02
To: Sdlnews (E-mail)
Subject: SDL-news: sub-state machine and persistent state
Hi:
Does anyone know how to model sub-state machine in SDL? Is it correct to say
that we can define sub-state machines in procedures but whenever the
procedure is called the sub-state always starts from "start"?
Now I want to have multiple sub-state machines (each is run in a procedure)
running concurrently inside a process, therefore every time the process
leaves and returns to a procedure the revisited procedure should remember
what was its last sub-state and resume from the same sub-state. Is there any
way allow me to do something like that in SDL? Or, is there a better (the
right way) approach?
Thanks,
Scott Shen
Sr. Software Architect
Holley Communications Canada Inc.
scott.shen#holleycomm.com
Tel: 604.233.3804, Fax: 604.231.8745
##300-13775 Commerce Parkway
Richmond, BC V6V 2V4
Canada
----------------------------------------------------------------------------------------------------------------------
John Svensson
Telelogic Technologies AB,
PO Box 4128, SE-203 12 Malmö, Sweden
Phone: +46 40-17 47 45, +46-705 17 47 72
fax: +46 40-17 47 47
mailto: john.svensson#telelogic.com
http://www.telelogic.com
----------------------------------------------------------------------------------------------------------------------
Telelogic - Putting you ahead in
development!
----------------------------------------------------------------------------------------------------------------------
--End text from john.svensson#telelogic.com to sdlnews --- For extra SDL Forum Society benefits join at-----Original Message-----
From: Scott Shen [mailto:Scott.Shen#holleycomm.com]
Sent: den 12 februari 2003 23:02
To: Sdlnews (E-mail)
Subject: SDL-News: sub-state machine and persistent stateHi:Does anyone know how to model sub-state machine in SDL? Is it correct to say that we can define sub-state machines in procedures but whenever the procedure is called the sub-state always starts from "start"?Now I want to have multiple sub-state machines (each is run in a procedure) running concurrently inside a process, therefore every time the process leaves and returns to a procedure the revisited procedure should remember what was its last sub-state and resume from the same sub-state. Is there any way allow me to do something like that in SDL? Or, is there a better (the right way) approach?Thanks,Scott Shen
Sr. Software Architect
Holley Communications Canada Inc.
scott.shen#holleycomm.com
Tel: 604.233.3804, Fax: 604.231.8745##300-13775 Commerce Parkway
Richmond, BC V6V 2V4
Canada
This archive was generated by hypermail 2a23 : Thu May 09 2013 - 16:05:49 GMT