MythTV
master
|
#include <libmythprotoserver/requesthandler/basehandler.h>
Public Member Functions | |
bool | HandleAnnounce (MythSocket *socket, QStringList &commands, QStringList &slist) override |
bool | HandleQuery (SocketHandler *sock, QStringList &commands, QStringList &slist) override |
Dispatch query messages received from a client. More... | |
QString | GetHandlerName (void) override |
![]() | |
SocketRequestHandler ()=default | |
~SocketRequestHandler () override=default | |
virtual void | connectionAnnounced (MythSocket *, QStringList &, QStringList &) |
virtual void | connectionClosed (MythSocket *) |
virtual void | SetParent (MythSocketManager *parent) |
MythSocketManager * | GetParent (void) |
Static Private Member Functions | |
static bool | HandleQueryLoad (SocketHandler *sock) |
static bool | HandleQueryUptime (SocketHandler *sock) |
static bool | HandleQueryHostname (SocketHandler *sock) |
static bool | HandleQueryMemStats (SocketHandler *sock) |
static bool | HandleQueryTimeZone (SocketHandler *sock) |
Additional Inherited Members | |
![]() | |
MythSocketManager * | m_parent { nullptr } |
Definition at line 13 of file basehandler.h.
|
overridevirtual |
Reimplemented from SocketRequestHandler.
Definition at line 17 of file basehandler.cpp.
|
overridevirtual |
Dispatch query messages received from a client.
sock | The socket on which the message arrived. This is used to communicate the response back to the sender of the query. |
commands | The command to execute. |
slist | Additional list arguments to the query. None of the supported queries have any additional arguments, so this variable is never used. |
Reimplemented from SocketRequestHandler.
Definition at line 72 of file basehandler.cpp.
|
inlineoverridevirtual |
Reimplemented from SocketRequestHandler.
Definition at line 21 of file basehandler.h.
|
staticprivate |
Definition at line 99 of file basehandler.cpp.
Referenced by HandleQuery().
|
staticprivate |
Definition at line 130 of file basehandler.cpp.
Referenced by HandleQuery().
|
staticprivate |
Definition at line 152 of file basehandler.cpp.
Referenced by HandleQuery().
|
staticprivate |
Definition at line 167 of file basehandler.cpp.
Referenced by HandleQuery().
|
staticprivate |
Definition at line 195 of file basehandler.cpp.
Referenced by HandleQuery().