tinyrpc/includes/net/tcp/server_tcp_connect.hpp

23 lines
398 B
C++
Raw Normal View History

2025-02-04 16:09:27 +08:00
#pragma once
#include "abstract_tcp_connect.hpp"
#include "reactor.hpp"
namespace tinyrpc {
class TcpServer;
class ServerTcpConnection : AbstractTcpConnection {
public:
ServerTcpConnection(int fd, Reactor& reactor, TcpServer& ser);
~ServerTcpConnection();
private:
void process() override;
private:
TcpServer& m_server;
};
}