Go to the documentation of this file. 1 #ifndef MYTHSOCKETMANAGER_H
2 #define MYTHSOCKETMANAGER_H
10 #include <QReadWriteLock>
11 #include <QWaitCondition>
33 void SetThreadCount(
uint count);
41 bool Listen(
int port);
44 void newConnection(qintptr sd);
48 static void HandleVersion(
MythSocket *socket,
const QStringList &slist);
63 #endif // MYTHSOCKETMANAGER_H
QMap< MythSocket *, SocketHandler * > m_socketMap
Class for communcating between myth backends and frontends.
virtual void readyRead(MythSocket *)=0
#define PROTOSERVER_PUBLIC
QSet< MythSocket * > m_socketList
QReadWriteLock m_socketLock
void connected([[maybe_unused]] MythSocket *socket) override
virtual void connectionClosed(MythSocket *)=0
QMap< QString, SocketRequestHandler * > m_handlerMap
QReadWriteLock m_handlerLock
void connectionFailed([[maybe_unused]] MythSocket *socket) override