libktorrent  2.1.1
Public Slots | Signals | Public Member Functions | List of all members
bt::UPnPMCastSocket Class Reference

#include <upnpmcastsocket.h>

Inheritance diagram for bt::UPnPMCastSocket:
Inheritance graph
[legend]

Public Slots

void discover ()
 

Signals

void discovered (bt::UPnPRouter *router)
 

Public Member Functions

 UPnPMCastSocket (bool verbose=false)
 
UPnPRouterfindDevice (const QString &name)
 Find a router using it's server name.
 
Uint32 getNumDevicesDiscovered () const
 Get the number of routers discovered.
 
void loadRouters (const QString &file)
 Load all routers from a file.
 
void saveRouters (const QString &file)
 Save all routers to a file (for convenience at startup)
 
void setVerbose (bool v)
 Set verbose mode.
 

Detailed Description

Author
Joris Guisson

Socket used to discover UPnP devices. This class will keep track of all discovered devices.

Definition at line 43 of file upnpmcastsocket.h.

Member Function Documentation

◆ discover

void bt::UPnPMCastSocket::discover ( )
slot

Try to discover a UPnP device on the network. A signal will be emitted when a device is found.

◆ discovered

void bt::UPnPMCastSocket::discovered ( bt::UPnPRouter router)
signal

Emitted when a router or internet gateway device is detected.

Parameters
routerThe router

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