1 / 33

DOATS

DOATS. Interface Design Description (IDD). Client Configuration File. clientConfiguration.txt. Server-IP-Address:192.168.1.33 Server-Port:8000. Server Configuration File. serverConfiguration.txt. Server-Port:8000 Instructor-Number:-123 Instructor-Password:321.

yoshi-walls
Télécharger la présentation

DOATS

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. DOATS Interface Design Description (IDD)

  2. Client Configuration File

  3. clientConfiguration.txt Server-IP-Address:192.168.1.33 Server-Port:8000

  4. Server Configuration File

  5. serverConfiguration.txt Server-Port:8000 Instructor-Number:-123 Instructor-Password:321

  6. Server Student Names Text File

  7. studentNames.txt 1, John Doe, goodPasswordsAreLongLikeThisOne, 2, Jane Doe, johnsSister, 3, Billy Joe, dogandcatlover0099, 4, Frank Sinatra, people342, 5, Greg Lawrence, newpassword, 6, Fiona Spencer, keyboard312,

  8. Client Interface

  9. Client Main Menu C:\> java ClientDOATS Distributed On-time Attendance Tracking System (DOATS) ------------------------------------------------------------------------------- (CLIENT MODULE) Main Menu [1] Connect to the DOATS server [2] Change the IP address or port number settings [3] Exit Enter a selection from the menu above [1-3]:

  10. Client Settings Menu Current Server IP: 192.168.1.33 Current Server Port Number: 8000 Settings Menu [1] Set Server IP Address [2] Set Server Port Number [3] Return to Main Menu Enter a selection from the menu above [1-3]:

  11. Set New Server IP Address Current Server IP: 192.168.1.33 Current Server Port Number: 8000 Settings Menu [1] Set Server IP Address [2] Set Server Port Number [3] Return to Main Menu Enter a selection from the menu above [1-3]: 1 Enter the new IP address for the DOATS Server: 192.168.1.50

  12. Set New Server Port Number Current Server IP: 192.168.1.50 Current Server Port Number: 8000 Settings Menu [1] Set Server IP Address [2] Set Server Port Number [3] Return to Main Menu Enter a selection from the menu above [1-3]: 2 Enter the new port number for the DOATS Server: 9000

  13. Set New Server Port Number Current Server IP: 192.168.1.50 Current Server Port Number: 9000 Settings Menu [1] Set Server IP Address [2] Set Server Port Number [3] Return to Main Menu Enter a selection from the menu above [1-3]: 2

  14. Server not found Connecting to server... Cannot connect to the server! IP Address and/or port number may be incorrect. Set the IP address and/or port number to the correct values. Main Menu [1] Connect to DOATS Server [2] Change the IP address or port number settings [3] Exit Enter a selection from the menu above [1-3]:

  15. Client Connected Connecting to the server... The connection has been made. Downloading the student list …

  16. Client Ready to Select Student Connecting to the server... The connection has been made Downloading student list... Students Enrolled in the Class ---------------------------------------- [1] Adams, Ben [2] Gregory, Caleb [3] Mathews, Steve [4] Smith, John [5] Yeakley, Fritz Enter the number next to your name [1 - 5]:

  17. User Selected Student "Smith, John" Students Enrolled in the Class ---------------------------------------- [1] Adams, Ben [2] Gregory, Caleb [3] Mathews, Steve [4] Smith, John [5] Yeakley, Fritz Enter the number next to your name [1 - 5]: 4 You selected John Smith. Is this correct [y/n]? y Enter your password :

  18. User entered wrong password Students Enrolled in the Class ---------------------------------------- [1] Adams, Ben [2] Gregory, Caleb [3] Mathews, Steve [4] Smith, John [5] Yeakley, Fritz Enter the number next to your name [1 - 5]: 4 You selected John Smith. Is this correct [y/n]? y Enter your password : That password is not correct. Enter your password :

  19. User entered correct password Your password has been accepted. You are now marked as present for class. Show student list [enter]

  20. Student list displayed after return key is pressed Students Enrolled in the Class ---------------------------------------- [1] Adams, Ben [2] Gregory, Caleb [3] Mathews, Steve [4] Smith, John [5] Yeakley, Fritz Enter the number next to your name [1 - 5]:

  21. Special instructor number entered Students Enrolled in the Class ---------------------------------------- [1] Adams, Ben [2] Gregory, Caleb [3] Mathews, Steve [4] Smith, John [5] Yeakley, Fritz Enter the number next to your name [1 - 5]: -123

  22. Special instructor number entered Students Enrolled in the Class ---------------------------------------- [1] Adams, Ben [2] Gregory, Caleb [3] Mathews, Steve [4] Smith, John [5] Yeakley, Fritz Enter the number next to your name [1 - 5]: -123 Enter the administrator password: 321 Closing the connection to the DOATS server … The connection to the DOATS server is now closed Main Menu [1] Connect to DOATS Server [2] Change Settings [3] Exit

  23. Program exit Main Menu [1] Connect to DOATS Server [2] Change Settings [3] Exit Enter a selection from the menu above [1-3]: 3 Exiting the program ...

  24. Server Interface

  25. Server Startup C:\>java serverDOATS Distributed On-time Attendance Tracking System (DOATS) ------------------------------------------------------------------------------- (SERVER MODULE) Main Menu [1] Load student names and passwords [2] Exit Enter a selection from the menu above [1-2]:

  26. Load student names and passwords from file C:\> java serverDOATS Distributed On-time Attendance Tracking System (DOATS) ------------------------------------------------------------------------------- (SERVER MODULE) Main Menu [1] Load student names and passwords [2] Exit Enter a selection from the menu above [1-2]: 1 Enter the name of the file:

  27. Load student names and passwords (File Does Not Exist) Main Menu [1] Load student names and passwords [2] Exit Enter a selection from the menu above [1-2]: 1 Enter the name of the file: weirdName.txt The file “weirdName.txt” does not exist! Enter the name of the file:

  28. Client Listener Menu (displayed after names and passwords successfully loaded) Client Listener Menu [1] Start listening for client [2] Exit Enter a selection from the menu above [1-2]:

  29. Waiting for clients The server is listening for a connection at IP address 192.168.1.21 on port 8000... Client connected from IP Address 192.168.1.22

  30. Administrator number received from Client (Some Students not Signed in) Received the administrator number. List of Students Who Did Not Sign In ------------------------------------------------- Adams, Ben Gregory, Caleb Mathews, Steve Menu [1] Save the list to a file [2] Exit the program Enter a selection from the menu above [1-2]:

  31. Administrator number received from Client (All Students Signed in) Received the administrator number. All students have signed in! Menu [1] Save the list to a file [2] Exit the program Please enter a selection from the menu above [1-2]:

  32. Save list to a file Received the administrator number. List of Students Who Did Not Sign In ------------------------------------------------- Adams, Ben Gregory, Caleb Mathews, Steve Menu [1] Save the list to a file [2] Exit the program Please enter a selection from the menu above [1-2]: 1 Enter the file name: attendance.txt The list has been saved to the file

  33. Terminate the program Received the administrator number. All students have signed in! Menu [1] Save the list to a file [2] Exit the program Please enter a selection from the menu above [1-2]: 2 Exiting the program …

More Related