Defines the WebServer class for processing requests.
void clear()
Clear the current request and mark server as idle.
bool isFinished() const
Check if the current request has finished processing.
void assignRequest(const Request &req)
Assign a request to this server for processing.
WebServer(int id)
Construct a web server with the given ID.
void process()
Advance processing by one clock cycle (decrements remaining time).
bool isBusy() const
Check if the server is currently processing a request.
Represents a single request/job in the load balancer simulation.