An Obervable class that listens for Signal K PUT requests coming over the websocket connection and notifies observers of the change.
More...
#include <sensesp/signalk/signalk_put_request_listener.h>
An Obervable class that listens for Signal K PUT requests coming over the websocket connection and notifies observers of the change.
- See also
- SKPutRequestListener
Definition at line 20 of file signalk_put_request_listener.h.
◆ SKPutListener()
| sensesp::SKPutListener::SKPutListener |
( |
const String & |
sk_path | ) |
|
The constructor
- Parameters
-
| sk_path | The Signal K path that identifies the signal k path this particular listener responds to |
Definition at line 11 of file signalk_put_request_listener.cpp.
◆ ~SKPutListener()
| sensesp::SKPutListener::~SKPutListener |
( |
| ) |
|
|
virtual |
Unregisters this listener from the static registry so the registry never holds a dangling pointer. Takes the SKListener semaphore because the WS client task iterates this registry under that same lock.
Definition at line 15 of file signalk_put_request_listener.cpp.
◆ clear_registry()
| void sensesp::SKPutListener::clear_registry |
( |
| ) |
|
|
static |
◆ get_listeners()
| static const std::vector< SKPutListener * > & sensesp::SKPutListener::get_listeners |
( |
| ) |
|
|
inlinestatic |
◆ get_sk_path()
| String & sensesp::SKPutListener::get_sk_path |
( |
| ) |
|
|
inline |
◆ parse_value()
| virtual void sensesp::SKPutListener::parse_value |
( |
const JsonObject & |
put | ) |
|
|
pure virtual |
◆ sk_path
| String sensesp::SKPutListener::sk_path {} |
|
protected |
The documentation for this class was generated from the following files: