MySensors Library & Examples  2.3.2
Public Member Functions | List of all members
PubSubClient Class Reference

Detailed Description

PubSubClient class

Definition at line 89 of file PubSubClient.h.

#include <PubSubClient.h>

+ Inheritance diagram for PubSubClient:
+ Collaboration diagram for PubSubClient:

Public Member Functions

 PubSubClient ()
 PubSubClient.
 
 PubSubClient (Client &client)
 PubSubClient.
 
 PubSubClient (IPAddress, uint16_t, Client &client)
 PubSubClient.
 
 PubSubClient (IPAddress, uint16_t, Client &client, Stream &)
 PubSubClient.
 
 PubSubClient (IPAddress, uint16_t, MQTT_CALLBACK_SIGNATURE, Client &client)
 PubSubClient.
 
 PubSubClient (IPAddress, uint16_t, MQTT_CALLBACK_SIGNATURE, Client &client, Stream &)
 PubSubClient.
 
 PubSubClient (uint8_t *, uint16_t, Client &client)
 PubSubClient.
 
 PubSubClient (uint8_t *, uint16_t, Client &client, Stream &)
 PubSubClient.
 
 PubSubClient (uint8_t *, uint16_t, MQTT_CALLBACK_SIGNATURE, Client &client)
 PubSubClient.
 
 PubSubClient (uint8_t *, uint16_t, MQTT_CALLBACK_SIGNATURE, Client &client, Stream &)
 PubSubClient.
 
 PubSubClient (const char *, uint16_t, Client &client)
 PubSubClient.
 
 PubSubClient (const char *, uint16_t, Client &client, Stream &)
 PubSubClient.
 
 PubSubClient (const char *, uint16_t, MQTT_CALLBACK_SIGNATURE, Client &client)
 PubSubClient.
 
 PubSubClient (const char *, uint16_t, MQTT_CALLBACK_SIGNATURE, Client &client, Stream &)
 PubSubClient.
 
PubSubClientsetServer (IPAddress ip, uint16_t port)
 setServer
 
PubSubClientsetServer (uint8_t *ip, uint16_t port)
 setServer
 
PubSubClientsetServer (const char *domain, uint16_t port)
 setServer
 
PubSubClientsetCallback (MQTT_CALLBACK_SIGNATURE)
 setCallback
 
PubSubClientsetClient (Client &client)
 setClient
 
PubSubClientsetStream (Stream &stream)
 setStream
 
bool connect (const char *id)
 connect
 
bool connect (const char *id, const char *user, const char *pass)
 connect
 
bool connect (const char *id, const char *willTopic, uint8_t willQos, bool willRetain, const char *willMessage)
 connect
 
bool connect (const char *id, const char *user, const char *pass, const char *willTopic, uint8_t willQos, bool willRetain, const char *willMessage)
 connect
 
bool connect (const char *id, const char *user, const char *pass, const char *willTopic, uint8_t willQos, bool willRetain, const char *willMessage, bool cleanSession)
 connect
 
void disconnect ()
 disconnect
 
bool publish (const char *topic, const char *payload)
 publish
 
bool publish (const char *topic, const char *payload, bool retained)
 publish
 
bool publish (const char *topic, const uint8_t *payload, unsigned int plength)
 publish
 
bool publish (const char *topic, const uint8_t *payload, unsigned int plength, bool retained)
 publish
 
bool publish_P (const char *topic, const char *payload, bool retained)
 publish
 
bool publish_P (const char *topic, const uint8_t *payload, unsigned int plength, bool retained)
 publish
 
bool beginPublish (const char *topic, unsigned int plength, bool retained)
 beginPublish
 
int endPublish ()
 endPublish
 
virtual size_t write (uint8_t)
 write
 
virtual size_t write (const uint8_t *buffer, size_t size)
 write
 
bool subscribe (const char *topic)
 subscribe
 
bool subscribe (const char *topic, uint8_t qos)
 subscribe
 
bool unsubscribe (const char *topic)
 unsubscribe
 
bool loop ()
 loop
 
bool connected ()
 connected
 
int state ()
 state
 

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