|
DCC-EX Simple Throttle
Simple throttle for a DCC-EX CommandStation
|
Class to manage all WiFi and serial connections used to connect to a CommandStation. More...
#include <ConnectionManager.h>
Public Member Functions | |
| ConnectionManager () | |
| Constructor for the ConnectionManager. | |
| void | update () |
| Ensure all connections are alive and retries are managed. | |
| bool | connected () |
| Check if connections are active. | |
| Stream * | getConnectionStream () |
| Get the connection stream managed by this ConnectionManager. | |
Private Attributes | |
| bool | _connected |
Class to manage all WiFi and serial connections used to connect to a CommandStation.
| ConnectionManager::ConnectionManager | ( | ) |
Constructor for the ConnectionManager.
| bool ConnectionManager::connected | ( | ) |
Check if connections are active.

| Stream * ConnectionManager::getConnectionStream | ( | ) |
Get the connection stream managed by this ConnectionManager.

| void ConnectionManager::update | ( | ) |
Ensure all connections are alive and retries are managed.

|
private |