Closed Unic-X closed 1 month ago
This PR changes the overall structure from Client - Server to Client-Master-Worker server currently no test has been done only file upload works.
Fixes #21
Detailed flow of the system in this PR:
Client
master
Master
credentials
ip address
port
worker
client
Description
This PR changes the overall structure from Client - Server to Client-Master-Worker server currently no test has been done only file upload works.
Fixes #21
Detailed flow of the system in this PR:
Client
connects to themaster
via SSH.Master
responds with Success response.Client
chooses the task they want to performMaster
responds with thecredentials
andip address
andport
of theworker
.Client
connects and performs the task with theworker
while maintaining the connection with themaster
worker
disconnects theclient
Client
closes the connection with themaster
serverType of change
TODOs: