mUPnP for C++
mUPnP::ControlResponse Class Reference

#include <ControlResponse.h>

Inheritance diagram for mUPnP::ControlResponse:
uSOAP::SOAPResponse mUPnP::ActionResponse mUPnP::QueryResponse

Public Member Functions

 ControlResponse ()
 
 ControlResponse (SOAPResponse *soapRes)
 
void setFaultResponse (int errCode, const std::string &errDescr)
 
void setFaultResponse (int errCode)
 
int getUPnPErrorCode ()
 
const char * getUPnPErrorDescription ()
 
UPnPStatusgetUPnPError ()
 
- Public Member Functions inherited from uSOAP::SOAPResponse
 SOAPResponse ()
 
 ~SOAPResponse ()
 
const char * getHeader (std::string &buf)
 
const char * getEncording (std::string &buf)
 
bool isEncording (const std::string &encType)
 
void setEnvelopeNode (mupnp_shared_ptr< uXML::Node > node)
 
mupnp_shared_ptr< uXML::NodegetEnvelopeNode ()
 
mupnp_shared_ptr< uXML::NodegetBodyNode ()
 
mupnp_shared_ptr< uXML::NodegetMethodResponseNode (const std::string &name)
 
mupnp_shared_ptr< uXML::NodegetFaultNode ()
 
mupnp_shared_ptr< uXML::NodegetFaultCodeNode ()
 
mupnp_shared_ptr< uXML::NodegetFaultStringNode ()
 
mupnp_shared_ptr< uXML::NodegetFaultActorNode ()
 
mupnp_shared_ptr< uXML::NodegetFaultDetailNode ()
 
const char * getFaultCode ()
 
const char * getFaultString ()
 
const char * getFaultActor ()
 
void setContent (uXML::Node *node)
 

Static Public Attributes

static const char * FAULT_CODE
 
static const char * FAULT_STRING
 

Private Member Functions

uXML::NodecreateFaultResponseNode (int errCode, const std::string &errDescr)
 
mupnp_shared_ptr< uXML::NodegetUPnPErrorNode ()
 
mupnp_shared_ptr< uXML::NodegetUPnPErrorCodeNode ()
 
mupnp_shared_ptr< uXML::NodegetUPnPErrorDescriptionNode ()
 

Private Attributes

UPnPStatus upnpErr
 

Constructor & Destructor Documentation

◆ ControlResponse() [1/2]

mUPnP::ControlResponse::ControlResponse ( )
inline

◆ ControlResponse() [2/2]

mUPnP::ControlResponse::ControlResponse ( SOAPResponse * soapRes)
inline

Member Function Documentation

◆ createFaultResponseNode()

uXML::Node * mUPnP::ControlResponse::createFaultResponseNode ( int errCode,
const std::string & errDescr )
private

◆ getUPnPError()

UPnPStatus * mUPnP::ControlResponse::getUPnPError ( )
inline

◆ getUPnPErrorCode()

int mUPnP::ControlResponse::getUPnPErrorCode ( )
inline

◆ getUPnPErrorCodeNode()

mupnp_shared_ptr< uXML::Node > mUPnP::ControlResponse::getUPnPErrorCodeNode ( )
inlineprivate

◆ getUPnPErrorDescription()

const char * mUPnP::ControlResponse::getUPnPErrorDescription ( )
inline

◆ getUPnPErrorDescriptionNode()

mupnp_shared_ptr< uXML::Node > mUPnP::ControlResponse::getUPnPErrorDescriptionNode ( )
inlineprivate

◆ getUPnPErrorNode()

mupnp_shared_ptr< uXML::Node > mUPnP::ControlResponse::getUPnPErrorNode ( )
inlineprivate

◆ setFaultResponse() [1/2]

void mUPnP::ControlResponse::setFaultResponse ( int errCode)
inline

◆ setFaultResponse() [2/2]

void mUPnP::ControlResponse::setFaultResponse ( int errCode,
const std::string & errDescr )

Field Documentation

◆ FAULT_CODE

const char* mUPnP::ControlResponse::FAULT_CODE
static

◆ FAULT_STRING

const char* mUPnP::ControlResponse::FAULT_STRING
static

◆ upnpErr

UPnPStatus mUPnP::ControlResponse::upnpErr
private

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