|
MythTV master
|
#include <libmythtv/AirPlay/mythraopdevice.h>
Public Slots | |
| void | TVPlaybackStarting (void) |
Public Member Functions | |
| MythRAOPDevice () | |
| void | DeleteAllClients (MythRAOPConnection *keep) |
Public Member Functions inherited from ServerPool | |
| ServerPool (QObject *parent=nullptr) | |
| ~ServerPool (void) override | |
| bool | listen (QList< QHostAddress > addrs, quint16 port, bool requireall=true, PoolServerType type=kTCPServer) |
| bool | listen (QStringList addrs, quint16 port, bool requireall=true, PoolServerType type=kTCPServer) |
| bool | listen (quint16 port, bool requireall=true, PoolServerType type=kTCPServer) |
| bool | bind (QList< QHostAddress > addrs, quint16 port, bool requireall=true) |
| bool | bind (QStringList addrs, quint16 port, bool requireall=true) |
| bool | bind (quint16 port, bool requireall=true) |
| qint64 | writeDatagram (const char *data, qint64 size, const QHostAddress &addr, quint16 port) |
| qint64 | writeDatagram (const QByteArray &datagram, const QHostAddress &addr, quint16 port) |
| bool | isListening (void) const |
| int | maxPendingConnections (void) const |
| void | setMaxPendingConnections (int n) |
| quint16 | serverPort (void) const |
| QNetworkProxy | proxy (void) |
| void | setProxy (const QNetworkProxy &proxy) |
| void | close (void) |
| int | tryListeningPort (int baseport, int range=1) |
| tryListeningPort More... | |
| int | tryBindingPort (int baseport, int range=1) |
| tryBindingPort More... | |
Static Public Member Functions | |
| static bool | Create (void) |
| static void | Cleanup (void) |
| static MythRAOPDevice * | RAOPSharedInstance (void) |
Static Public Member Functions inherited from ServerPool | |
| static void | RefreshDefaultListen (void) |
| static QList< QHostAddress > | DefaultListen (void) |
| static QList< QHostAddress > | DefaultListenIPv4 (void) |
| static QList< QHostAddress > | DefaultListenIPv6 (void) |
| static QList< QHostAddress > | DefaultBroadcast (void) |
| static QList< QHostAddress > | DefaultBroadcastIPv4 (void) |
| static QList< QHostAddress > | DefaultBroadcastIPv6 (void) |
| static int | tryListeningPort (QTcpServer *server, int baseport, int range=1, bool *isipv6=nullptr) |
| tryListeningPort More... | |
| static int | tryBindingPort (QUdpSocket *socket, int baseport, int range=1, bool *isipv6=nullptr) |
| tryBindingPort More... | |
Private Slots | |
| void | Start () |
| void | Stop () |
| void | newRaopConnection (QTcpSocket *client) |
| void | deleteClient () |
Private Member Functions | |
| ~MythRAOPDevice (void) override | |
| void | Teardown (void) |
| bool | RegisterForBonjour (void) |
Private Attributes | |
| QString | m_name {"MythTV"} |
| QByteArray | m_hardwareId |
| BonjourRegister * | m_bonjour {nullptr} |
| bool | m_valid {false} |
| QRecursiveMutex * | m_lock {nullptr} |
| int | m_setupPort {5000} |
| int | m_basePort {0} |
| QList< MythRAOPConnection * > | m_clients |
Static Private Attributes | |
| static MythRAOPDevice * | gMythRAOPDevice = nullptr |
| static QRecursiveMutex * | gMythRAOPDeviceMutex = new QRecursiveMutex() |
| static MThread * | gMythRAOPDeviceThread = nullptr |
Additional Inherited Members | |
Signals inherited from ServerPool | |
| void | newConnection (QTcpSocket *) |
| void | newDatagram (QByteArray, QHostAddress, quint16) |
Protected Slots inherited from ServerPool | |
| virtual void | newUdpDatagram (void) |
| virtual void | newTcpConnection (qintptr socket) |
Definition at line 16 of file mythraopdevice.h.
| MythRAOPDevice::MythRAOPDevice | ( | ) |
Definition at line 89 of file mythraopdevice.cpp.
Referenced by Create().
|
overrideprivate |
Definition at line 95 of file mythraopdevice.cpp.
|
static |
Definition at line 72 of file mythraopdevice.cpp.
Referenced by anonymous_namespace{mythfrontend.cpp}::cleanup().
|
static |
Definition at line 26 of file mythraopdevice.cpp.
Referenced by main().
| void MythRAOPDevice::DeleteAllClients | ( | MythRAOPConnection * | keep | ) |
Definition at line 264 of file mythraopdevice.cpp.
Referenced by Teardown(), and TVPlaybackStarting().
|
privateslot |
Definition at line 238 of file mythraopdevice.cpp.
Referenced by newRaopConnection().
|
privateslot |
Definition at line 208 of file mythraopdevice.cpp.
Referenced by Start().
|
inlinestatic |
Definition at line 23 of file mythraopdevice.h.
|
private |
Definition at line 156 of file mythraopdevice.cpp.
Referenced by Start().
|
privateslot |
Definition at line 116 of file mythraopdevice.cpp.
Referenced by Create().
|
privateslot |
Definition at line 151 of file mythraopdevice.cpp.
Referenced by Create().
|
private |
Definition at line 101 of file mythraopdevice.cpp.
Referenced by Stop().
|
slot |
Definition at line 202 of file mythraopdevice.cpp.
Referenced by newRaopConnection().
|
staticprivate |
Definition at line 43 of file mythraopdevice.h.
|
staticprivate |
Definition at line 44 of file mythraopdevice.h.
|
staticprivate |
Definition at line 45 of file mythraopdevice.h.
|
private |
Definition at line 54 of file mythraopdevice.h.
Referenced by RegisterForBonjour(), and Start().
|
private |
Definition at line 50 of file mythraopdevice.h.
Referenced by RegisterForBonjour(), and Teardown().
|
private |
Definition at line 55 of file mythraopdevice.h.
Referenced by DeleteAllClients(), deleteClient(), and newRaopConnection().
|
private |
Definition at line 49 of file mythraopdevice.h.
Referenced by MythRAOPDevice(), newRaopConnection(), and RegisterForBonjour().
|
private |
Definition at line 52 of file mythraopdevice.h.
Referenced by DeleteAllClients(), deleteClient(), newRaopConnection(), Start(), Teardown(), and ~MythRAOPDevice().
|
private |
Definition at line 48 of file mythraopdevice.h.
Referenced by RegisterForBonjour().
|
private |
Definition at line 53 of file mythraopdevice.h.
Referenced by RegisterForBonjour(), and Start().
Definition at line 51 of file mythraopdevice.h.
Referenced by Start(), and Teardown().