#include <resource.h>
Public Member Functions | |
| LIST_STRUCT (subscribers) | |
| list of observers for this resource More... | |
Data Fields | |
| unsigned int | dirty:1 |
| set to 1 if resource has changed More... | |
| unsigned int | partiallydirty:1 |
| set to 1 if some subscribers have not yet been notified of the last change More... | |
| unsigned int | observable:1 |
| can be observed More... | |
| unsigned int | cacheable:1 |
| can be cached More... | |
| coap_method_handler_t | handler [4] |
Used to store handlers for the four coap methods GET, POST, PUT, and DELETE. More... | |
| coap_key_t | key |
| the actual key bytes for this resource More... | |
| UT_hash_handle | hh |
| coap_attr_t * | link_attr |
| attributes to be included with the link format More... | |
| str | uri |
| Request URI for this resource. More... | |
| int | flags |
Definition at line 61 of file resource.h.
| coap_resource_t::LIST_STRUCT | ( | subscribers | ) |
list of observers for this resource
| unsigned int coap_resource_t::cacheable |
can be cached
Definition at line 65 of file resource.h.
| unsigned int coap_resource_t::dirty |
set to 1 if resource has changed
Definition at line 62 of file resource.h.
| int coap_resource_t::flags |
Definition at line 97 of file resource.h.
| coap_method_handler_t coap_resource_t::handler[4] |
Used to store handlers for the four coap methods GET, POST, PUT, and DELETE.
coap_dispatch() will pass incoming requests to the handler that corresponds to its request method or generate a 4.05 response if no handler is available.
Definition at line 73 of file resource.h.
| UT_hash_handle coap_resource_t::hh |
Definition at line 81 of file resource.h.
| coap_key_t coap_resource_t::key |
the actual key bytes for this resource
Definition at line 75 of file resource.h.
| coap_attr_t* coap_resource_t::link_attr |
attributes to be included with the link format
Definition at line 86 of file resource.h.
| unsigned int coap_resource_t::observable |
can be observed
Definition at line 64 of file resource.h.
| unsigned int coap_resource_t::partiallydirty |
set to 1 if some subscribers have not yet been notified of the last change
Definition at line 63 of file resource.h.
| str coap_resource_t::uri |
Request URI for this resource.
This field will point into the static memory.
Definition at line 96 of file resource.h.
1.8.6