|
FastLED 3.10.8
|
Definition at line 36 of file connection.h.
#include <connection.h>
Collaboration diagram for fl::HttpConnection:Public Member Functions | |
| HttpConnection (const ConnectionConfig &config=ConnectionConfig()) FL_NO_EXCEPT | |
| void | close () FL_NO_EXCEPT |
| void | connect () FL_NO_EXCEPT |
| void | disconnect () FL_NO_EXCEPT |
| u32 | getReconnectAttempts () const FL_NO_EXCEPT |
| u32 | getReconnectDelayMs () const FL_NO_EXCEPT |
| ConnectionState | getState () const FL_NO_EXCEPT |
| bool | isConnected () const FL_NO_EXCEPT |
| bool | isDisconnected () const FL_NO_EXCEPT |
| bool | isTimedOut (u32 currentTimeMs) const FL_NO_EXCEPT |
| void | onConnected (u32 currentTimeMs=0) FL_NO_EXCEPT |
| void | onDisconnected () FL_NO_EXCEPT |
| void | onError () FL_NO_EXCEPT |
| void | onEvent (const asio::error_code &ec, u32 currentTimeMs=0) FL_NO_EXCEPT |
| void | onHeartbeatReceived () FL_NO_EXCEPT |
| void | onHeartbeatSent () FL_NO_EXCEPT |
| bool | shouldReconnect () const FL_NO_EXCEPT |
| bool | shouldSendHeartbeat (u32 currentTimeMs) const FL_NO_EXCEPT |
| void | update (u32 currentTimeMs) FL_NO_EXCEPT |
Private Member Functions | |
| u32 | calculateBackoffDelay () const FL_NO_EXCEPT |
| void | resetReconnectAttempts () FL_NO_EXCEPT |
| void | resetReconnectState () FL_NO_EXCEPT |
| void | transitionTo (ConnectionState newState, u32 currentTimeMs) FL_NO_EXCEPT |
Private Attributes | |
| ConnectionConfig | mConfig |
| u32 | mLastDataReceivedMs |
| u32 | mLastHeartbeatSentMs |
| u32 | mNextReconnectTimeMs |
| u32 | mReconnectAttempts |
| u32 | mReconnectDelayMs |
| ConnectionState | mState |
| bool | mWasReconnecting |