RE: SDL-News: SDL Service Specifications


Subject: RE: SDL-News: SDL Service Specifications
From: Sanders Richard (Richard.Sanders#informatics.sintef.no)
Date: Thu Mar 29 2001 - 18:31:37 GMT


Become an SDL Forum Society member <http://www.sdl-forum.org/Society/members.htm>
The originator of this message is responsible for its content.
-----From Sanders Richard <Richard.Sanders#informatics.sintef.no> to sdlnews -----

Dear Lee Kilayko-Domingo

The advantage with Services is that they can share common data. The
disadvantage is that they are mutually exclusive (they share the same
queue), and that they have to have disjunctive input signals sets (since the
current signal consumed from the queue determines which service is to run).
This way force unwanted renaming of signals just because you are using
Services.

So, generally speaking, one tends to prefer processes, unless one
particularly wants to share data between the state machines, in which case
Services is one way of solving it (but not the only; remote procedures,
operations on data types or signalling to a "database" process are other
ways of sharing data).

Testing and debugging is sometimes harder to cope with using Services (as
the test observer can get confused as to what service the input signal is
invoking).

Good luck with your SDL work!

Let me take the opportunity of drawing attention to our SDL methods book,
TIMe - The Integrated Method, available at www.sintef.no/time

- Richard

> -----Original Message-----
> From: lkilayko-domingo#opuswave.com
> [mailto:lkilayko-domingo#opuswave.com]
> Sent: 29 mars 2001 02:11
> To: sdlnews#sdl-forum.org
> Subject: SDL-news: SDL Service Specifications
>
>
> Become an SDL Forum Society member
> <http://www.sdl-forum.org/Society/members.htm>
> The originator of this message is responsible for its content.
> -----From lkilayko-domingo#opuswave.com to sdlnews -----
>
> Hello -
>
> I am a relatively new SDL developer and some colleagues
> referred me to this
> forum for advise on the use of SDL service specifications.
>
> We develop with Telelogic TAU 3.6.2 and use the Cadvanced
> code generator to
> generate "lightly-integrated" code. I am the first to
> explore the use of
> SDL service specifications in our implementation. The
> advantages I see are
> the increased readability and the modularization that may
> facilitate the
> merge procedures.
>
> I already verified with Telelogic tech support that there are no known
> problems related to services and light integration.
>
> Actually, I am trying to justify the use of services to my
> colleagues and
> the answers to the following questions would be very helpful:
>
> - Are there any disadvantages to using services?
> - Why use services instead of procedures?
> - Are there guidelines on the use of services?
>
> Thank you.
>
> Lee Kilayko-Domingo
> Senior Software Engineer
> Opuswave Networks, Inc.
> (719) 955-7510
>
>
> --End text from lkilayko-domingo#opuswave.com to sdlnews ---
> For extra SDL Forum Society benefits join at
> <http://www.sdl-forum.org/Society/members.htm>
> For help, email "majordomo#sdl-forum.org" with the body of
> your email as:
> help
> or (iff this does not answer your question) email:
> owner-sdlnews#sdl-forum.org
>

--End text from Sanders Richard <Richard.Sanders#informatics.sintef.no> to sdlnews ---
For extra SDL Forum Society benefits join at <http://www.sdl-forum.org/Society/members.htm>



This archive was generated by hypermail 2a23 : Thu May 09 2013 - 16:05:49 GMT