SPSP
Simple publish-subscribe protocol. Connects low power IoT clients to MQTT.
All Classes Files Functions Variables Typedefs Enumerations
Public Attributes | List of all members
SPSP::Nodes::ClientConfig::SubDB Struct Reference

Public Attributes

std::chrono::milliseconds interval = std::chrono::minutes(1)
 
std::chrono::milliseconds subLifetime = std::chrono::minutes(10)
 

Detailed Description

Definition at line 41 of file client.hpp.

Member Data Documentation

◆ interval

std::chrono::milliseconds SPSP::Nodes::ClientConfig::SubDB::interval = std::chrono::minutes(1)

How often to decrement subscription lifetimes, remove expired entries and unsubscribe from unnecessary topics. Should be at least 5× less than subLifetime.

It's usually not necessary to change this.

Definition at line 50 of file client.hpp.

◆ subLifetime

std::chrono::milliseconds SPSP::Nodes::ClientConfig::SubDB::subLifetime = std::chrono::minutes(10)

Lifetime of subscribe from client (client must renew the subscription before this timeout)

It's usually not necessary to change this.

Definition at line 58 of file client.hpp.


The documentation for this struct was generated from the following file: