Download presentation
Presentation is loading. Please wait.
2
1 By Yuval Sittin & Shay Schlafman Technion
3
2 יעדי הפרוייקט בנית כלי תקשורת רב-תכליתי בדגש על פשטות הפעלה. הכרת השלבים בתכנון פרויקט תוכנה. לימוד שפת JAVA.
4
3 מה זה MultiCom ? תוכנה פשוטה לשימוש המאפשרת: תקשורת פשוטה בין משתמשים הנמצאים ברשת האינטרנט ו/או ברשת מקומית. שליחת הודעות בין משתמשים (notes). ביצוע שיחות בין משתמשים (chats). קבלת מידע על המשתמשים בזמן אמת. ניהול מסד נתונים של המשתמשים ברמת ה-Server וה-Client.
5
4 דיאגרמת בלוקים multicom Server ChatMgr InfoMgrServerGui UsersDetailsMgrUsersMgr SetUserPointerAdminMgr UsersDataInfoData Common(I/F) ServClientServantServServerServant Client ChatManager UserMgrLoginManager ClientGuiMyData
6
5 yes offline Password ok error not online ChatMgr ChatMgr ChatMgr Client B Client A networ k Login Execption Chat Exception Check Status Write Warning Message Check Status Check Password Check If there is an existing session with user? Add msg To frame Open chat dialog and add msg
7
6 Implementation RMI – communicate between agents. Multithreaded – enhance performance. Database – using DataStore technology. Generic users object – scalable user data.
8
7 RMI All communication between Client and Server uses RMI. RMI supports some useful features: –New thread for every approach to the server. –Enables us to treat the functions like they where local.
9
8 Multithreaded The server handles all actions between the clients and admin actions (Server Client). The multithreads enables the Server to handle many tasks simultaneously. Each task that is being send to the server creates a new thread that enable the server to accept new tasks.
10
9 Multithread Client A Server Action 2 Action 1 Action 1 thread Action 2 thread
11
10 Data Base The implementation of the database for the server and client is done using DataStore (Borland database technology). The Server databases are UsersData and InfoData. UsersData is used for all the data about the registered users (details and friends). InfoData is used for all the information transferred between the users which need to be kept on the server.
12
11 Generic Users Objects Since every request of a user that being served by the server needs some of the user details, we implemented all the functions to use two basic objects. –UserDetailsObject. –UserPasswordObject. Enable us to change the user data structure easly.
13
12 Server Gui
14
13 Client Gui
15
14 MultiCom הדור הבא.... הוספת שדות נוספים עבור כל משתמש. שליחת SMS למשתמשים. ביצוע מושהה של פעולות. העברת קבצים בין משתמשים (ftp).
16
15 שאלות Yuval Sittin Shay Schlafman
17
16 סוף
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.