Go to the documentation of this file.
10 #include <QStringList>
34 LCDServer(
int port, QString message, std::chrono::seconds messageTime);
46 void parseTokens(
const QStringList &tokens, QTcpSocket *socket);
48 static void sendMessage(QTcpSocket *where,
const QString &what);
51 void switchToMusic(
const QStringList &tokens, QTcpSocket *socket);
54 void switchToVolume(
const QStringList &tokens, QTcpSocket *socket);
56 void switchToMenu(
const QStringList &tokens, QTcpSocket *socket);
59 void setMusicProp(
const QStringList &tokens, QTcpSocket *socket);
61 void setVolumeLevel(
const QStringList &tokens, QTcpSocket *socket);
62 void updateLEDs(
const QStringList &tokens, QTcpSocket *socket);
void setMusicProp(const QStringList &tokens, QTcpSocket *socket)
QTcpSocket * m_lastSocket
void sendKeyPress(const QString &key_pressed)
Manages a collection of sockets listening on different ports.
void updateLEDs(const QStringList &tokens, QTcpSocket *socket)
void setChannelProgress(const QStringList &tokens, QTcpSocket *socket)
static QStringList parseCommand(QString &command)
void parseTokens(const QStringList &tokens, QTcpSocket *socket)
void sendConnected(QTcpSocket *socket)
LCDServer(int port, QString message, std::chrono::seconds messageTime)
void switchToNothing(QTcpSocket *socket)
void setVolumeLevel(const QStringList &tokens, QTcpSocket *socket)
void switchToGeneric(const QStringList &tokens, QTcpSocket *socket)
void switchToChannel(const QStringList &tokens, QTcpSocket *socket)
void switchToMusic(const QStringList &tokens, QTcpSocket *socket)
ServerPool * m_serverPool
void setMusicProgress(const QStringList &tokens, QTcpSocket *socket)
void switchToMenu(const QStringList &tokens, QTcpSocket *socket)
void switchToVolume(const QStringList &tokens, QTcpSocket *socket)
void switchToTime(QTcpSocket *socket)
void setGenericProgress(const QStringList &tokens, QTcpSocket *socket)
static void sendMessage(QTcpSocket *where, const QString &what)
void newConnection(QTcpSocket *socket)