1#ifndef NET_LINUX_CLIENT_CONNECTION_H
2#define NET_LINUX_CLIENT_CONNECTION_H
4#if defined(__linux__) || defined(linux) || defined(__GNUG__)
10#include <sys/socket.h>
27 explicit LinuxClientConnection(
int fd);
32 ~LinuxClientConnection()
override;
37 int read(std::vector<uint8_t>& buffer,
size_t size)
override;
42 int respond(
const std::vector<uint8_t>* data,
size_t size)
override;
47 void close()
override;
51 Xale::Logger::Logger<LinuxClientConnection>& _logger;
Represents an established per-client TCP connection.
Definition IClientConnection.h:16