Pool Video Switch v2
Software video switch for distributed remote display in a lecture environment
Signals | Public Member Functions | Private Slots | Private Attributes | List of all members
ListenServer Class Reference

Class for listing on new client connection. More...

#include "listenserver.h"

+ Inheritance diagram for ListenServer:
+ Collaboration diagram for ListenServer:

Signals

void newClient (Client *client)
 

Public Member Functions

 ListenServer (quint16 port, QObject *parent)
 Initialize listenServer to listen on specific port. More...
 
 ~ListenServer () override
 

Private Slots

void newClientConnection ()
 Handle new client connection. More...
 

Private Attributes

SslServer _server
 

Detailed Description

Class for listing on new client connection.

Definition at line 13 of file listenserver.h.

Constructor & Destructor Documentation

ListenServer::ListenServer ( quint16  port,
QObject parent 
)
explicit

Initialize listenServer to listen on specific port.

And connect Signal newConnection() with Slot newClientConnection().

Parameters
port

Definition at line 11 of file listenserver.cpp.

+ Here is the call graph for this function:

ListenServer::~ListenServer ( )
override

Definition at line 20 of file listenserver.cpp.

Member Function Documentation

void ListenServer::newClient ( Client client)
signal

+ Here is the caller graph for this function:

void ListenServer::newClientConnection ( )
privateslot

Handle new client connection.

If there are not already to much clients, emit signal newClient().

Definition at line 33 of file listenserver.cpp.

+ Here is the caller graph for this function:

Member Data Documentation

SslServer ListenServer::_server
private

Definition at line 18 of file listenserver.h.


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