mUPnP for C++
mUPnP::Subscription Namespace Reference

Functions

const char * toTimeoutHeaderString (long time, std::string &buf)
 
long GetTimeout (const std::string &headerValue)
 
const char * CreateSID (std::string &buf)
 
const char * toSIDHeaderString (const std::string &sid, std::string &buf)
 
const char * GetSID (const std::string &headerValue, std::string &buf)
 

Variables

const char XMLNS [] = "urn:schemas-upnp-org:event-1-0"
 
const char TIMEOUT_HEADER [] = "Second-"
 
const char INFINITE_STRING [] = "infinite"
 
const int INFINITE_VALUE = -1
 
const char UUID [] = "uuid:"
 
const char SUBSCRIBE_METHOD [] = "SUBSCRIBE"
 
const char UNSUBSCRIBE_METHOD [] = "UNSUBSCRIBE"
 

Function Documentation

◆ CreateSID()

const char * mUPnP::Subscription::CreateSID ( std::string & buf)

◆ GetSID()

const char * mUPnP::Subscription::GetSID ( const std::string & headerValue,
std::string & buf )

◆ GetTimeout()

long mUPnP::Subscription::GetTimeout ( const std::string & headerValue)

◆ toSIDHeaderString()

const char * mUPnP::Subscription::toSIDHeaderString ( const std::string & sid,
std::string & buf )

◆ toTimeoutHeaderString()

const char * mUPnP::Subscription::toTimeoutHeaderString ( long time,
std::string & buf )

Variable Documentation

◆ INFINITE_STRING

const char mUPnP::Subscription::INFINITE_STRING[] = "infinite"

◆ INFINITE_VALUE

const int mUPnP::Subscription::INFINITE_VALUE = -1

◆ SUBSCRIBE_METHOD

const char mUPnP::Subscription::SUBSCRIBE_METHOD[] = "SUBSCRIBE"

◆ TIMEOUT_HEADER

const char mUPnP::Subscription::TIMEOUT_HEADER[] = "Second-"

◆ UNSUBSCRIBE_METHOD

const char mUPnP::Subscription::UNSUBSCRIBE_METHOD[] = "UNSUBSCRIBE"

◆ UUID

const char mUPnP::Subscription::UUID[] = "uuid:"

◆ XMLNS

const char mUPnP::Subscription::XMLNS[] = "urn:schemas-upnp-org:event-1-0"