#include <TCPClient.h>
◆ TCPClient()
TCPClient::TCPClient |
( |
int |
socket, |
|
|
sockaddr_in |
address, |
|
|
ILogger & |
logger |
|
) |
| |
◆ ~TCPClient()
TCPClient::~TCPClient |
( |
| ) |
|
|
overridedefault |
◆ close()
bool TCPClient::close |
( |
| ) |
|
◆ getType()
Tells the type of the connection interface.
- Returns
- the type of connection
Implements ICommInterface.
◆ isConnected()
bool TCPClient::isConnected |
( |
| ) |
const |
|
overridevirtual |
Tells if interface is connected and functionning.
- Returns
- true if connected, false otherwise
Implements ICommInterface.
◆ receive()
bool TCPClient::receive |
( |
uint8_t * |
data, |
|
|
uint16_t |
length |
|
) |
| |
|
override |
◆ send()
bool TCPClient::send |
( |
const uint8_t * |
data, |
|
|
uint16_t |
length |
|
) |
| |
|
override |
◆ rxThread
◆ m_address
const sockaddr_in TCPClient::m_address {} |
|
private |
◆ m_connected
bool TCPClient::m_connected |
|
private |
◆ m_logger
◆ m_socketFd
const int TCPClient::m_socketFd {} |
|
private |
The documentation for this class was generated from the following files: