英国代写code范文精选:“分布式操作系统”,这篇论文主要介绍了分布式操作系统的编写过程,文章指出,此分布式的聊天程序需实现登入登出、成员列表、聊天组、单播和广播等功能。
Assumptions Server – S Clients – C1, C2, C3, C4, C5 Initial setup: pwd.txt must contain C1, C2, C3 and C5’s password information. C4 is a first time user. Assume no groups or clients are stored on server at this point. Functions Log in and Sign up C1, C2, C3 and C5 log in. This will happen from 4 different chat windows. C4 must sign up and create a new account (i.e., its host name/pwd pair must be added to pwd.txt file) Visibility and dropdown lists C2 and C3 set themselves to be invisible. Available clients list is populated with C1, C4 and C5 (as C2 and C3 are invisible). This means that only C1, C4 or C5 can receive unicast messages. Group creation and joining C1 creates a group called G1. G1 must become visible to all logged in clients. When G1 is selected, all members of G1 must be listed somewhere on the side. At this point, it must only list C1. C2 and C4 join group G1. Now if G1 is selected, all members of G1 must be listed somewhere on the side. At this point, it must list C1, C2 and C4. Note: C2 set itself to be invisible. This means it will not be listed in the available clients list. However, it will be listed when its group is selected. The only way to send messages to C2 is by joining the group G1. You cannot send unicast or broadcast messages to C2. C5 creates a group called G2. C1 and C3 join group G2. The list of available groups must now show G1 and G2. Unicast, multicast and broadcast C1, C2 and C4 can receive multicast messages but only from one another. C1, C3 and C5 can receive multicast messages but only from one another. Any client (even the invisible clients) can send a broadcast message but it will be received by C1, C4 and C5 (the visible clients). Unicast messages can be sent to the listed available clients: C1, C4 or C5. Leaving groups/Logging out C2 leaves the group G1. It will no longer be listed as a client in the group G1. C1 logs out. It will no longer be listed as a client in the group G1. Also, it will be removed from the available clients list. Note: A group is not dissolved when the creator of the group leaves it or logs out. A group is dissolved if the last member of the group leaves it or logs out. C4 logs out. C4 was the last member of group G1. G1 will be dissolved at this point. Hints Server will have to maintain separate lists in order to determine who to send unicast, multicast or broadcast messages. 51Due作为专业的留学教育辅导机构,专业辅导语言学论文代写、硕士paper代写、英国matlab作业代写,自2004年至今,坚持以学生为中心,全天候服务,为海外留学生完成了数万篇assignment代写、essay代写、report代写、dissertation代写等论文,以优质的英国代写服务赢得留学生的信赖,如有英国代写code需求或者英国it课程补习需求,欢迎咨询51Due哦。
0 Comments
Leave a Reply. |
Author51Due是一家以海外中国留学生创业团队为主导,总部设在美国纽约的留学教育咨询机构,同时也是海外拥有强大综合教员实力的论文代写机构。主要业务包括海外课业咨询,提供Essay代写与辅导,Paper代写与辅导,Report代写与辅导,Assignment代写与辅导,论文代写,论文修改,计算机编程代写,同时涵盖了Personal Statement代写等留学文书以及转学申请文书的代写,海外求学咨询与新留学生辅导等各个留学环节的专业咨询。 ArchivesCategories
全部
|