Closed boaks closed 7 years ago
I think this is used in the context of failing over observations between nodes.
ObservationStore.add()
also persists the data from Request.userContext
.
UserContext is used to attach application data to a request. (a feature provided by californium for enduser) (see #86) E.g we use it in Leshan to attach the registration id linked to an observe requests.
CorrelationContext contains data used to make correlation between CoAP messages. (needed for internal californium behavior)
HTH
Thanks!
I'm pretty unsure, for what this is used. Currently leshan puts some data in. Is intended to be related to the CorrelationContext? Or was it intended to be used unrelated to that context?