X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=serverpool.h;h=30839869013269544bb75fd076c349257d3382e6;hp=74d6cb96dbe82663c0914ac53ca2babcdf963957;hb=019b96a9cc6fa2902690e98a2aa033517efef3ed;hpb=c2a05ee22b52922d9c80f92d29062c845ebc80c3 diff --git a/serverpool.h b/serverpool.h index 74d6cb9..3083986 100644 --- a/serverpool.h +++ b/serverpool.h @@ -3,6 +3,8 @@ #include "server.h" +#include + // Provides services such as load-balancing between a number of Server instances. class ServerPool { public: @@ -28,6 +30,8 @@ public: // Starts all the servers. void run(); + std::vector get_client_stats() const; + private: Server *servers; int num_servers, clients_added;