IoT::MQTT

class MQTTClientSkeleton

File Information

Library: IoT/MQTT
Package: Generated
Header: IoT/MQTT/MQTTClientSkeleton.h

Description

The interface for MQTT clients.

Implementations are expected to receive their client ID and server URI via an implementation defined configuration mechanism. Once configured, a MQTTClient always uses the same client ID and connects to the same server. A MQTT client should automatically attempt to reconnect if the connection to the server is lost.

A single client instance can either support MQTT version 3.1/3.1.1 or version 5. Which MQTT version is supported by the client is determined when configuring the client.

Users of the class must call the appropriate methods supporting the client's configured MQTT version.

Inheritance

Direct Base Classes: Poco::RemotingNG::Skeleton

All Base Classes: Poco::RefCountedObject, Poco::RemotingNG::AttributedObject, Poco::RemotingNG::Skeleton

Member Summary

Member Functions: remoting__typeId

Inherited Functions: addMethodHandler, clearAttributes, countAttributes, duplicate, enumerateAttributes, getAttribute, hasAttribute, invoke, operator =, referenceCount, release, removeAttribute, setAttribute

Constructors

MQTTClientSkeleton

MQTTClientSkeleton();

Creates a MQTTClientSkeleton.

Destructor

~MQTTClientSkeleton virtual

virtual ~MQTTClientSkeleton();

Destroys a MQTTClientSkeleton.

Member Functions

remoting__typeId virtual inline

virtual const Poco::RemotingNG::Identifiable::TypeId & remoting__typeId() const;

Variables

DEFAULT_NS static

static const std::string DEFAULT_NS;

Securely control IoT edge devices from anywhere   Connect a Device