IoTivity C++ SDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
OCEntityHandlerResponse Struct Reference

Request handle is passed to server via the entity handler for each incoming request. More...

Public Attributes

OCRequestHandle requestHandle
 Request handle. More...
 
OCResourceHandle resourceHandle
 Resource handle. More...
 
OCEntityHandlerResult ehResult
 Allow the entity handler to pass a result with the response. More...
 
OCPayloadpayload
 This is the pointer to server payload data to be transferred. More...
 
uint8_t numSendVendorSpecificHeaderOptions
 number of the vendor specific header options . More...
 
OCHeaderOption sendVendorSpecificHeaderOptions [MAX_HEADER_OPTIONS]
 An array of the vendor specific header options the entity handler wishes to use in response. More...
 
char resourceUri [MAX_URI_LENGTH]
 Resource path of new resource that entity handler might create. More...
 
uint8_t persistentBufferFlag
 Server sets to true for persistent response buffer,false for non-persistent response buffer. More...
 

Detailed Description

Request handle is passed to server via the entity handler for each incoming request.

Stack assigns when request is received, server sets to indicate what request response is for.

Member Data Documentation

OCEntityHandlerResult OCEntityHandlerResponse::ehResult

Allow the entity handler to pass a result with the response.

uint8_t OCEntityHandlerResponse::numSendVendorSpecificHeaderOptions

number of the vendor specific header options .

OCPayload* OCEntityHandlerResponse::payload

This is the pointer to server payload data to be transferred.

uint8_t OCEntityHandlerResponse::persistentBufferFlag

Server sets to true for persistent response buffer,false for non-persistent response buffer.

OCRequestHandle OCEntityHandlerResponse::requestHandle

Request handle.

OCResourceHandle OCEntityHandlerResponse::resourceHandle

Resource handle.

char OCEntityHandlerResponse::resourceUri[MAX_URI_LENGTH]

Resource path of new resource that entity handler might create.

OCHeaderOption OCEntityHandlerResponse::sendVendorSpecificHeaderOptions[MAX_HEADER_OPTIONS]

An array of the vendor specific header options the entity handler wishes to use in response.


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