#include <ProsecCoAP.h>
Public Member Functions | |
| bool | remove () |
| unsigned long | getLastSeenMs () |
| Get the last seen time in milliseconds. | |
Friends | |
| class | Coap |
Represents a CoAP observer.
| unsigned long Observer::getLastSeenMs | ( | ) |
Get the last seen time in milliseconds.
Note that this value may wrap around after a long uptime.
| bool Observer::remove | ( | ) |
Remove the observer from the list of active observers.
An observer can only be added from the Coap class (Coap::addObserver). An observer can be removed either by the Coap class (Coap::removeObserver) or by itself (Observer::remove).
|
friend |