|
MythTV master
|
#include <libmythprotoserver/requesthandler/messagehandler.h>
Public Member Functions | |
| MessageHandler (void) | |
| bool | HandleQuery (SocketHandler *socket, QStringList &commands, QStringList &slist) override |
| QString | GetHandlerName (void) override |
| void | customEvent (QEvent *e) 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) |
Static Private Member Functions | |
| static bool | HandleInbound (SocketHandler *sock, QStringList &slist) |
| static bool | HandleOutbound (SocketHandler *sock, QStringList &slist) |
| Handle an asynchronous message received from the master backend. More... | |
Additional Inherited Members | |
Protected Attributes inherited from SocketRequestHandler | |
| MythSocketManager * | m_parent { nullptr } |
Definition at line 10 of file messagehandler.h.
| MessageHandler::MessageHandler | ( | void | ) |
Definition at line 7 of file messagehandler.cpp.
|
override |
Definition at line 17 of file messagehandler.cpp.
|
inlineoverridevirtual |
Reimplemented from SocketRequestHandler.
Definition at line 17 of file messagehandler.h.
|
staticprivate |
Definition at line 49 of file messagehandler.cpp.
Referenced by HandleQuery().
|
staticprivate |
Handle an asynchronous message received from the master backend.
These are converted into a MythEvent and dispatched to all classes registered for events.
| sock | The socket on which the message arrived. This class of messages are never responded to, so this variable is never used. |
| slist | The contents of the asynchronous message. This is put into an event and sent to any classes that are interested. |
Definition at line 94 of file messagehandler.cpp.
Referenced by HandleQuery().
|
overridevirtual |
Reimplemented from SocketRequestHandler.
Definition at line 34 of file messagehandler.cpp.