mUPnP for C++
mUPnP::Device Class Reference

#include <Device.h>

Inheritance diagram for mUPnP::Device:
mUPnP::SearchListener

Public Member Functions

mupnp_shared_ptr< uXML::NodegetRootNode ()
 
mupnp_shared_ptr< uXML::NodegetDeviceNode ()
 
bool hasDeviceNode ()
 
void setRootNode (mupnp_shared_ptr< uXML::Node > node)
 
void setDeviceNode (mupnp_shared_ptr< uXML::Node > node)
 
 Device ()
 
 Device (mupnp_shared_ptr< uXML::Node > root, mupnp_shared_ptr< uXML::Node > device)
 
 Device (mupnp_shared_ptr< uXML::Node > device)
 
 Device (uHTTP::File *descriptionFile)
 
 Device (const std::string &descriptionFileName)
 
virtual ~Device ()
 
void lock ()
 
void unlock ()
 
void setNMPRMode (bool flag)
 
bool isNMPRMode ()
 
void setWirelessMode (bool flag)
 
bool isWirelessMode ()
 
int getSSDPAnnounceCount ()
 
const char * getUUID ()
 
int getBootID ()
 
DevicegetRootDevice ()
 
DevicegetParentDevice ()
 
DeviceDatagetDeviceData ()
 
bool hasDeviceData ()
 
void setDescriptionFile (const std::string &file)
 
const char * getDescriptionFile ()
 
void setDescriptionURI (const std::string &uri)
 
const char * getDescriptionURI ()
 
bool isDescriptionURI (const std::string &uri)
 
const char * getDescriptionFilePath (std::string &buf)
 
bool loadDescription (const std::string &descString)
 
bool loadDescription (uHTTP::File *file)
 
bool isRootDevice ()
 
void setSSDPPacket (SSDPPacket *packet)
 
SSDPPacketgetSSDPPacket ()
 
void setLocation (const std::string &value)
 
const char * getLocation ()
 
void setLeaseTime (int value)
 
int getLeaseTime ()
 
long getTimeStamp ()
 
long getElapsedTime ()
 
bool isExpired ()
 
const char * getURLBase ()
 
bool setDeviceType (const std::string &value)
 
const char * getDeviceType ()
 
bool isDeviceType (const std::string &value)
 
bool setFriendlyName (const std::string &value)
 
const char * getFriendlyName ()
 
bool setManufacturer (const std::string &value)
 
const char * getManufacturer ()
 
bool setManufacturerURL (const std::string &value)
 
const char * getManufacturerURL ()
 
bool setModelDescription (const std::string &value)
 
const char * getModelDescription ()
 
bool setModelName (const std::string &value)
 
const char * getModelName ()
 
bool setModelNumber (const std::string &value)
 
const char * getModelNumber ()
 
bool setModelURL (const std::string &value)
 
const char * getModelURL ()
 
bool setSerialNumber (const std::string &value)
 
const char * getSerialNumber ()
 
bool setUDN (const std::string &value)
 
const char * getUDN ()
 
bool hasUDN ()
 
bool setUPC (const std::string &value)
 
const char * getUPC ()
 
bool setPresentationURL (const std::string &value)
 
const char * getPresentationURL ()
 
DeviceListgetDeviceList ()
 
bool isDevice (const std::string &name)
 
mupnp_shared_ptr< DevicegetDevice (const std::string &name)
 
mupnp_shared_ptr< DevicegetDeviceByDescriptionURI (const std::string &uri)
 
ServiceListgetServiceList ()
 
ServicegetService (const std::string &name)
 
ServicegetSubscriberService (const std::string &uuid)
 
ServicegetServiceBySCPDURL (const std::string &searchUrl)
 
ServicegetServiceByControlURL (const std::string &searchUrl)
 
ServicegetServiceByEventSubURL (const std::string &searchUrl)
 
StateVariablegetStateVariable (const std::string &serviceType, const std::string &name)
 
StateVariablegetStateVariable (const std::string &name)
 
ActiongetAction (const std::string &name)
 
IconListgetIconList ()
 
IcongetIcon (size_t n)
 
const char * getLocationURL (const std::string &host, std::string &buf)
 
bool announce (const std::string &ifAddr)
 
