KVIrc 5.2.0
Developer APIs
Signals | Public Member Functions | Private Slots | Private Attributes | List of all members
UPnP::SsdpConnection Class Reference

#include <SsdpConnection.h>

+ Inheritance diagram for UPnP::SsdpConnection:

Signals

void deviceFound (const QString &hostname, int port, const QString &rootUrl)
 

Public Member Functions

void queryDevices (int bindPort=1500)
 
 SsdpConnection ()
 
 ~SsdpConnection ()
 

Private Slots

void slotDataReceived ()
 

Private Attributes

QUdpSocket * m_pSocket
 

Detailed Description

The Simple Service Discovery Protocol allows UPnP clients to discover UPnP devices on a network. This is achieved by broadcasting a HTTP-like message over UDP. Devices can respond with their location and root service name. The RootService class uses this information to query the device for it's meta information and service list.

Author
Diederik van der Boor

Constructor & Destructor Documentation

◆ SsdpConnection()

UPnP::SsdpConnection::SsdpConnection ( )

◆ ~SsdpConnection()

UPnP::SsdpConnection::~SsdpConnection ( )

References m_pSocket.

Member Function Documentation

◆ deviceFound

void UPnP::SsdpConnection::deviceFound ( const QString &  hostname,
int  port,
const QString &  rootUrl 
)
signal

Referenced by slotDataReceived().

◆ queryDevices()

void UPnP::SsdpConnection::queryDevices ( int  bindPort = 1500)

References m_pSocket.

Referenced by UPnP::Manager::initialize().

◆ slotDataReceived

void UPnP::SsdpConnection::slotDataReceived ( )
privateslot

References deviceFound(), and m_pSocket.

Referenced by SsdpConnection().

Member Data Documentation

◆ m_pSocket

QUdpSocket* UPnP::SsdpConnection::m_pSocket
private

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