IoTivity C++ SDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
OIC::Service::RCSRequest Class Reference

This class describes the request. More...

Public Member Functions

 RCSRequest ()=default
 
 RCSRequest (const std::string &resourceUri)
 Constructor to set resource URI. More...
 
 RCSRequest (const std::shared_ptr< RCSResourceObject > &, const std::shared_ptr< OC::OCResourceRequest > &)
 
std::weak_ptr< RCSResourceObjectgetResourceObject () const noexcept
 
std::string getResourceUri () const
 
std::shared_ptr
< OC::OCResourceRequest
getOCRequest () const noexcept
 
const std::map< std::string,
std::string > & 
getQueryParams () const
 
std::string getInterface () const
 

Detailed Description

This class describes the request.

Constructor & Destructor Documentation

OIC::Service::RCSRequest::RCSRequest ( )
default
OIC::Service::RCSRequest::RCSRequest ( const std::string &  resourceUri)
explicit

Constructor to set resource URI.

Parameters
resourceUriURI of the resource for which the request is generated.
OIC::Service::RCSRequest::RCSRequest ( const std::shared_ptr< RCSResourceObject > &  ,
const std::shared_ptr< OC::OCResourceRequest > &   
)

Member Function Documentation

std::string OIC::Service::RCSRequest::getInterface ( ) const
Returns
the interface of the request.
std::shared_ptr< OC::OCResourceRequest > OIC::Service::RCSRequest::getOCRequest ( ) const
noexcept
Returns
the OCResourceRequest.
const std::map< std::string, std::string >& OIC::Service::RCSRequest::getQueryParams ( ) const
Returns
the query parameters of the request.
std::weak_ptr< RCSResourceObject > OIC::Service::RCSRequest::getResourceObject ( ) const
noexcept
Returns
the resource object which receives this request.
std::string OIC::Service::RCSRequest::getResourceUri ( ) const
Returns
the URI of the request.

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