API Documentation
|
Provides the unseen backend logic for setting up, tearing down, and sending data over a specific type of connection. More...
#include <Connection.h>
Signals | |
void | connectionStateChangedSignal (ConnectionState state) |
void | dataAvailableSignal () |
Public Member Functions | |
virtual uint04 | bytesAvailable () const =0 |
virtual void | close ()=0 |
ConnectionBackend (ProgressInfo *log) | |
virtual bool | isOpen () const =0 |
virtual TranslatedString | lastError () const =0 |
virtual bool | open (const ConnectionInfo &request)=0 |
virtual uint04 | peek (char *s, uint04 size=Constant< uint04 >::Max) const =0 |
virtual uint04 | rx (char *s, uint04 max_size=Constant< uint04 >::Max)=0 |
virtual String | threadID () const |
virtual void | tx (const String &command)=0 |
virtual bool | waitForReadyRead (const TimeSpan &span)=0 |
Protected Attributes | |
ProgressInfo * | m_log |
Provides the unseen backend logic for setting up, tearing down, and sending data over a specific type of connection.
ConnectionBackend | ( | ProgressInfo * | log | ) |
|
pure virtual |
Implemented in BluetoothConnection, SerialPortConnection, SocketConnection, SocketIODriver, and WebSocketConnection.
|
pure virtual |
Implemented in BluetoothConnection, SerialPortConnection, SocketConnection, SocketIODriver, and WebSocketConnection.
|
signal |
|
signal |
|
pure virtual |
Implemented in BluetoothConnection, SerialPortConnection, SocketConnection, SocketIODriver, and WebSocketConnection.
|
pure virtual |
Implemented in BluetoothConnection, SerialPortConnection, SocketConnection, SocketIODriver, and WebSocketConnection.
|
pure virtual |
Implemented in BluetoothConnection, SerialPortConnection, SocketConnection, SocketIODriver, and WebSocketConnection.
Implemented in BluetoothConnection, SerialPortConnection, SocketConnection, SocketIODriver, and WebSocketConnection.
Implemented in BluetoothConnection, SerialPortConnection, SocketConnection, SocketIODriver, and WebSocketConnection.
|
inlinevirtual |
Reimplemented in SerialPortConnection.
|
pure virtual |
Implemented in BluetoothConnection, SerialPortConnection, SocketConnection, SocketIODriver, and WebSocketConnection.
|
pure virtual |
Implemented in BluetoothConnection, SerialPortConnection, SocketConnection, SocketIODriver, and WebSocketConnection.
|
protected |