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

Incoming requests handled by the server. More...

Public Attributes

OCResourceHandle resource
 Associated resource. More...
 
OCRequestHandle requestHandle
 Associated request handle. More...
 
OCMethod method
 the REST method retrieved from received request PDU. More...
 
OCDevAddr devAddr
 description of endpoint that sent the request. More...
 
char * query
 resource query send by client. More...
 
OCObservationInfo obsInfo
 Information associated with observation - valid only when OCEntityHandler flag includes OC_OBSERVE_FLAG. More...
 
uint8_t numRcvdVendorSpecificHeaderOptions
 Number of the received vendor specific header options. More...
 
OCHeaderOptionrcvdVendorSpecificHeaderOptions
 Pointer to the array of the received vendor specific header options. More...
 
uint16_t messageID
 Message id. More...
 
OCPayloadpayload
 the payload from the request PDU. More...
 

Detailed Description

Incoming requests handled by the server.

Requests are passed in as a parameter to the OCEntityHandler callback API. The OCEntityHandler callback API must be implemented in the application in order to receive these requests.

Member Data Documentation

OCDevAddr OCEntityHandlerRequest::devAddr

description of endpoint that sent the request.

uint16_t OCEntityHandlerRequest::messageID

Message id.

OCMethod OCEntityHandlerRequest::method

the REST method retrieved from received request PDU.

uint8_t OCEntityHandlerRequest::numRcvdVendorSpecificHeaderOptions

Number of the received vendor specific header options.

OCObservationInfo OCEntityHandlerRequest::obsInfo

Information associated with observation - valid only when OCEntityHandler flag includes OC_OBSERVE_FLAG.

OCPayload* OCEntityHandlerRequest::payload

the payload from the request PDU.

char* OCEntityHandlerRequest::query

resource query send by client.

OCHeaderOption* OCEntityHandlerRequest::rcvdVendorSpecificHeaderOptions

Pointer to the array of the received vendor specific header options.

OCRequestHandle OCEntityHandlerRequest::requestHandle

Associated request handle.

OCResourceHandle OCEntityHandlerRequest::resource

Associated resource.


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