This commit is contained in:
Martín Lucas Golini
2024-12-15 20:56:41 -03:00
parent 6e458c8297
commit d2dabdf92c
7 changed files with 132 additions and 11 deletions

View File

@@ -9,11 +9,14 @@ class BusSocket : public Bus {
public:
BusSocket( const Connection& connection );
void startAsyncRead( ReadFn readFn );
bool start() override;
size_t write( const char* buffer, const size_t& size );
void startAsyncRead( ReadFn readFn ) override;
size_t write( const char* buffer, const size_t& size ) override;
protected:
Connection mConnection;
TcpSocket mSocket;
};