Cockatrice 2025-11-30-Development-2.11.0-beta.38
A cross-platform virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
Servatrice_WebsocketGameServer Class Reference

#include <servatrice.h>

Inheritance diagram for Servatrice_WebsocketGameServer:
[legend]
Collaboration diagram for Servatrice_WebsocketGameServer:
[legend]

Public Member Functions

 Servatrice_WebsocketGameServer (Servatrice *_server, int _numberPools, const QSqlDatabase &_sqlDatabase, QObject *parent=nullptr)
 ~Servatrice_WebsocketGameServer () override

Protected Slots

void onNewConnection ()

Protected Member Functions

Servatrice_ConnectionPoolfindLeastUsedConnectionPool ()

Private Attributes

Servatriceserver
QList< Servatrice_ConnectionPool * > connectionPools

Constructor & Destructor Documentation

◆ Servatrice_WebsocketGameServer()

Servatrice_WebsocketGameServer::Servatrice_WebsocketGameServer ( Servatrice * _server,
int _numberPools,
const QSqlDatabase & _sqlDatabase,
QObject * parent = nullptr )
Here is the call graph for this function:

◆ ~Servatrice_WebsocketGameServer()

Servatrice_WebsocketGameServer::~Servatrice_WebsocketGameServer ( )
override

Member Function Documentation

◆ findLeastUsedConnectionPool()

Servatrice_ConnectionPool * Servatrice_WebsocketGameServer::findLeastUsedConnectionPool ( )
protected
Here is the caller graph for this function:

◆ onNewConnection

void Servatrice_WebsocketGameServer::onNewConnection ( )
protectedslot
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ connectionPools

QList<Servatrice_ConnectionPool *> Servatrice_WebsocketGameServer::connectionPools
private

◆ server

Servatrice* Servatrice_WebsocketGameServer::server
private

The documentation for this class was generated from the following files: