Sming Framework API
Sming - Open Source framework for high efficiency WiFi SoC ESP8266 native development with C++ language.
|
This is the complete list of members for MqttClient, including all inherited members.
addSslOptions(uint32_t sslOptions) (defined in TcpConnection) | TcpConnection | inlineprotected |
addSslValidator(SslValidatorCallback callback, void *data=nullptr) | TcpClient | inlineprotected |
autoSelfDestruct (defined in TcpConnection) | TcpConnection | protected |
buffer | TcpClient | protected |
canSend (defined in TcpConnection) | TcpConnection | protected |
close() override (defined in TcpClient) | TcpClient | protectedvirtual |
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) | TcpClient | protectedvirtual |
connect(IPAddress addr, uint16_t port, bool useSsl=false, uint32_t sslOptions=0) override (defined in TcpClient) | TcpClient | protectedvirtual |
flush() (defined in TcpConnection) | TcpConnection | protected |
freeKeyCertAfterHandshake (defined in TcpConnection) | TcpConnection | protected |
freeSslClientKeyCert() SMING_DEPRECATED | TcpConnection | inlineprotected |
freeSslKeyCert() | TcpConnection | inlineprotected |
freeStreams() (defined in TcpClient) | TcpClient | protected |
getAvailableWriteSize() (defined in TcpConnection) | TcpConnection | inlineprotected |
getConnectionState() (defined in TcpClient) | TcpClient | inlineprotected |
getRemoteIp() const (defined in TcpConnection) | TcpConnection | inlineprotected |
getRemotePort() const (defined in TcpConnection) | TcpConnection | inlineprotected |
getSsl() (defined in TcpConnection) | TcpConnection | inlineprotected |
initialize(tcp_pcb *pcb) (defined in TcpConnection) | TcpConnection | protected |
internalConnect(IPAddress addr, uint16_t port) (defined in TcpConnection) | TcpConnection | protected |
internalOnConnected(err_t err) (defined in TcpConnection) | TcpConnection | protected |
internalOnDnsResponse(const char *name, LWIP_IP_ADDR_T *ipaddr, int port) (defined in TcpConnection) | TcpConnection | protected |
internalOnError(err_t err) (defined in TcpConnection) | TcpConnection | protected |
internalOnPoll() (defined in TcpConnection) | TcpConnection | protected |
internalOnReceive(pbuf *p, err_t err) (defined in TcpConnection) | TcpConnection | protected |
internalOnSent(uint16_t len) (defined in TcpConnection) | TcpConnection | protected |
isProcessing() (defined in TcpClient) | TcpClient | inlineprotected |
MqttClient(bool withDefaultPayloadParser=true, bool autoDestruct=false) (defined in MqttClient) | MqttClient | |
onConnected(err_t err) override (defined in TcpClient) | TcpClient | protectedvirtual |
onError(err_t err) override (defined in TcpClient) | TcpClient | protectedvirtual |
onFinished(TcpClientState finishState) override (defined in MqttClient) | MqttClient | protectedvirtual |
onPoll() (defined in TcpConnection) | TcpConnection | protectedvirtual |
onReadyToSendData(TcpConnectionEvent sourceEvent) override (defined in MqttClient) | MqttClient | protectedvirtual |
onReceive(pbuf *buf) override (defined in TcpClient) | TcpClient | protectedvirtual |
onSent(uint16_t len) override (defined in TcpClient) | TcpClient | protectedvirtual |
onSslConnected(SSL *ssl) override (defined in TcpClient) | TcpClient | inlineprotectedvirtual |
pinCertificate(const uint8_t *fingerprint, SslFingerprintType type) | TcpClient | inlineprotected |
pinCertificate(SslFingerprints &fingerprints) | TcpClient | inlineprotected |
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) | MqttClient | inline |
pushAsyncPart() (defined in TcpClient) | TcpClient | protected |
send(const char *data, uint16_t len, bool forceCloseAfterSent=false) (defined in TcpClient) | TcpClient | protected |
sendString(const String &data, bool forceCloseAfterSent=false) (defined in TcpClient) | TcpClient | inlineprotected |
setBuffer(ReadWriteStream *stream) (defined in TcpClient) | TcpClient | protected |
setCallback(MqttStringSubscriptionCallback subscriptionCallback=nullptr) | MqttClient | inline |
setCompleteDelegate(TcpClientCompleteDelegate completeCb=nullptr) | TcpClient | inlineprotected |
setConnectedHandler(MqttDelegate handler) | MqttClient | inline |
setDestroyedDelegate(TcpConnectionDestroyedDelegate destroyedDelegate) | TcpConnection | inlineprotected |
setDisconnectHandler(TcpClientCompleteDelegate handler) | MqttClient | inline |
setEventHandler(mqtt_type_t type, MqttDelegate handler) (defined in MqttClient) | MqttClient | inline |
setKeepAlive(uint16_t seconds) | MqttClient | inline |
setMessageHandler(MqttDelegate handler) | MqttClient | inline |
setPayloadParser(MqttPayloadParser payloadParser=0) | MqttClient | inline |
setPingRepeatTime(unsigned seconds) | MqttClient | |
setPublishedHandler(MqttDelegate handler) | MqttClient | inline |
setReceiveDelegate(TcpClientDataDelegate receiveCb=nullptr) | TcpClient | inlineprotected |
setSsl(SSL *ssl) (defined in TcpConnection) | TcpConnection | inlineprotected |
setSslClientKeyCert(const uint8_t *key, int keyLength, const uint8_t *certificate, int certificateLength, const char *keyPassword=nullptr, bool freeAfterHandshake=false) SMING_DEPRECATED | TcpConnection | inlineprotected |
setSslClientKeyCert(const SslKeyCertPair &clientKeyCert, bool freeAfterHandshake=false) SMING_DEPRECATED | TcpConnection | inlineprotected |
setSslKeyCert(const uint8_t *key, int keyLength, const uint8_t *certificate, int certificateLength, const char *keyPassword=nullptr, bool freeAfterHandshake=false) | TcpConnection | inlineprotected |
setSslKeyCert(const SslKeyCertPair &keyCert, bool freeAfterHandshake=false) | TcpConnection | inlineprotected |
setTimeOut(uint16_t waitTimeOut) (defined in TcpConnection) | TcpConnection | protected |
setWill(const String &topic, const String &message, uint8_t flags=0) | MqttClient | |
setWill(const String &topic, const String &message, int QoS, bool retained=false) | MqttClient | inline |
sleep (defined in TcpConnection) | TcpConnection | protected |
ssl (defined in TcpConnection) | TcpConnection | protected |
sslConnected (defined in TcpConnection) | TcpConnection | protected |
sslContext (defined in TcpConnection) | TcpConnection | protected |
sslExtension (defined in TcpConnection) | TcpConnection | protected |
sslKeyCert (defined in TcpConnection) | TcpConnection | protected |
sslOptions (defined in TcpConnection) | TcpConnection | protected |
sslSessionId (defined in TcpConnection) | TcpConnection | protected |
stream | TcpClient | protected |
subscribe(const String &topic) (defined in MqttClient) | MqttClient | |
tcp (defined in TcpConnection) | TcpConnection | protected |
TcpClient(bool autoDestruct) (defined in TcpClient) | TcpClient | inlineprotected |
TcpClient(tcp_pcb *clientTcp, TcpClientDataDelegate clientReceive, TcpClientCompleteDelegate onCompleted) (defined in TcpClient) | TcpClient | inlineprotected |
TcpClient(TcpClientCompleteDelegate onCompleted, TcpClientEventDelegate onReadyToSend, TcpClientDataDelegate onReceive=nullptr) (defined in TcpClient) | TcpClient | inlineprotected |
TcpClient(TcpClientCompleteDelegate onCompleted, TcpClientDataDelegate onReceive=nullptr) (defined in TcpClient) | TcpClient | inlineprotected |
TcpClient(TcpClientDataDelegate onReceive) (defined in TcpClient) | TcpClient | inlineexplicitprotected |
TcpConnection(bool autoDestruct) (defined in TcpConnection) | TcpConnection | inlineprotected |
TcpConnection(tcp_pcb *connection, bool autoDestruct) (defined in TcpConnection) | TcpConnection | inlineprotected |
timeOut | TcpConnection | protected |
unsubscribe(const String &topic) (defined in MqttClient) | MqttClient | |
useSsl (defined in TcpConnection) | TcpConnection | protected |
write(const char *data, int len, uint8_t apiflags=TCP_WRITE_FLAG_COPY) | TcpConnection | protectedvirtual |
write(IDataSourceStream *stream) (defined in TcpConnection) | TcpConnection | protected |
writeString(const char *data, uint8_t apiflags=TCP_WRITE_FLAG_COPY) (defined in TcpConnection) | TcpConnection | inlineprotected |
writeString(const String &data, uint8_t apiflags=TCP_WRITE_FLAG_COPY) (defined in TcpConnection) | TcpConnection | inlineprotected |
~MqttClient() (defined in MqttClient) | MqttClient | |
~TcpClient() (defined in TcpClient) | TcpClient | inlineprotected |
~TcpConnection() (defined in TcpConnection) | TcpConnection | protectedvirtual |