bool announce ()
 
bool byebye (const std::string &ifAddr)
 
bool byebye ()
 
bool postSearchResponse (SSDPPacket *ssdpPacket, const std::string &st, const std::string &usn)
 
bool deviceSearchResponse (SSDPPacket *ssdpPacket)
 
bool deviceSearchReceived (SSDPPacket *ssdpPacket)
 
void setHTTPPort (int port)
 
int getHTTPPort ()
 
void setHTTPWorkerCount (size_t count)
 
size_t getHTTPWorkerCount ()
 
uHTTP::HTTP::StatusCode httpRequestRecieved (uHTTP::HTTPRequest *httpReq)
 
uHTTP::HTTPServerList * getHTTPServerList ()
 
SSDPSearchSocketListgetSSDPSearchSocketList ()
 
void setAdvertiser (Advertiser *adv)
 
AdvertisergetAdvertiser ()
 
bool start ()
 
bool stop ()
 
const char * getInterfaceAddress ()
 
void setActionListener (ActionListener *listener)
 
void setQueryListener (QueryListener *listener)
 
void setActionListener (ActionListener *listener, bool includeSubDevices)
 
void setQueryListener (QueryListener *listener, bool includeSubDevices)
 
- Public Member Functions inherited from mUPnP::SearchListener

Static Public Member Functions

static bool isDeviceNode (mupnp_shared_ptr< uXML::Node > node)
 
static void notifyWait ()
 

Static Public Attributes

static const char * ELEM_NAME
 
static const char * UPNP_ROOTDEVICE
 
static const int DEFAULT_STARTUP_WAIT_TIME
 
static const int DEFAULT_DISCOVERY_WAIT_TIME
 
static const int DEFAULT_LEASE_TIME
 
static const int HTTP_DEFAULT_PORT
 
static const int HTTP_DEFAULT_WORKER_COUNT
 
static const char * DEFAULT_DESCRIPTION_URI
 
static const char * URLBASE_NAME
 
static const char * DEVICE_TYPE
 
static const char * FRIENDLY_NAME
 
static const char * MANUFACTURER
 
static const char * MANUFACTURER_URL
 
static const char * MODEL_DESCRIPTION
 
static const char * MODEL_NAME
 
static const char * MODEL_NUMBER
 
static const char * MODEL_URL
 
static const char * SERIAL_NUMBER
 
static const char * UDN
 
static const char * UPC
 
static const char * presentationURL
 

Private Member Functions

void initUUID ()
 
void updateBootID ()
 
void initDeviceData ()
 
void initChildList ()
 
void setUUID (const std::string &uuid)
 
void updateUDN ()
 
void setBootID (int bootId)
 
void setLocalRootDeviceFlag (bool flag)
 
bool isLocalRootDevice ()
 
bool initializeLoadedDescription ()
 
void setURLBase (const std::string &value)
 
void updateURLBase (const std::string &host)
 
bool setDeviceNodeValue (const std::string &name, const std::string &value)
 
const char * getDeviceNodeValue (const std::string &name)
 
void initDeviceList ()
 
void initServiceList ()
 
void initIconList ()
 
const char * getNotifyDeviceNT (std::string &buf)
 
const char * getNotifyDeviceUSN (std::string &buf)
 
const char * getNotifyDeviceTypeNT (std::string &buf)
 
const char * getNotifyDeviceTypeUSN (std::string &buf)
 
const char * getDescriptionData (const std::string &host, std::string &buf)
 
uHTTP::HTTP::StatusCode httpGetRequestRecieved (uHTTP::HTTPRequest *httpReq)
 
uHTTP::HTTP::StatusCode httpPostRequestRecieved (uHTTP::HTTPRequest *httpReq)
 
uHTTP::HTTP::StatusCode soapBadActionRecieved (uHTTP::HTTPRequest *soapReq)
 
uHTTP::HTTP::StatusCode soapActionRecieved (uHTTP::HTTPRequest *soapReq)
 
uHTTP::HTTP::StatusCode invalidActionControlRecieved (ControlRequest *ctlReq)
 
uHTTP::HTTP::StatusCode deviceControlRequestRecieved (ControlRequest *ctlReq, Service *service)
 
uHTTP::HTTP::StatusCode deviceActionControlRecieved (ActionRequest *ctlReq, Service *service)
 
uHTTP::HTTP::StatusCode deviceQueryControlRecieved (QueryRequest *ctlReq, Service *service)
 
uHTTP::HTTP::StatusCode upnpBadSubscriptionRecieved (SubscriptionRequest *subReq, int code)
 
uHTTP::HTTP::StatusCode deviceEventSubscriptionRecieved (SubscriptionRequest *subReq)
 
uHTTP::HTTP::StatusCode deviceEventNewSubscriptionRecieved (Service *service, SubscriptionRequest *subReq)
 
uHTTP::HTTP::StatusCode deviceEventRenewSubscriptionRecieved (Service *service, SubscriptionRequest *subReq)
 
uHTTP::HTTP::StatusCode deviceEventUnsubscriptionRecieved (Service *service, SubscriptionRequest *subReq)
 
bool stop (bool doByeBye)
 

Private Attributes

mupnp_shared_ptr< uXML::NoderootNode
 
mupnp_shared_ptr< uXML::NodedeviceNode
 
DevicerootDevice
 
DeviceparentDevice
 
DeviceList deviceList
 
ServiceList serviceList
 
IconList iconList
 
bool localRootDeviceFlag
 
std::string devUUID
 
int devBootID
 
uHTTP::Mutex mutex
 
bool wirelessMode
 

Constructor & Destructor Documentation

◆ Device() [1/5]

mUPnP::Device::Device ( )

◆ Device() [2/5]

mUPnP::Device::Device ( mupnp_shared_ptr< uXML::Node > root,
mupnp_shared_ptr< uXML::Node > device )

◆ Device() [3/5]

mUPnP::Device::Device ( mupnp_shared_ptr< uXML::Node > device)

◆ Device() [4/5]

mUPnP::Device::Device ( uHTTP::File * descriptionFile)

◆ Device() [5/5]

mUPnP::Device::Device ( const std::string & descriptionFileName)

◆ ~Device()

virtual mUPnP::Device::~Device ( )
virtual

Member Function Documentation

◆ announce() [1/2]

bool mUPnP::Device::announce ( )

◆ announce() [2/2]

bool mUPnP::Device::announce ( const std::string & ifAddr)

◆ byebye() [1/2]

bool mUPnP::Device::byebye ( )

◆ byebye() [2/2]

bool mUPnP::Device::byebye ( const std::string & ifAddr)

◆ deviceActionControlRecieved()

uHTTP::HTTP::StatusCode mUPnP::Device::deviceActionControlRecieved ( ActionRequest * ctlReq,
Service * service )
private

◆ deviceControlRequestRecieved()

uHTTP::HTTP::StatusCode mUPnP::Device::deviceControlRequestRecieved ( ControlRequest * ctlReq,
Service * service )
private

◆ deviceEventNewSubscriptionRecieved()

uHTTP::HTTP::StatusCode mUPnP::Device::deviceEventNewSubscriptionRecieved ( Service * service,
SubscriptionRequest * subReq )
private

◆ deviceEventRenewSubscriptionRecieved()

uHTTP::HTTP::StatusCode mUPnP::Device::deviceEventRenewSubscriptionRecieved ( Service * service,
SubscriptionRequest * subReq )
private

◆ deviceEventSubscriptionRecieved()

uHTTP::HTTP::StatusCode mUPnP::Device::deviceEventSubscriptionRecieved ( SubscriptionRequest * subReq)
private

◆ deviceEventUnsubscriptionRecieved()

uHTTP::HTTP::StatusCode mUPnP::Device::deviceEventUnsubscriptionRecieved ( Service * service,
SubscriptionRequest * subReq )
private

◆ deviceQueryControlRecieved()

uHTTP::HTTP::StatusCode mUPnP::Device::deviceQueryControlRecieved ( QueryRequest * ctlReq,
Service * service )
private

◆ deviceSearchReceived()

bool mUPnP::Device::deviceSearchReceived ( SSDPPacket * ssdpPacket)
virtual

Implements mUPnP::SearchListener.

◆ deviceSearchResponse()

bool mUPnP::Device::deviceSearchResponse ( SSDPPacket * ssdpPacket)

