Presentation is loading. Please wait.

Presentation is loading. Please wait.

DOATS Interface Requirements Specification (IRS) - Prepared by Stephen Wood.

Similar presentations


Presentation on theme: "DOATS Interface Requirements Specification (IRS) - Prepared by Stephen Wood."— Presentation transcript:

1 DOATS Interface Requirements Specification (IRS) - Prepared by Stephen Wood

2 Client Configuration File

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

4 Server Configuration File

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

6 Server Student Names Text File

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

8 Client Interface

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

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

11 Settings Menu [1] Set Server IP [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: Set New Server IP Address

12 Settings Menu [1] Set Server IP [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: Set New Server Port Number

13 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 Settings [3] Exit Enter a selection from the menu above [1-3]: Server not found

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

15 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]: Client Ready to Select Student

16 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 : User Selected Student "Smith, John"

17 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 : User entered wrong password

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

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

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

21 Students Enrolled in the Class ---------------------------------------- [1] Adams, Ben [2] Gregory, Caleb [3] Mathews, Steve [4] Yeakley, Fritz Enter the number next to your name [1 - 4]: -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 Special instructor number entered

22 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... Program exit

23 Server Interface

24 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]: Server Startup

25 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: Load student names and passwords from file

26 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: Load student names and passwords (File Does Not Exist)

27 Main Menu [1] Start listening for clients [2] Exit Enter a selection from the menu above [1-2]: Main Menu (displayed after names and passwords successfully loaded)

28 The server is listening for connections on port 8000... A client connected from IP 192.168.1.22 A client connected from IP 192.168.1.24 Waiting for clients

29 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]: Administrator number received from Client (Some Students not Signed in)

30 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]: Administrator number received from Client (All Students Signed in)

31 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 Save list to a file

32 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 … Terminate the program


Download ppt "DOATS Interface Requirements Specification (IRS) - Prepared by Stephen Wood."

Similar presentations


Ads by Google