DOATS Interface Design Description (IDD). Client Configuration File.

33
DOATS Interface Design Description (IDD)

Transcript of DOATS Interface Design Description (IDD). Client Configuration File.

Page 1: DOATS Interface Design Description (IDD). Client Configuration File.

DOATSInterface Design Description (IDD)

Page 2: DOATS Interface Design Description (IDD). Client Configuration File.

Client Configuration File

Page 3: DOATS Interface Design Description (IDD). Client Configuration File.

Server-IP-Address:192.168.1.33Server-Port:8000

clientConfiguration.txt

Page 4: DOATS Interface Design Description (IDD). Client Configuration File.

Server Configuration File

Page 5: DOATS Interface Design Description (IDD). Client Configuration File.

Server-Port:8000Instructor-Number:-123Instructor-Password:321

serverConfiguration.txt

Page 6: DOATS Interface Design Description (IDD). Client Configuration File.

Server Student Names Text File

Page 7: DOATS Interface Design Description (IDD). Client Configuration File.

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

Page 8: DOATS Interface Design Description (IDD). Client Configuration File.

Client Interface

Page 9: DOATS Interface Design Description (IDD). Client Configuration File.

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]:

Client Main Menu

Page 10: DOATS Interface Design Description (IDD). Client Configuration File.

Current Server IP: 192.168.1.33Current 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]:

Client Settings Menu

Page 11: DOATS Interface Design Description (IDD). Client Configuration File.

Current Server IP: 192.168.1.33Current 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

Set New Server IP Address

Page 12: DOATS Interface Design Description (IDD). Client Configuration File.

Current Server IP: 192.168.1.50Current 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

Set New Server Port Number

Page 13: DOATS Interface Design Description (IDD). Client Configuration File.

Current Server IP: 192.168.1.50Current 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

Set New Server Port Number

Page 14: DOATS Interface Design Description (IDD). Client Configuration File.

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]:

Server not found

Page 15: DOATS Interface Design Description (IDD). Client Configuration File.

Connecting to the server...

The connection has been made.

Downloading the student list …

Client Connected

Page 16: DOATS Interface Design Description (IDD). Client Configuration File.

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

Page 17: DOATS Interface Design Description (IDD). Client Configuration File.

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"

Page 18: DOATS Interface Design Description (IDD). Client Configuration File.

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

Page 19: DOATS Interface Design Description (IDD). Client Configuration File.

Your password has been accepted. You are now marked as present for class.

Show student list [enter]

User entered correct password

Page 20: DOATS Interface Design Description (IDD). Client Configuration File.

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]:

Student list displayed after return key is pressed

Page 21: DOATS Interface Design Description (IDD). Client Configuration File.

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

Special instructor number entered

Page 22: DOATS Interface Design Description (IDD). Client Configuration File.

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

Special instructor number entered

Page 23: DOATS Interface Design Description (IDD). Client Configuration File.

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

Page 24: DOATS Interface Design Description (IDD). Client Configuration File.

Server Interface

Page 25: DOATS Interface Design Description (IDD). Client Configuration 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]:

Server Startup

Page 26: DOATS Interface Design Description (IDD). Client Configuration 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:

Load student names and passwords from file

Page 27: DOATS Interface Design Description (IDD). Client Configuration File.

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)

Page 28: DOATS Interface Design Description (IDD). Client Configuration File.

Client Listener Menu [1] Start listening for client [2] Exit

Enter a selection from the menu above [1-2]:

Client Listener Menu (displayed after names and passwords successfully loaded)

Page 29: DOATS Interface Design Description (IDD). Client Configuration File.

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

Waiting for clients

Page 30: DOATS Interface Design Description (IDD). Client Configuration 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

Enter a selection from the menu above [1-2]:

Administrator number received from Client (Some Students not Signed in)

Page 31: DOATS Interface Design Description (IDD). Client Configuration File.

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)

Page 32: DOATS Interface Design Description (IDD). Client Configuration 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

Save list to a file

Page 33: DOATS Interface Design Description (IDD). Client Configuration File.

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