Cade Royal CSCE 412 Project 3
Loading...
Searching...
No Matches
Macros
LoadBalancer.cpp File Reference

Implementation of the LoadBalancer class. More...

#include <LoadBalancer.h>
#include <iostream>
#include <chrono>
#include <mutex>
Include dependency graph for LoadBalancer.cpp:

Macros

#define RESET   "\033[0m"
 
#define RED   "\033[31m"
 
#define GREEN   "\033[32m"
 
#define YELLOW   "\033[33m"
 

Detailed Description

Implementation of the LoadBalancer class.

This file contains the implementation of the LoadBalancer class, which dynamically manages a pool of WebServer objects to handle incoming requests. The load balancer evaluates the request queue and adjusts the number of servers accordingly.

Macro Definition Documentation

◆ GREEN

#define GREEN   "\033[32m"

◆ RED

#define RED   "\033[31m"

◆ RESET

#define RESET   "\033[0m"

◆ YELLOW

#define YELLOW   "\033[33m"