Sming Framework API
Sming - Open Source framework for high efficiency WiFi SoC ESP8266 native development with C++ language.
MqttClient Member List

This is the complete list of members for MqttClient, including all inherited members.

addSslOptions(uint32_t sslOptions) (defined in TcpConnection)TcpConnectioninlineprotected
addSslValidator(SslValidatorCallback callback, void *data=nullptr)TcpClientinlineprotected
autoSelfDestruct (defined in TcpConnection)TcpConnectionprotected
bufferTcpClientprotected
canSend (defined in TcpConnection)TcpConnectionprotected
close() override (defined in TcpClient)TcpClientprotectedvirtual
connect(const Url &url, const String &uniqueClientName, uint32_t sslOptions=0)MqttClient
connect(const String &server, int port, bool useSsl=false, uint32_t sslOptions=0) override (defined in TcpClient)TcpClientprotectedvirtual
connect(IPAddress addr, uint16_t port, bool useSsl=false, uint32_t sslOptions=0) override (defined in TcpClient)TcpClientprotectedvirtual
flush() (defined in TcpConnection)TcpConnectionprotected
freeKeyCertAfterHandshake (defined in TcpConnection)TcpConnectionprotected
freeSslClientKeyCert() SMING_DEPRECATEDTcpConnectioninlineprotected
freeSslKeyCert()TcpConnectioninlineprotected
freeStreams() (defined in TcpClient)TcpClientprotected
getAvailableWriteSize() (defined in TcpConnection)TcpConnectioninlineprotected
getConnectionState() (defined in TcpClient)TcpClientinlineprotected
getRemoteIp() const (defined in TcpConnection)TcpConnectioninlineprotected
getRemotePort() const (defined in TcpConnection)TcpConnectioninlineprotected
getSsl() (defined in TcpConnection)TcpConnectioninlineprotected
initialize(tcp_pcb *pcb) (defined in TcpConnection)TcpConnectionprotected
internalConnect(IPAddress addr, uint16_t port) (defined in TcpConnection)TcpConnectionprotected
internalOnConnected(err_t err) (defined in TcpConnection)TcpConnectionprotected
internalOnDnsResponse(const char *name, LWIP_IP_ADDR_T *ipaddr, int port) (defined in TcpConnection)TcpConnectionprotected
internalOnError(err_t err) (defined in TcpConnection)TcpConnectionprotected
internalOnPoll() (defined in TcpConnection)TcpConnectionprotected
internalOnReceive(pbuf *p, err_t err) (defined in TcpConnection)TcpConnectionprotected
internalOnSent(uint16_t len) (defined in TcpConnection)TcpConnectionprotected
isProcessing() (defined in TcpClient)TcpClientinlineprotected
MqttClient(bool withDefaultPayloadParser=true, bool autoDestruct=false) (defined in MqttClient)MqttClient
onConnected(err_t err) override (defined in TcpClient)TcpClientprotectedvirtual
onError(err_t err) override (defined in TcpClient)TcpClientprotectedvirtual
onFinished(TcpClientState finishState) override (defined in MqttClient)MqttClientprotectedvirtual
onPoll() (defined in TcpConnection)TcpConnectionprotectedvirtual
onReadyToSendData(TcpConnectionEvent sourceEvent) override (defined in MqttClient)MqttClientprotectedvirtual
onReceive(pbuf *buf) override (defined in TcpClient)TcpClientprotectedvirtual
onSent(uint16_t len) override (defined in TcpClient)TcpClientprotectedvirtual
onSslConnected(SSL *ssl) override (defined in TcpClient)TcpClientinlineprotectedvirtual
pinCertificate(const uint8_t *fingerprint, SslFingerprintType type)TcpClientinlineprotected
pinCertificate(SslFingerprints &fingerprints)TcpClientinlineprotected
publish(const String &topic, const String &message, uint8_t flags=0) (defined in MqttClient)MqttClient
publish(const String &topic, IDataSourceStream *stream, uint8_t flags=0) (defined in MqttClient)MqttClient
publishWithQoS(const String &topic, const String &message, int QoS, bool retained=false, MqttMessageDeliveredCallback onDelivery=nullptr)MqttClientinline
pushAsyncPart() (defined in TcpClient)TcpClientprotected
send(const char *data, uint16_t len, bool forceCloseAfterSent=false) (defined in TcpClient)TcpClientprotected
sendString(const String &data, bool forceCloseAfterSent=false) (defined in TcpClient)TcpClientinlineprotected
setBuffer(ReadWriteStream *stream) (defined in TcpClient)TcpClientprotected
setCallback(MqttStringSubscriptionCallback subscriptionCallback=nullptr)MqttClientinline
setCompleteDelegate(TcpClientCompleteDelegate completeCb=nullptr)TcpClientinlineprotected
setConnectedHandler(MqttDelegate handler)MqttClientinline
setDestroyedDelegate(TcpConnectionDestroyedDelegate destroyedDelegate)TcpConnectioninlineprotected
setDisconnectHandler(TcpClientCompleteDelegate handler)MqttClientinline
setEventHandler(mqtt_type_t type, MqttDelegate handler) (defined in MqttClient)MqttClientinline
setKeepAlive(uint16_t seconds)MqttClientinline
setMessageHandler(MqttDelegate handler)MqttClientinline
setPayloadParser(MqttPayloadParser payloadParser=0)MqttClientinline
setPingRepeatTime(unsigned seconds)MqttClient
setPublishedHandler(MqttDelegate handler)MqttClientinline
setReceiveDelegate(TcpClientDataDelegate receiveCb=nullptr)TcpClientinlineprotected
setSsl(SSL *ssl) (defined in TcpConnection)TcpConnectioninlineprotected
setSslClientKeyCert(const uint8_t *key, int keyLength, const uint8_t *certificate, int certificateLength, const char *keyPassword=nullptr, bool freeAfterHandshake=false) SMING_DEPRECATEDTcpConnectioninlineprotected
setSslClientKeyCert(const SslKeyCertPair &clientKeyCert, bool freeAfterHandshake=false) SMING_DEPRECATEDTcpConnectioninlineprotected
setSslKeyCert(const uint8_t *key, int keyLength, const uint8_t *certificate, int certificateLength, const char *keyPassword=nullptr, bool freeAfterHandshake=false)TcpConnectioninlineprotected
setSslKeyCert(const SslKeyCertPair &keyCert, bool freeAfterHandshake=false)TcpConnectioninlineprotected
setTimeOut(uint16_t waitTimeOut) (defined in TcpConnection)TcpConnectionprotected
setWill(const String &topic, const String &message, uint8_t flags=0)MqttClient
setWill(const String &topic, const String &message, int QoS, bool retained=false)MqttClientinline
sleep (defined in TcpConnection)TcpConnectionprotected
ssl (defined in TcpConnection)TcpConnectionprotected
sslConnected (defined in TcpConnection)TcpConnectionprotected
sslContext (defined in TcpConnection)TcpConnectionprotected
sslExtension (defined in TcpConnection)TcpConnectionprotected
sslKeyCert (defined in TcpConnection)TcpConnectionprotected
sslOptions (defined in TcpConnection)TcpConnectionprotected
sslSessionId (defined in TcpConnection)TcpConnectionprotected
streamTcpClientprotected
subscribe(const String &topic) (defined in MqttClient)MqttClient
tcp (defined in TcpConnection)TcpConnectionprotected
TcpClient(bool autoDestruct) (defined in TcpClient)TcpClientinlineprotected
TcpClient(tcp_pcb *clientTcp, TcpClientDataDelegate clientReceive, TcpClientCompleteDelegate onCompleted) (defined in TcpClient)TcpClientinlineprotected
TcpClient(TcpClientCompleteDelegate onCompleted, TcpClientEventDelegate onReadyToSend, TcpClientDataDelegate onReceive=nullptr) (defined in TcpClient)TcpClientinlineprotected
TcpClient(TcpClientCompleteDelegate onCompleted, TcpClientDataDelegate onReceive=nullptr) (defined in TcpClient)TcpClientinlineprotected
TcpClient(TcpClientDataDelegate onReceive) (defined in TcpClient)TcpClientinlineexplicitprotected
TcpConnection(bool autoDestruct) (defined in TcpConnection)TcpConnectioninlineprotected
TcpConnection(tcp_pcb *connection, bool autoDestruct) (defined in TcpConnection)TcpConnectioninlineprotected
timeOutTcpConnectionprotected
unsubscribe(const String &topic) (defined in MqttClient)MqttClient
useSsl (defined in TcpConnection)TcpConnectionprotected
write(const char *data, int len, uint8_t apiflags=TCP_WRITE_FLAG_COPY)TcpConnectionprotectedvirtual
write(IDataSourceStream *stream) (defined in TcpConnection)TcpConnectionprotected
writeString(const char *data, uint8_t apiflags=TCP_WRITE_FLAG_COPY) (defined in TcpConnection)TcpConnectioninlineprotected
writeString(const String &data, uint8_t apiflags=TCP_WRITE_FLAG_COPY) (defined in TcpConnection)TcpConnectioninlineprotected
~MqttClient() (defined in MqttClient)MqttClient
~TcpClient() (defined in TcpClient)TcpClientinlineprotected
~TcpConnection() (defined in TcpConnection)TcpConnectionprotectedvirtual