Telnet++  3.1.0.2
A C++ library for interacting with Telnet streams
client.hpp
1 #pragma once
2 
3 #include "telnetpp/client_option.hpp"
4 
6 
7 class codec;
8 
9 //* =========================================================================
12 //* =========================================================================
13 class TELNETPP_EXPORT client : public telnetpp::client_option
14 {
15 public:
16  //* =====================================================================
18  //* =====================================================================
19  explicit client(telnetpp::session &sess, codec &cdc);
20 
21 private:
22  //* =====================================================================
25  //* =====================================================================
26  void handle_subnegotiation(telnetpp::bytes data) override;
27 
28  codec &codec_;
29 };
30 
31 } // namespace telnetpp::options::mccp
A class that represents a Telnet option's client side. That is, the side that receives WILL and WONT ...
Definition: client_option.hpp:35
A server option responsible for negotiating the client part of the MCCP protocol.
Definition: client.hpp:14
Represents an object that can transform (encode or decode) arbitrary byte sequences....
Definition: codec.hpp:17
An abstraction for a Telnet session.
Definition: session.hpp:141
An implementation of the Mud Client Compression Protocol.
Definition: client.hpp:5