|
Load Balancer Simulation
A simulation of a load balancer with dynamic server scaling in C++
|
Represents a single request/job in the load balancer simulation. More...
#include <Request.h>
Public Attributes | |
| std::string | ipIn |
| std::string | ipOut |
| int | timeRequired |
| char | jobType |
Represents a single request/job in the load balancer simulation.
| std::string Request::ipIn |
Source IP address of the request
Definition at line 16 of file Request.h.
Referenced by LoadBalancer::createRandomRequest(), and LoadBalancer::generateRequest().
| std::string Request::ipOut |
Destination IP address of the request
Definition at line 17 of file Request.h.
Referenced by LoadBalancer::createRandomRequest().
| char Request::jobType |
Job type: 'P' for process, 'S' for streaming
Definition at line 19 of file Request.h.
Referenced by LoadBalancer::createRandomRequest(), and LoadBalancer::generateRequest().
| int Request::timeRequired |
Number of clock cycles needed to process the request
Definition at line 18 of file Request.h.
Referenced by WebServer::assignRequest(), and LoadBalancer::createRandomRequest().