Telnet++
A C++ library for interacting with Telnet streams
client.hpp
1 #pragma once
2 
3 #include "telnetpp/options/msdp/variable.hpp"
4 #include "telnetpp/client_option.hpp"
5 
6 namespace telnetpp { namespace options { namespace msdp {
7 
8 //* =========================================================================
10 //* =========================================================================
11 class TELNETPP_EXPORT client : public telnetpp::client_option
12 {
13 public :
14  //* =====================================================================
16  //* =====================================================================
17  client();
18 
19  //* =====================================================================
21  //* =====================================================================
22  std::vector<telnetpp::token> send(std::vector<variable> const &variables);
23 
24  //* =====================================================================
28  //* =====================================================================
29  boost::signals2::signal<
30  std::vector<telnetpp::token> (std::vector<variable> const &),
32  > on_receive;
33 
34 private :
35  //* =====================================================================
38  //* =====================================================================
39  std::vector<telnetpp::token> handle_subnegotiation(
40  u8stream const &content) override;
41 };
42 
43 }}}
An implementation of the client side of an MSDP Telnet option.
Definition: client.hpp:11
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
Definition: byte_converter.hpp:4