It is not possible to elaborate every possible combination of users in the system. The web server may have any number of users. What does my sequence diagram look like? Does it look like SC1 where a single message is sent to ":users." Is it just understood that the shutdown message is duplicated and sent to each user attached to the server? Or do I need to elaborate the behavior I want by having multiple users like in SC2? By looking at the sequence diagram SC2 does feel like it is much more explicit regarding the desired behavior but it also presents problems. Suppose that the system sends each user a warning message if the server is shut down (the activity diagram for this is below). The server has 1 administrator and any number of users (the use case diagram for this system is below). No, SD1 is not correct because ":Users" is ONE object (instance of the class Users, anonymous), it is not a set of Users. To: Re: Multiple actors in Sequence Diagram This message is not intended to be of any legal effect or create binding legal regulations and may not be used in evidence. To post to this group, send email to unsubscribe from this group, send email more options, visit this group atĬould you have a lifeline classified to a collection class of users (for example ArrayList), and then send a message to this lifeline enclosed in a loop combined fragment, where the condition of the loop is the size of the ArrayList (for example ArrayList.Count())? You received this message because you are subscribed to the Google But that is mainly because I'm drawing all the sequence diagrams and I'm lazy. So what is the preferred way to handle this problem? Personally I like SC1 and then adding a comment box that says that "SHUTDOWN_WARNING" message is sent to every user. I'm new to SysML so pardon me if this question is too noobish.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |