Telnet++
A C++ library for interacting with Telnet streams
client.hpp
1 #pragma once
2 
3 #include "telnetpp/client_option.hpp"
4 
5 namespace telnetpp { namespace options { namespace terminal_type {
6 
7 //* =========================================================================
10 //* =========================================================================
11 class TELNETPP_EXPORT client : public telnetpp::client_option {
12 public :
13  //* =====================================================================
15  //* =====================================================================
16  client();
17 
18  //* =====================================================================
20  //* =====================================================================
21  std::vector<telnetpp::token> request_terminal_type();
22 
23  boost::signals2::signal
24  <
25  std::vector<telnetpp::token> (std::string const &),
27  > on_terminal_type;
28 
29 private :
30  //* =====================================================================
33  //* =====================================================================
34  std::vector<telnetpp::token> handle_subnegotiation(
35  u8stream const &content) override;
36 };
37 
38 }}}
A class that represents a Telnet option&#39;s client side.
Definition: client_option.hpp:34
A collection of bytes that models the Standard Library&#39;s Container concept.
A combiner for tokens.
Definition: element.hpp:47
An implementation of the client side of the Telnet Terminal Type option.
Definition: client.hpp:11
Definition: byte_converter.hpp:4