A special event handler that serves discovery information and ignores the event itself.
Service profile for swarm members.
std::list< InMemoryParameter * > _parameters
Parameters.
A strongly typed in-memory parameter target that can be made read-only.
void AddFauxEventHandler(FauxEventHandler *eventHandler)
Add an event handler and register it.
ExampleDevice(Endpoint *endpoint)
Construct a new Example Device object.
void AddInMemoryParameter(InMemoryParameter *parameter)
Add an In-Memory Parameter and register it.
Abstract base class for Endpoint implementations.
Represents a collection of standard services that can be used to simulate an ordinary device...
std::list< FauxEventHandler * > _eventHandlers
Event handlers.
uint32_t _messageCounter
Number of incoming messages.
~ExampleDevice() override
Destroy the Example Device object.
Represents a Node the Endpoint knows about and can send messages to.
void AddConstantTelemetryValue(const std::string &key, const data::Variant &value, bool includeInStatus=false)
Add a constant telemetry value.
virtual bool ReceiveMessage(const Node *sender, const data::Message *message) override
Delivery point of all messages.