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::BridgeConfig::SubDB Struct Reference

Public Attributes

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

Detailed Description

Definition at line 47 of file bridge.hpp.

Member Data Documentation

◆ interval

std::chrono::milliseconds SPSP::Nodes::BridgeConfig::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 56 of file bridge.hpp.

◆ subLifetime

std::chrono::milliseconds SPSP::Nodes::BridgeConfig::SubDB::subLifetime = std::chrono::minutes(15)

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

It's usually not necessary to change this.

Definition at line 64 of file bridge.hpp.


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