Sayonara Player
Signals | Public Member Functions | Public Slots | Protected Member Functions | Protected Attributes | List of all members
StreamServer Class Reference

#include <StreamServer.h>

Detailed Description

The StreamServer class. This class is listening for new connections and holds and administrates current connections.

Signals

void sig_new_connection (const QString &ip)
 
void sig_connection_closed (const QString &ip)
 
void sig_can_listen (bool)
 

Public Member Functions

 StreamServer (QObject *parent=nullptr)
 

Public Slots

void accept_client (QTcpSocket *socket, const QString &ip)
 
void reject_client (QTcpSocket *socket, const QString &ip)
 
void dismiss (int idx)
 
void disconnect (StreamWriterPtr sw)
 
void disconnect_all ()
 
void server_close ()
 
void stop ()
 
void retry ()
 

Protected Member Functions

void run () override
 

Protected Attributes

Settings_settings =nullptr
 
Inheritance diagram for StreamServer:
SayonaraClass