MosquittoClient

Undocumented in source.

Constructors

this
this(Settings s)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

connect
void connect()
Undocumented in source. Be warned that the author may not have intended to support it.
connected
bool connected()
Undocumented in source. Be warned that the author may not have intended to support it.
disconnect
void disconnect()
Undocumented in source. Be warned that the author may not have intended to support it.
loop
void loop()
Undocumented in source. Be warned that the author may not have intended to support it.
onMessage
void onMessage(Message msg)
Undocumented in source. Be warned that the author may not have intended to support it.
publish
void publish(string t, const(ubyte)[] d, int qos, bool retain)
Undocumented in source. Be warned that the author may not have intended to support it.
reconnect
void reconnect()
Undocumented in source. Be warned that the author may not have intended to support it.
subscribe
void subscribe(string pattern, void delegate(string, const(ubyte)[]) cb, int qos)
Undocumented in source. Be warned that the author may not have intended to support it.
subscribeList
void subscribeList()
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

onConnectCallback
void onConnectCallback(mosquitto_t mosq, void* cptr, int res)
Undocumented in source. Be warned that the author may not have intended to support it.
onDisconnectCallback
void onDisconnectCallback(mosquitto_t mosq, void* cptr, int res)
Undocumented in source. Be warned that the author may not have intended to support it.
onMessageCallback
void onMessageCallback(mosquitto_t mosq, void* cptr, mosquitto_message* msg)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Callback
struct Callback
Undocumented in source.
Message
struct Message
Undocumented in source.
Settings
struct Settings
Undocumented in source.

Variables

_connected
bool _connected;
Undocumented in source.
mosq
mosquitto_t mosq;
Undocumented in source.
onConnect
void delegate() onConnect;
Undocumented in source.
settings
Settings settings;
Undocumented in source.
slist
Callback[] slist;
Undocumented in source.

Meta