BrisaUpnp::BrisaSSDPClient Class Reference

SSDP stack implementantion for UPnP control points. More...

#include <BrisaUpnp/BrisaSSDPClient>

List of all members.

Public Slots

void start ()
void stop ()
bool isRunning () const

Signals

void newDeviceEvent (const QString &usn, const QString &location, const QString &st, const QString &ext, const QString &server, const QString &cacheControl)
void removedDeviceEvent (const QString &usn)

Public Member Functions

 BrisaSSDPClient (QObject *parent=0)
 ~BrisaSSDPClient ()

Detailed Description

SSDP stack implementantion for UPnP control points.

Create a new BrisaSSCPClient and call "start()" to connect to the multicast group and start listening to ssdp notification messages.

When BrisaSSDPClient receives a notification message it emits "newDeviceEvent()" in case of "ssdp:alive" and "removedDeviceEvent" in case of "ssdp:byebye". Other ssdp messages will be ignored.

Definition at line 51 of file brisassdpclient.h.


Constructor & Destructor Documentation

BrisaSSDPClient::BrisaSSDPClient ( QObject *  parent = 0  ) 

Constructs a BrisaSSCPClient with the given parent.

Definition at line 33 of file brisassdpclient.cpp.

BrisaSSDPClient::~BrisaSSDPClient (  ) 

Destroys the client.

Stops the client if it's running.

Definition at line 42 of file brisassdpclient.cpp.


Member Function Documentation

bool BrisaSSDPClient::isRunning (  )  const [slot]

Checks if the client is running

Returns:
true if is running

Definition at line 67 of file brisassdpclient.cpp.

void BrisaUpnp::BrisaSSDPClient::newDeviceEvent ( const QString &  usn,
const QString &  location,
const QString &  st,
const QString &  ext,
const QString &  server,
const QString &  cacheControl 
) [signal]

This signal is emitted when the client receives a "ssdp:alive" message from a device joining the network

See also:
removedDeviceEvent()

Definition at line 101 of file moc_brisassdpclient.cpp.

void BrisaUpnp::BrisaSSDPClient::removedDeviceEvent ( const QString &  usn  )  [signal]

This signal is emitted when the client receives a "ssdp:byebye" message from a device leaving the network

See also:
newDeviceEvent()

Definition at line 108 of file moc_brisassdpclient.cpp.

void BrisaSSDPClient::start (  )  [slot]

Connects to the MultiCast group and starts the client.

See also:
isRunning(), stop()

Definition at line 49 of file brisassdpclient.cpp.

void BrisaSSDPClient::stop (  )  [slot]

Stops the client.

See also:
isRunning(), start()

Definition at line 58 of file brisassdpclient.cpp.


The documentation for this class was generated from the following files:
Generated on Thu Sep 30 14:04:30 2010 for Brisa by  doxygen 1.6.3