Zappy Server
C++ game server: world, rules, scheduler, network
Loading...
Searching...
No Matches
PollResult Struct Reference

#include <ClientManager.hpp>

+ Collaboration diagram for PollResult:

Public Attributes

std::vector< int > newConnections
 
std::vector< int > disconnectedIds
 
std::vector< std::pair< int, std::string > > lines
 

Detailed Description

What one poll() cycle produced: new clients, dropped clients, and the complete lines received this cycle (each paired with its connection id).

Definition at line 16 of file ClientManager.hpp.

Member Data Documentation

◆ disconnectedIds

std::vector<int> PollResult::disconnectedIds

Definition at line 18 of file ClientManager.hpp.

Referenced by ClientManager::_handleEvents(), and Server::run().

◆ lines

std::vector<std::pair<int, std::string> > PollResult::lines

Definition at line 19 of file ClientManager.hpp.

Referenced by ClientManager::_handleEvents(), and Server::run().

◆ newConnections

std::vector<int> PollResult::newConnections

Definition at line 17 of file ClientManager.hpp.

Referenced by ClientManager::_acceptNew(), and Server::run().


The documentation for this struct was generated from the following file: