Pool Video Switch v2
Software video switch for distributed remote display in a lecture environment
listenserver.h
Go to the documentation of this file.
1 #ifndef LISTENSERVER_H_
2 #define LISTENSERVER_H_
3 
4 #include <QtCore>
5 #include <QList>
6 #include "sslserver.h"
7 
8 class Client;
9 
13 class ListenServer : public QObject
14 {
15  Q_OBJECT
16 
17 private:
19 
20 public:
21  explicit ListenServer(quint16 port, QObject *parent);
22  ~ListenServer() override;
23 
24 private slots:
25  void newClientConnection();
26 
27 signals:
28  void newClient(Client* client);
29 
30 };
31 
32 #endif /* LISTENSERVER_H_ */
~ListenServer() override
SslServer _server
Definition: listenserver.h:18
Class for handling ssl server connections.
Definition: sslserver.h:30
void newClientConnection()
Handle new client connection.
Definition: client.h:23
ListenServer(quint16 port, QObject *parent)
Initialize listenServer to listen on specific port.
Class for listing on new client connection.
Definition: listenserver.h:13
void newClient(Client *client)