◆ getAction()

Action * mUPnP::Device::getAction ( const std::string & name)

◆ getAdvertiser()

Advertiser * mUPnP::Device::getAdvertiser ( )
inline

◆ getBootID()

int mUPnP::Device::getBootID ( )
inline

◆ getDescriptionData()

const char * mUPnP::Device::getDescriptionData ( const std::string & host,
std::string & buf )
private

◆ getDescriptionFile()

const char * mUPnP::Device::getDescriptionFile ( )
inline

◆ getDescriptionFilePath()

const char * mUPnP::Device::getDescriptionFilePath ( std::string & buf)
inline

◆ getDescriptionURI()

const char * mUPnP::Device::getDescriptionURI ( )
inline

◆ getDevice()

mupnp_shared_ptr< Device > mUPnP::Device::getDevice ( const std::string & name)

◆ getDeviceByDescriptionURI()

mupnp_shared_ptr< Device > mUPnP::Device::getDeviceByDescriptionURI ( const std::string & uri)

◆ getDeviceData()

DeviceData * mUPnP::Device::getDeviceData ( )

◆ getDeviceList()

DeviceList * mUPnP::Device::getDeviceList ( )
inline

◆ getDeviceNode()

mupnp_shared_ptr< uXML::Node > mUPnP::Device::getDeviceNode ( )
inline

◆ getDeviceNodeValue()

const char * mUPnP::Device::getDeviceNodeValue ( const std::string & name)
private

◆ getDeviceType()

const char * mUPnP::Device::getDeviceType ( )
inline

◆ getElapsedTime()

long mUPnP::Device::getElapsedTime ( )
inline

◆ getFriendlyName()

const char * mUPnP::Device::getFriendlyName ( )
inline

◆ getHTTPPort()

int mUPnP::Device::getHTTPPort ( )
inline

◆ getHTTPServerList()

uHTTP::HTTPServerList * mUPnP::Device::getHTTPServerList ( )
inline

◆ getHTTPWorkerCount()

size_t mUPnP::Device::getHTTPWorkerCount ( )
inline

◆ getIcon()

Icon * mUPnP::Device::getIcon ( size_t n)
inline

◆ getIconList()

IconList * mUPnP::Device::getIconList ( )
inline

◆ getInterfaceAddress()

const char * mUPnP::Device::getInterfaceAddress ( )
inline

◆ getLeaseTime()

int mUPnP::Device::getLeaseTime ( )

◆ getLocation()

const char * mUPnP::Device::getLocation ( )
inline

◆ getLocationURL()

const char * mUPnP::Device::getLocationURL ( const std::string & host,
std::string & buf )

◆ getManufacturer()

const char * mUPnP::Device::getManufacturer ( )
inline

◆ getManufacturerURL()

const char * mUPnP::Device::getManufacturerURL ( )
inline

◆ getModelDescription()

const char * mUPnP::Device::getModelDescription ( )
inline

◆ getModelName()

const char * mUPnP::Device::getModelName ( )
inline

◆ getModelNumber()

const char * mUPnP::Device::getModelNumber ( )
inline

◆ getModelURL()

const char * mUPnP::Device::getModelURL ( )
inline

◆ getNotifyDeviceNT()

const char * mUPnP::Device::getNotifyDeviceNT ( std::string & buf)
private

◆ getNotifyDeviceTypeNT()

const char * mUPnP::Device::getNotifyDeviceTypeNT ( std::string & buf)
private

◆ getNotifyDeviceTypeUSN()

const char * mUPnP::Device::getNotifyDeviceTypeUSN ( std::string & buf)
private

◆ getNotifyDeviceUSN()

const char * mUPnP::Device::getNotifyDeviceUSN ( std::string & buf)
private

◆ getParentDevice()

Device * mUPnP::Device::getParentDevice ( )

◆ getPresentationURL()

const char * mUPnP::Device::getPresentationURL ( )
inline

◆ getRootDevice()

Device * mUPnP::Device::getRootDevice ( )

◆ getRootNode()

mupnp_shared_ptr< uXML::Node > mUPnP::Device::getRootNode ( )
inline

◆ getSerialNumber()

const char * mUPnP::Device::getSerialNumber ( )
inline

◆ getService()

