DCC-EX Simple Throttle
Simple throttle for a DCC-EX CommandStation
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
ConnectionManager Class Reference

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
 

Detailed Description

Class to manage all WiFi and serial connections used to connect to a CommandStation.

Constructor & Destructor Documentation

◆ ConnectionManager()

ConnectionManager::ConnectionManager ( )

Constructor for the ConnectionManager.

Member Function Documentation

◆ connected()

bool ConnectionManager::connected ( )

Check if connections are active.

Returns
True|False
Here is the caller graph for this function:

◆ getConnectionStream()

Stream * ConnectionManager::getConnectionStream ( )

Get the connection stream managed by this ConnectionManager.

Returns
Pointer to the connection stream object
Here is the caller graph for this function:

◆ update()

void ConnectionManager::update ( )

Ensure all connections are alive and retries are managed.

Here is the caller graph for this function:

Member Data Documentation

◆ _connected

bool ConnectionManager::_connected
private

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