83 virtual
bool Connect(const Connection::Protocol& protocol, const std::
string& address, const
unsigned short& port) = 0;
88 virtual
void Disconnect() noexcept = 0;
94 virtual Connection::Status Status() const noexcept = 0;
98 std::shared_ptr<Logger::Log> m_logger;
105 std::shared_ptr<Connection::
Client> CreateConnection(std::shared_ptr<Socket::
Client> socket) noexcept;
111 virtual Buffer::Pipeline InputPipeline() const noexcept = 0;
117 virtual Buffer::Pipeline OutputPipeline() const noexcept = 0;
125 PacketPointer Send(std::shared_ptr<Connection::
Client> client_connection, const Transport::Packet& packet) noexcept;
133 bool Reply(std::shared_ptr<Connection::
Client> client_connection, const Transport::Packet& packet) noexcept;
142 bool SendPacket(std::shared_ptr<Connection::
Client> client_connection, const Transport::Packet& packet) noexcept;
std::function< PacketPointer(Transport::Packet::OpcodeType, Buffer::Consumer, std::shared_ptr< Logger::Log >)> DeserializePacketFunction
Callback that builds a Packet from opcode + payload consumer.
Definition typedefs.hxx:68