21 #ifndef STREAM_SERVER_H 22 #define STREAM_SERVER_H 24 #include "StreamWriter.h" 25 #include "Helper/Settings/SayonaraClass.h" 26 #include "Helper/Pimpl.h" 43 void sig_new_connection(
const QString& ip);
44 void sig_connection_closed(
const QString& ip);
45 void sig_can_listen(
bool);
56 bool listen_for_connection();
65 void accept_client(QTcpSocket* socket,
const QString& ip);
66 void reject_client(QTcpSocket* socket,
const QString& ip);
67 void dismiss(
int idx);
69 void disconnect(StreamWriterPtr sw);
70 void disconnect_all();
79 void server_destroyed();
81 void new_client_request();
83 void new_connection(
const QString& ip);
85 void _sl_active_changed();
86 void _sl_port_changed();
87 void _sl_mp3_enc_found();
The StreamWriter class. This class is the interface between StreamDataSender and StreamServer. It watches the client socket and spreads data to its client.
Definition: StreamWriter.h:41
The StreamServer class. This class is listening for new connections and holds and administrates curre...
Definition: StreamServer.h:35
The SayonaraClass class provides access to Settings and notifications.
Definition: SayonaraClass.h:29