8I
8I
8I gg gg
8I "" ""
,gggg,8I ,gg, ,gg ,gggg, ,gggg, ,gggg, gg gg
dP" "Y8I d8""8b,dP" dP" "Yb dP" "Yb dP" "Yb 88 88
i8' ,8I dP ,88" i8' i8' i8' 88 88
,d8, ,d8b,,dP ,dP"Y8, ,d8,_ _,d8,_ _,d8,_ __,88,__,88,_
P"Y8888P"Y88" dP" "Y88P""Y8888PPP""Y8888PPP""Y8888PP8P""Y88P""Y8
UTAD // COMPUTER SCIENCE // DISTRIBUTED SYSTEMS // BY "FYODOR" RIBEIRO // AL66766
o | o
_ _ _|_ ,_ __ __| ___|_ __ _ _
| / |/ | | / | / \/ | | | / | | / \/ |/ |
|_/ | |_/_/ |_|__/\_/|_/ \_/|_|___/_/_|__/ | |_/
A Client/Server system with an administrator that can manage a client's tasks given a service ID.
The interactions between the client and the server create a task assignment system where clients can request tasks from the server, mark tasks as completed, and end the communication when desired. The server is responsible for managing the client's requests and allocating tasks.
The server can handle multiple clients at once by using different threads for each client. This system makes use of shared resources and employs mutexes to ensure that concurrent access to shared resources is properly managed, preventing race conditions and data corruption.
This version comes complete with a system administrator! The admin can select a service, and manage all aspects of it; from the tasks within it, to their statuses and allocation.
In this version a client can also subcribe (or unsubscribe) from a service to get notified of when the admin makes any alterations, or adds new tasks.
_ _
o | || | o |
_ _ ,_|_ __, | || | __,_|_ __ _ _ __, _ _ __| , _
| / |/ | / \| / | |/ |/ / | | | / \/ |/ | / | / |/ | / | | | / \|/
|_/ | |_/ \/|_|_/|_/__/__|_/|_/_/_|__/ | |_/ \_/|_/ | |_|_/|_/ \_/|_/ \/|__/
Just clone the repository as normal, with visual studio. First run the server, then the client and to observe the changes the server maskes to the files Servico_A.csv, Servico_B.csv, Servico_C.csv, or Servico_D.csv, please close the connection with the server first and then open the files in the debug folder through your file explorer, or enter as the administratot and select the option to consult a service's tasks. Beware that, while as admin, the confirmation for a taksk's status change is not presented to the client (dont ask me why i don't know, i spent hours debugging and got nowhere), but you can verify it in the server console.
__ __ _ _ _|_ __, __ _|_ ,
/ / \_/ |/ | | / | / | / \_
\___/\__/ | |_/|_/\_/|_/\___/|_/ \/
contact dxcccii at https://dxcccii.neocities.org/ or by email (for now) at al66766@utad.eu