mqttd.client

/home/tomas/workspace/mqtt-d/source/mqttd/client.d

Members

Aliases

SessionContainer
alias SessionContainer = FixedRingBuffer!(PacketContext, MQTT_SESSION_MAX_PACKETS)
Undocumented in source.

Classes

MqttClient
class MqttClient

MQTT Client implementation

Enums

PacketState
enum PacketState

MQTT packet state

Manifest constants

MQTT_BROKER_DEFAULT_PORT
enum MQTT_BROKER_DEFAULT_PORT;
Undocumented in source.
MQTT_BROKER_DEFAULT_SSL_PORT
enum MQTT_BROKER_DEFAULT_SSL_PORT;
Undocumented in source.
MQTT_CLIENT_ID
enum MQTT_CLIENT_ID;

default client identifier

MQTT_RETRY_ATTEMPTS
enum MQTT_RETRY_ATTEMPTS;

max publish, subscribe and unsubscribe retry for QoS Level 1 or 2

MQTT_RETRY_DELAY
enum MQTT_RETRY_DELAY;

delay for retry publish, subscribe and unsubscribe for QoS Level 1 or 2 ms

MQTT_SESSION_MAX_PACKETS
enum MQTT_SESSION_MAX_PACKETS;
Undocumented in source.

Structs

PacketContext
struct PacketContext

Context for MQTT packet stored in Session

Session
struct Session

MQTT session status holder

Settings
struct Settings

MqttClient settings

Meta

Authors

Tomáš Chaloupka <chalucha@gmail.com>

Copyright (c) 2015 Tomáš Chaloupka

Boost Software License 1.0 (BSL-1.0)

Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and accompanying documentation covered by this license (the "Software") to use, reproduce, display, distribute, execute, and transmit the Software, and to prepare derivative works of the Software, and to permit third-parties to whom the Software is furnished to do so, all subject to the following:

The copyright notices in the Software and this entire statement, including the above license grant, this restriction and the following disclaimer, must be included in all copies of the Software, in whole or in part, and all derivative works of the Software, unless such copies or derivative works are solely in the form of machine-executable object code generated by a source language processor.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.