MythTV  master
Public Member Functions | Protected Member Functions | List of all members
ControlRequestHandler Class Reference

#include <controlrequesthandler.h>

Inheritance diagram for ControlRequestHandler:
Inheritance graph
[legend]
Collaboration diagram for ControlRequestHandler:
Collaboration graph
[legend]

Public Member Functions

bool HandleQuery (SocketHandler *socket, QStringList &commands, QStringList &slist) override
 Dispatch query messages received from a client. More...
 
- Public Member Functions inherited from OutboundRequestHandler
 OutboundRequestHandler (void)
 
QString GetHandlerName (void) override
 
void connectionClosed (MythSocket *socket) 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 SetParent (MythSocketManager *parent)
 
MythSocketManagerGetParent (void)
 

Protected Member Functions

bool AnnounceSocket (void) override
 

Additional Inherited Members

- Public Slots inherited from OutboundRequestHandler
void ConnectToMaster (void)
 
- Protected Attributes inherited from OutboundRequestHandler
MythSocketm_socket { nullptr }
 
- Protected Attributes inherited from SocketRequestHandler
MythSocketManagerm_parent { nullptr }
 

Detailed Description

Definition at line 13 of file controlrequesthandler.h.

Member Function Documentation

◆ HandleQuery()

bool ControlRequestHandler::HandleQuery ( SocketHandler socket,
QStringList &  commands,
QStringList &  slist 
)
overridevirtual

Dispatch query messages received from a client.

Parameters
socketThe socket on which the message arrived. This is used to communicate the response back to the sender of the query.
commandsThe command to execute.
slistAdditional 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 35 of file controlrequesthandler.cpp.

◆ AnnounceSocket()

bool ControlRequestHandler::AnnounceSocket ( void  )
overrideprotectedvirtual

Reimplemented from OutboundRequestHandler.

Definition at line 11 of file controlrequesthandler.cpp.


The documentation for this class was generated from the following files: