Com-AugustCellars / CoAP-CSharp

CoAP Implementation in C#
Other
41 stars 19 forks source link

Context Object #50

Closed davidwallis closed 5 years ago

davidwallis commented 6 years ago

Hi,

I am looking at your observe example but not sure what object I should be using as a contextObject - it doesnt seem clear from the example.. but that might be me being thick!

Thanks

David

jimsch commented 6 years ago

The contextObject is an object of your choice that holds information about the specific notification you are looking for. This allows for a function on your object to be called when a notification happens.

davidwallis commented 6 years ago

Doh! Erm.. It is me being thick!