MythTV  master
Public Member Functions | Private Attributes | List of all members
WebSocketMythEvent Class Reference

Extension for sending MythEvents over WebSocketServer. More...

#include <websocket_mythevent.h>

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

Public Member Functions

 WebSocketMythEvent ()
 
 ~WebSocketMythEvent () override
 
bool HandleTextFrame (const WebSocketFrame &frame) override
 
void customEvent (QEvent *) override
 
- Public Member Functions inherited from WebSocketExtension
 WebSocketExtension ()=default
 
 ~WebSocketExtension () override=default
 
virtual bool HandleBinaryFrame (const WebSocketFrame &)
 

Private Attributes

QStringList m_filters
 
bool m_sendEvents {false}
 

Additional Inherited Members

- Signals inherited from WebSocketExtension
void SendTextMessage (const QString &)
 
void SendBinaryMessage (const QByteArray &)
 

Detailed Description

Extension for sending MythEvents over WebSocketServer.

Definition at line 14 of file websocket_mythevent.h.

Constructor & Destructor Documentation

◆ WebSocketMythEvent()

WebSocketMythEvent::WebSocketMythEvent ( )

Definition at line 7 of file websocket_mythevent.cpp.

◆ ~WebSocketMythEvent()

WebSocketMythEvent::~WebSocketMythEvent ( )
override

Definition at line 13 of file websocket_mythevent.cpp.

Member Function Documentation

◆ HandleTextFrame()

bool WebSocketMythEvent::HandleTextFrame ( const WebSocketFrame frame)
overridevirtual

Reimplemented from WebSocketExtension.

Definition at line 18 of file websocket_mythevent.cpp.

◆ customEvent()

void WebSocketMythEvent::customEvent ( QEvent *  event)
override

Definition at line 57 of file websocket_mythevent.cpp.

Member Data Documentation

◆ m_filters

QStringList WebSocketMythEvent::m_filters
private

Definition at line 26 of file websocket_mythevent.h.

Referenced by customEvent(), and HandleTextFrame().

◆ m_sendEvents

bool WebSocketMythEvent::m_sendEvents {false}
private

Definition at line 27 of file websocket_mythevent.h.

Referenced by customEvent(), and HandleTextFrame().


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