Service * mUPnP::Device::getService ( const std::string & name)

◆ getServiceByControlURL()

Service * mUPnP::Device::getServiceByControlURL ( const std::string & searchUrl)

◆ getServiceByEventSubURL()

Service * mUPnP::Device::getServiceByEventSubURL ( const std::string & searchUrl)

◆ getServiceBySCPDURL()

Service * mUPnP::Device::getServiceBySCPDURL ( const std::string & searchUrl)

◆ getServiceList()

ServiceList * mUPnP::Device::getServiceList ( )
inline

◆ getSSDPAnnounceCount()

int mUPnP::Device::getSSDPAnnounceCount ( )
inline

◆ getSSDPPacket()

SSDPPacket * mUPnP::Device::getSSDPPacket ( )
inline

◆ getSSDPSearchSocketList()

SSDPSearchSocketList * mUPnP::Device::getSSDPSearchSocketList ( )
inline

◆ getStateVariable() [1/2]

StateVariable * mUPnP::Device::getStateVariable ( const std::string & name)

◆ getStateVariable() [2/2]

StateVariable * mUPnP::Device::getStateVariable ( const std::string & serviceType,
const std::string & name )

◆ getSubscriberService()

Service * mUPnP::Device::getSubscriberService ( const std::string & uuid)

◆ getTimeStamp()

long mUPnP::Device::getTimeStamp ( )

◆ getUDN()

const char * mUPnP::Device::getUDN ( )
inline

◆ getUPC()

const char * mUPnP::Device::getUPC ( )
inline

◆ getURLBase()

const char * mUPnP::Device::getURLBase ( )

◆ getUUID()

const char * mUPnP::Device::getUUID ( )
inline

◆ hasDeviceData()

bool mUPnP::Device::hasDeviceData ( )
inline

◆ hasDeviceNode()

bool mUPnP::Device::hasDeviceNode ( )
inline

◆ hasUDN()

bool mUPnP::Device::hasUDN ( )
inline

◆ httpGetRequestRecieved()

uHTTP::HTTP::StatusCode mUPnP::Device::httpGetRequestRecieved ( uHTTP::HTTPRequest * httpReq)
private

◆ httpPostRequestRecieved()

uHTTP::HTTP::StatusCode mUPnP::Device::httpPostRequestRecieved ( uHTTP::HTTPRequest * httpReq)
private

◆ httpRequestRecieved()

uHTTP::HTTP::StatusCode mUPnP::Device::httpRequestRecieved ( uHTTP::HTTPRequest * httpReq)

◆ initChildList()

void mUPnP::Device::initChildList ( )
private

◆ initDeviceData()

void mUPnP::Device::initDeviceData ( )
private

◆ initDeviceList()

void mUPnP::Device::initDeviceList ( )
private

◆ initializeLoadedDescription()

bool mUPnP::Device::initializeLoadedDescription ( )
private

◆ initIconList()

void mUPnP::Device::initIconList ( )
private

◆ initServiceList()

void mUPnP::Device::initServiceList ( )
private

◆ initUUID()

void mUPnP::Device::initUUID ( )
private

◆ invalidActionControlRecieved()

uHTTP::HTTP::StatusCode mUPnP::Device::invalidActionControlRecieved ( ControlRequest * ctlReq)
private

◆ isDescriptionURI()

bool mUPnP::Device::isDescriptionURI ( const std::string & uri)
inline

◆ isDevice()

bool mUPnP::Device::isDevice ( const std::string & name)

◆ isDeviceNode()

static bool mUPnP::Device::isDeviceNode ( mupnp_shared_ptr< uXML::Node > node)
inlinestatic

◆ isDeviceType()

bool mUPnP::Device::isDeviceType ( const std::string & value)

◆ isExpired()

bool mUPnP::Device::isExpired ( )

◆ isLocalRootDevice()

bool mUPnP::Device::isLocalRootDevice ( )
inlineprivate

◆ isNMPRMode()

bool mUPnP::Device::isNMPRMode ( )

◆ isRootDevice()

bool mUPnP::Device::isRootDevice ( )
inline

◆ isWirelessMode()

bool mUPnP::Device::isWirelessMode ( )
inline

◆ loadDescription() [1/2]

