3#include <StormByte/network/typedefs.hxx>
4#include <StormByte/logger.hxx>
25 EndPoint(
const Connection::Protocol& protocol, std::shared_ptr<Connection::Handler> handler, std::shared_ptr<Logger> logger)
noexcept;
61 std::shared_ptr<Logger> m_logger;
63 Socket::Socket* m_socket;
Represents a network endpoint, serving as a base class for both clients and servers.
Definition endpoint.hxx:17
virtual ~EndPoint() noexcept
Virtual destructor for proper cleanup in derived classes.
EndPoint(const Connection::Protocol &protocol, std::shared_ptr< Connection::Handler > handler, std::shared_ptr< Logger > logger) noexcept
Constructs an EndPoint with the specified protocol, handler, and logger.
EndPoint(const EndPoint &other)=delete
Deleted copy constructor to prevent copying.
EndPoint(EndPoint &&other) noexcept=default
Defaulted move constructor.
The namespace containing connection items.
Contains all the network-related classes and utilities.
Definition client.hxx:10