mUPnP for C++
mUPnP::SSDPPacket Class Reference

#include <SSDPPacket.h>

Public Member Functions

 SSDPPacket ()
 
void setDatagramPacket (uHTTP::DatagramPacket *packet)
 
uHTTP::DatagramPacket & getDatagramPacket ()
 
void setLocalAddress (const std::string &addr)
 
const char * getLocalAddress ()
 
void setTimeStamp (long value)
 
long getTimeStamp ()
 
const char * getRemoteAddress ()
 
int getRemotePort ()
 
const char * getData ()
 
bool isNotifyRequest ()
 
bool isSearchRequest ()
 
const char * getHost (std::string &buf)
 
const char * getCacheControl (std::string &buf)
 
const char * getLocation (std::string &buf)
 
const char * getMAN (std::string &buf)
 
const char * getST (std::string &buf)
 
const char * getNT (std::string &buf)
 
const char * getNTS (std::string &buf)
 
const char * getServer (std::string &buf)
 
const char * getUSN (std::string &buf)
 
int getMX ()
 
bool isRootDevice ()
 
bool isDiscover ()
 
bool isAlive ()
 
bool isByeBye ()
 
int getLeaseTime ()
 
void set (SSDPPacket *ssdpPacket)
 
bool isNull ()
 
const char * toString ()
 
void print ()
 

Private Attributes

uHTTP::DatagramPacket dgmPacket
 
std::string localAddr
 
long timeStamp
 

Constructor & Destructor Documentation

◆ SSDPPacket()

mUPnP::SSDPPacket::SSDPPacket ( )
inline

Member Function Documentation

◆ getCacheControl()

const char * mUPnP::SSDPPacket::getCacheControl ( std::string & buf)
inline

◆ getData()

const char * mUPnP::SSDPPacket::getData ( )
inline

◆ getDatagramPacket()

uHTTP::DatagramPacket & mUPnP::SSDPPacket::getDatagramPacket ( )
inline

◆ getHost()

const char * mUPnP::SSDPPacket::getHost ( std::string & buf)
inline

◆ getLeaseTime()

int mUPnP::SSDPPacket::getLeaseTime ( )
inline

◆ getLocalAddress()

const char * mUPnP::SSDPPacket::getLocalAddress ( )
inline

◆ getLocation()

const char * mUPnP::SSDPPacket::getLocation ( std::string & buf)
inline

◆ getMAN()

const char * mUPnP::SSDPPacket::getMAN ( std::string & buf)
inline

◆ getMX()

int mUPnP::SSDPPacket::getMX ( )
inline

◆ getNT()

const char * mUPnP::SSDPPacket::getNT ( std::string & buf)
inline

◆ getNTS()

const char * mUPnP::SSDPPacket::getNTS ( std::string & buf)
inline

◆ getRemoteAddress()

const char * mUPnP::SSDPPacket::getRemoteAddress ( )
inline

◆ getRemotePort()

int mUPnP::SSDPPacket::getRemotePort ( )
inline

◆ getServer()

const char * mUPnP::SSDPPacket::getServer ( std::string & buf)
inline

◆ getST()

const char * mUPnP::SSDPPacket::getST ( std::string & buf)
inline

◆ getTimeStamp()

long mUPnP::SSDPPacket::getTimeStamp ( )
inline

◆ getUSN()

const char * mUPnP::SSDPPacket::getUSN ( std::string & buf)
inline

◆ isAlive()

bool mUPnP::SSDPPacket::isAlive ( )
inline

◆ isByeBye()

bool mUPnP::SSDPPacket::isByeBye ( )
inline

◆ isDiscover()

bool mUPnP::SSDPPacket::isDiscover ( )
inline

◆ isNotifyRequest()

bool mUPnP::SSDPPacket::isNotifyRequest ( )

◆ isNull()

bool mUPnP::SSDPPacket::isNull ( )
inline

◆ isRootDevice()

bool mUPnP::SSDPPacket::isRootDevice ( )

◆ isSearchRequest()

bool mUPnP::SSDPPacket::isSearchRequest ( )

◆ print()

void mUPnP::SSDPPacket::print ( )
inline

◆ set()

void mUPnP::SSDPPacket::set ( SSDPPacket * ssdpPacket)

◆ setDatagramPacket()

void mUPnP::SSDPPacket::setDatagramPacket ( uHTTP::DatagramPacket * packet)
inline

◆ setLocalAddress()

void mUPnP::SSDPPacket::setLocalAddress ( const std::string & addr)
inline

◆ setTimeStamp()

void mUPnP::SSDPPacket::setTimeStamp ( long value)
inline

◆ toString()

const char * mUPnP::SSDPPacket::toString ( )
inline

Field Documentation

◆ dgmPacket

uHTTP::DatagramPacket mUPnP::SSDPPacket::dgmPacket
private

◆ localAddr

std::string mUPnP::SSDPPacket::localAddr
private

◆ timeStamp

long mUPnP::SSDPPacket::timeStamp
private

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