bool mUPnP::Device::loadDescription ( const std::string & descString)

◆ loadDescription() [2/2]

bool mUPnP::Device::loadDescription ( uHTTP::File * file)

◆ lock()

void mUPnP::Device::lock ( )
inline

◆ notifyWait()

static void mUPnP::Device::notifyWait ( )
static

◆ postSearchResponse()

bool mUPnP::Device::postSearchResponse ( SSDPPacket * ssdpPacket,
const std::string & st,
const std::string & usn )

◆ setActionListener() [1/2]

void mUPnP::Device::setActionListener ( ActionListener * listener)

◆ setActionListener() [2/2]

void mUPnP::Device::setActionListener ( ActionListener * listener,
bool includeSubDevices )

◆ setAdvertiser()

void mUPnP::Device::setAdvertiser ( Advertiser * adv)
inline

◆ setBootID()

void mUPnP::Device::setBootID ( int bootId)
inlineprivate

◆ setDescriptionFile()

void mUPnP::Device::setDescriptionFile ( const std::string & file)
inline

◆ setDescriptionURI()

void mUPnP::Device::setDescriptionURI ( const std::string & uri)
inline

◆ setDeviceNode()

void mUPnP::Device::setDeviceNode ( mupnp_shared_ptr< uXML::Node > node)
inline

◆ setDeviceNodeValue()

bool mUPnP::Device::setDeviceNodeValue ( const std::string & name,
const std::string & value )
private

◆ setDeviceType()

bool mUPnP::Device::setDeviceType ( const std::string & value)
inline

◆ setFriendlyName()

bool mUPnP::Device::setFriendlyName ( const std::string & value)
inline

◆ setHTTPPort()

void mUPnP::Device::setHTTPPort ( int port)
inline

◆ setHTTPWorkerCount()

void mUPnP::Device::setHTTPWorkerCount ( size_t count)
inline

◆ setLeaseTime()

void mUPnP::Device::setLeaseTime ( int value)

◆ setLocalRootDeviceFlag()

void mUPnP::Device::setLocalRootDeviceFlag ( bool flag)
inlineprivate

◆ setLocation()

void mUPnP::Device::setLocation ( const std::string & value)
inline

◆ setManufacturer()

bool mUPnP::Device::setManufacturer ( const std::string & value)
inline

◆ setManufacturerURL()

bool mUPnP::Device::setManufacturerURL ( const std::string & value)
inline

◆ setModelDescription()

bool mUPnP::Device::setModelDescription ( const std::string & value)
inline

◆ setModelName()

bool mUPnP::Device::setModelName ( const std::string & value)
inline

◆ setModelNumber()

bool mUPnP::Device::setModelNumber ( const std::string & value)
inline

◆ setModelURL()

bool mUPnP::Device::setModelURL ( const std::string & value)
inline

◆ setNMPRMode()

void mUPnP::Device::setNMPRMode ( bool flag)

◆ setPresentationURL()

bool mUPnP::Device::setPresentationURL ( const std::string & value)
inline

◆ setQueryListener() [1/2]

void mUPnP::Device::setQueryListener ( QueryListener * listener)

◆ setQueryListener() [2/2]

void mUPnP::Device::setQueryListener ( QueryListener * listener,
bool includeSubDevices )

◆ setRootNode()

void mUPnP::Device::setRootNode ( mupnp_shared_ptr< uXML::Node > node)
inline

◆ setSerialNumber()

bool mUPnP::Device::setSerialNumber ( const std::string & value)
inline

◆ setSSDPPacket()

void mUPnP::Device::setSSDPPacket ( SSDPPacket * packet)
inline

◆ setUDN()

bool mUPnP::Device::setUDN ( const std::string & value)
inline

◆ setUPC()

bool mUPnP::Device::setUPC ( const std::string & value)
inline

◆ setURLBase()

void mUPnP::Device::setURLBase ( const std::string & value)
private

◆ setUUID()

void mUPnP::Device::setUUID ( const std::string & uuid)
inlineprivate

◆ setWirelessMode()

void mUPnP::Device::setWirelessMode ( bool flag)
inline

◆ soapActionRecieved()

uHTTP::HTTP::StatusCode mUPnP::Device::soapActionRecieved ( uHTTP::HTTPRequest * soapReq)
private

◆ soapBadActionRecieved()

uHTTP::HTTP::StatusCode mUPnP::Device::soapBadActionRecieved ( uHTTP::HTTPRequest * soapReq)
private

◆ start()

bool mUPnP::Device::start ( )

◆ stop() [1/2]

bool mUPnP::Device::stop ( )
inline

◆ stop() [2/2]

bool mUPnP::Device::stop ( bool doByeBye)
private

◆ unlock()

void mUPnP::Device::unlock ( )
inline

◆ updateBootID()

void mUPnP::Device::updateBootID ( )
private

◆ updateUDN()

void mUPnP::Device::updateUDN ( )
inlineprivate

◆ updateURLBase()

void mUPnP::Device::updateURLBase ( const std::string & host)
private

◆ upnpBadSubscriptionRecieved()

uHTTP::HTTP::StatusCode mUPnP::Device::upnpBadSubscriptionRecieved ( SubscriptionRequest * subReq,
int code )
private

Field Documentation

◆ DEFAULT_DESCRIPTION_URI

const char* mUPnP::Device::DEFAULT_DESCRIPTION_URI
static

◆ DEFAULT_DISCOVERY_WAIT_TIME

const int mUPnP::Device::DEFAULT_DISCOVERY_WAIT_TIME
static

◆ DEFAULT_LEASE_TIME

const int mUPnP::Device::DEFAULT_LEASE_TIME
static

◆ DEFAULT_STARTUP_WAIT_TIME

const int mUPnP::Device::DEFAULT_STARTUP_WAIT_TIME
static

◆ devBootID

int mUPnP::Device::devBootID
private

◆ DEVICE_TYPE

const char* mUPnP::Device::DEVICE_TYPE
static

◆ deviceList

DeviceList mUPnP::Device::deviceList
private

◆ deviceNode

mupnp_shared_ptr<uXML::Node> mUPnP::Device::deviceNode
private

◆ devUUID

std::string mUPnP::Device::devUUID
private

◆ ELEM_NAME

const char* mUPnP::Device::ELEM_NAME
static

◆ FRIENDLY_NAME

const char* mUPnP::Device::FRIENDLY_NAME
static

◆ HTTP_DEFAULT_PORT

const int mUPnP::Device::HTTP_DEFAULT_PORT
static

◆ HTTP_DEFAULT_WORKER_COUNT

const int mUPnP::Device::HTTP_DEFAULT_WORKER_COUNT
static

◆ iconList

IconList mUPnP::Device::iconList
private

◆ localRootDeviceFlag

bool mUPnP::Device::localRootDeviceFlag
private

◆ MANUFACTURER

const char* mUPnP::Device::MANUFACTURER
static

◆ MANUFACTURER_URL

const char* mUPnP::Device::MANUFACTURER_URL
static

◆ MODEL_DESCRIPTION

const char* mUPnP::Device::MODEL_DESCRIPTION
static

◆ MODEL_NAME

const char* mUPnP::Device::MODEL_NAME
static

◆ MODEL_NUMBER

const char* mUPnP::Device::MODEL_NUMBER
static

◆ MODEL_URL

const char* mUPnP::Device::MODEL_URL
static

◆ mutex

uHTTP::Mutex mUPnP::Device::mutex
private

◆ parentDevice

Device* mUPnP::Device::parentDevice
private

◆ presentationURL

const char* mUPnP::Device::presentationURL
static

◆ rootDevice

Device* mUPnP::Device::rootDevice
private

◆ rootNode

mupnp_shared_ptr<uXML::Node> mUPnP::Device::rootNode
private

◆ SERIAL_NUMBER

const char* mUPnP::Device::SERIAL_NUMBER
static

◆ serviceList

ServiceList mUPnP::Device::serviceList
private

◆ UDN

const char* mUPnP::Device::UDN
static

◆ UPC

const char* mUPnP::Device::UPC
static

◆ UPNP_ROOTDEVICE

const char* mUPnP::Device::UPNP_ROOTDEVICE
static

◆ URLBASE_NAME

const char* mUPnP::Device::URLBASE_NAME
static

◆ wirelessMode

bool mUPnP::Device::wirelessMode
private

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