Torc
0.1
|
The public class for handling Simple Service Discovery Protocol searches and announcements. More...
#include <torcssdp.h>
Static Public Member Functions | |
static void | Search (TorcHTTPServer::Status Options) |
Search for Torc UPnP device type. More... | |
static void | CancelSearch (void) |
Stop searching for a UPnP device type. More... | |
static void | Announce (TorcHTTPServer::Status Options) |
Publish the device. More... | |
static void | CancelAnnounce (void) |
Static Public Attributes | |
static TorcSSDP * | gSSDP = nullptr |
static QMutex * | gSSDPLock = new QMutex(QMutex::Recursive) |
static bool | gSearchEnabled = false |
static TorcHTTPServer::Status | gSearchOptions = TorcHTTPServer::Status() |
static bool | gAnnounceEnabled = false |
static TorcHTTPServer::Status | gAnnounceOptions = TorcHTTPServer::Status() |
Protected Slots | |
void | SearchPriv (void) |
void | CancelSearchPriv (void) |
void | AnnouncePriv (void) |
void | CancelAnnouncePriv (void) |
void | SendSearch (void) |
void | SendAnnounce (bool IsIPv6, bool Alive) |
bool | event (QEvent *Event) override |
void | Read (void) |
void | ProcessResponses (void) |
Protected Member Functions | |
TorcSSDP () | |
~TorcSSDP () | |
Static Protected Member Functions | |
static TorcSSDP * | Create (bool Destroy=false) |
Friends | |
class | TorcSSDPThread |
The public class for handling Simple Service Discovery Protocol searches and announcements.
All SSDP interaction is via the static methods Search, CancelSearch, Announce and CancelAnnounce
Definition at line 45 of file torcssdp.h.
|
protected |
Definition at line 63 of file torcssdp.cpp.
|
protected |
Definition at line 109 of file torcssdp.cpp.
|
static |
Publish the device.
Definition at line 294 of file torcssdp.cpp.
|
protectedslot |
Definition at line 439 of file torcssdp.cpp.
|
static |
Definition at line 305 of file torcssdp.cpp.
|
protectedslot |
Definition at line 446 of file torcssdp.cpp.
|
static |
Stop searching for a UPnP device type.
Notifications about new or removed UPnP devices will no longer be sent.
Definition at line 283 of file torcssdp.cpp.
|
protectedslot |
Definition at line 434 of file torcssdp.cpp.
|
staticprotected |
Definition at line 314 of file torcssdp.cpp.
|
overrideprotectedslot |
Definition at line 566 of file torcssdp.cpp.
|
protectedslot |
Definition at line 760 of file torcssdp.cpp.
|
protectedslot |
Definition at line 634 of file torcssdp.cpp.
|
static |
Search for Torc UPnP device type.
Definition at line 269 of file torcssdp.cpp.
|
protectedslot |
Definition at line 427 of file torcssdp.cpp.
|
protectedslot |
Definition at line 502 of file torcssdp.cpp.
|
protectedslot |
Definition at line 380 of file torcssdp.cpp.
|
friend |
Definition at line 47 of file torcssdp.h.
|
static |
Definition at line 61 of file torcssdp.h.
|
static |
Definition at line 62 of file torcssdp.h.
|
static |
Definition at line 59 of file torcssdp.h.
|
static |
Definition at line 60 of file torcssdp.h.
|
static |
Definition at line 57 of file torcssdp.h.
|
static |
Definition at line 58 of file torcssdp.h.