#include <libmythprotoserver/requesthandler/basehandler.h>
|
| 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 |
| |
Public Member Functions inherited from SocketRequestHandler |
| | SocketRequestHandler ()=default |
| |
| | ~SocketRequestHandler () override=default |
| |
| virtual bool | HandleAnnounce (MythSocket *, QStringList &, QStringList &) |
| |
| virtual bool | HandleQuery (SocketHandler *, QStringList &, QStringList &) |
| |
| virtual QString | GetHandlerName (void) |
| |
| virtual void | connectionAnnounced (MythSocket *, QStringList &, QStringList &) |
| |
| virtual void | connectionClosed (MythSocket *) |
| |
| virtual void | SetParent (MythSocketManager *parent) |
| |
| MythSocketManager * | GetParent (void) |
| |
Definition at line 13 of file basehandler.h.
◆ GetHandlerName()
| QString BaseRequestHandler::GetHandlerName |
( |
void |
| ) |
|
|
inlineoverridevirtual |
◆ HandleAnnounce()
| bool BaseRequestHandler::HandleAnnounce |
( |
MythSocket * |
socket, |
|
|
QStringList & |
commands, |
|
|
QStringList & |
slist |
|
) |
| |
|
overridevirtual |
◆ HandleQuery()
| bool BaseRequestHandler::HandleQuery |
( |
SocketHandler * |
sock, |
|
|
QStringList & |
commands, |
|
|
QStringList & |
slist |
|
) |
| |
|
overridevirtual |
Dispatch query messages received from a client.
- Parameters
-
| 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.
◆ HandleQueryHostname()
◆ HandleQueryLoad()
◆ HandleQueryMemStats()
◆ HandleQueryTimeZone()
◆ HandleQueryUptime()
The documentation for this class was generated from the following files: