IoT::MQTT

struct TopicCount

File Information

Library: IoT/MQTT
Package: MQTTClient
Header: IoT/MQTT/Types.h

Constructors

TopicCount inline

TopicCount();

TopicCount inline

TopicCount(
    const std::string & t,
    int c,
    Poco::Timestamp ts
);

Variables

lastMessage

Poco::Timestamp lastMessage = 0;

Time of last message published or received on this topic.

messageCount

int messageCount = 0;

The number of messages published or received on this topic.

topic

std::string topic;

The topic name.

Securely control IoT edge devices from anywhere   Connect a Device