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

Status object for getStatus API. More...

Public Member Functions

 GetEnrolleeStatus (ESResult result, const EnrolleeStatus &status)
 Constructor. More...
 
ESResult getESResult ()
 Get a result of getting provisioning status and last error code of Enrollee. More...
 
const EnrolleeStatusgetEnrolleeStatus ()
 Get Enrollee's status and last error code properties. More...
 

Detailed Description

Status object for getStatus API.

This object is given to application when a response for GET request to provisioning resource at Enrollee is arrived. It returns a result of the API and requested data delivered in the response which includes a provisioning status and last error code stored in Enrollee.

See Also
EnrolleeStatus

Constructor & Destructor Documentation

OIC::Service::GetEnrolleeStatus::GetEnrolleeStatus ( ESResult  result,
const EnrolleeStatus status 
)
inline

Constructor.

Member Function Documentation

const EnrolleeStatus& OIC::Service::GetEnrolleeStatus::getEnrolleeStatus ( )
inline

Get Enrollee's status and last error code properties.

Returns
Enrollee's status and last error code properties
See Also
EnrolleeStatus
ESResult OIC::Service::GetEnrolleeStatus::getESResult ( )
inline

Get a result of getting provisioning status and last error code of Enrollee.

Returns
ES_OK
ES_COMMUNICATION_ERROR
ES_ERROR
See Also
ESResult

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