Go to the documentation of this file. 1 #ifndef __TCPClientWrapperWRAPPER_H_
2 #define __TCPClientWrapperWRAPPER_H_
4 #include "bsp/ITCPClient.h"
16 bool receive(uint8_t* data, uint16_t length)
override {
return m_client.receive(data, length); }
18 bool send(
const uint8_t* data, uint16_t length)
override {
return m_client.send(data, length); }
28 #endif // __TCPClientWrapperWRAPPER_H_
ITCPClient & m_client
Definition: TCPClientWrapper.h:25
bool receive(uint8_t *data, uint16_t length) override
Definition: TCPClientWrapper.h:16
A TCP client wrapper that is as a common socket between platforms.
Definition: TCPClientWrapper.h:10
~TCPClientWrapper() override
Definition: TCPClientWrapper.h:14
bool send(const uint8_t *data, uint16_t length) override
Definition: TCPClientWrapper.h:18
TCPClientWrapper(ITCPClient &client)
Definition: TCPClientWrapper.h:12
bool close() override
Definition: TCPClientWrapper.h:22
bool isConnected() const override
Definition: TCPClientWrapper.h:20