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

This class is to send a delayed response for request handlers of the RCSResourceObject. More...

Public Member Functions

 RCSSeparateResponse (const RCSRequest &request)
 Constructs with a request. More...
 
 RCSSeparateResponse (RCSRequest &&request)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
 RCSSeparateResponse (const RCSSeparateResponse &)=delete
 
RCSSeparateResponseoperator= (const RCSSeparateResponse &)=delete
 
 RCSSeparateResponse (RCSSeparateResponse &&)=default
 
RCSSeparateResponseoperator= (RCSSeparateResponse &&)=default
 
void set ()
 Sends the response to the client. More...
 

Detailed Description

Constructor & Destructor Documentation

OIC::Service::RCSSeparateResponse::RCSSeparateResponse ( const RCSRequest request)
explicit

Constructs with a request.

Note
The request must be from a request handler which returns separate().
See Also
RCSResourceObject::SetRequestHandler
RCSResourceObject::GetRequestHandler
RCSGetResponse::separate()
RCSSetResponse::separate()
OIC::Service::RCSSeparateResponse::RCSSeparateResponse ( RCSRequest &&  request)
explicit

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

OIC::Service::RCSSeparateResponse::RCSSeparateResponse ( const RCSSeparateResponse )
delete
OIC::Service::RCSSeparateResponse::RCSSeparateResponse ( RCSSeparateResponse &&  )
default

Member Function Documentation

RCSSeparateResponse& OIC::Service::RCSSeparateResponse::operator= ( const RCSSeparateResponse )
delete
RCSSeparateResponse& OIC::Service::RCSSeparateResponse::operator= ( RCSSeparateResponse &&  )
default
void OIC::Service::RCSSeparateResponse::set ( )

Sends the response to the client.

The payload will be composed of properties(including attributes) of the resource object of the request.

Exceptions
RCSBadRequestExceptionIf the RCSResourceObject which receives the request is gone or it is already set.
RCSPlatformExceptionIf the operation failed.

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