MythTV
master
|
#include <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 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) |
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 6 of file messagehandler.cpp.
|
overridevirtual |
Reimplemented from SocketRequestHandler.
Definition at line 33 of file messagehandler.cpp.
|
inlineoverridevirtual |
Reimplemented from SocketRequestHandler.
Definition at line 17 of file messagehandler.h.
|
override |
Definition at line 16 of file messagehandler.cpp.
|
staticprivate |
Definition at line 48 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 93 of file messagehandler.cpp.
Referenced by HandleQuery().