10 #include <QStringList> 34 LCDServer(
int port, QString message,
int 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);
static void sendMessage(QTcpSocket *where, const QString &what)
QTcpSocket * m_lastSocket
void switchToTime(QTcpSocket *socket)
void switchToChannel(const QStringList &tokens, QTcpSocket *socket)
LCDServer(int port, QString message, int messageTime)
void newConnection(QTcpSocket *socket)
static QStringList parseCommand(QString &command)
void setChannelProgress(const QStringList &tokens, QTcpSocket *socket)
void setMusicProp(const QStringList &tokens, QTcpSocket *socket)
void switchToMusic(const QStringList &tokens, QTcpSocket *socket)
ServerPool * m_serverPool
void switchToNothing(QTcpSocket *socket)
void switchToMenu(const QStringList &tokens, QTcpSocket *socket)
void setGenericProgress(const QStringList &tokens, QTcpSocket *socket)
Manages a collection of sockets listening on different ports.
void setMusicProgress(const QStringList &tokens, QTcpSocket *socket)
void switchToVolume(const QStringList &tokens, QTcpSocket *socket)
void switchToGeneric(const QStringList &tokens, QTcpSocket *socket)
void sendConnected(QTcpSocket *socket)
void updateLEDs(const QStringList &tokens, QTcpSocket *socket)
void setVolumeLevel(const QStringList &tokens, QTcpSocket *socket)
void parseTokens(const QStringList &tokens, QTcpSocket *socket)
void sendKeyPress(const QString &key_pressed)