3 #include "telnetpp/element.hpp" 4 #include <boost/signals2.hpp> 51 telnetpp::u8 option()
const;
61 void set_activatable();
66 std::vector<telnetpp::token> activate();
71 std::vector<telnetpp::token> deactivate();
76 bool is_active()
const;
82 std::vector<telnetpp::token> negotiate(telnetpp::u8 request);
88 std::vector<telnetpp::token> subnegotiate(
108 boost::signals2::signal<
109 std::vector<telnetpp::token> (
state new_state),
125 virtual std::vector<telnetpp::token> handle_subnegotiation(
128 state state_ = state::inactive;
129 bool activatable_ =
false;
state
An enumeration of the different states in which this option can be.
Definition: client_option.hpp:40
A class that represents a Telnet option's client side.
Definition: client_option.hpp:34
A collection of bytes that models the Standard Library's Container concept.
A combiner for tokens.
Definition: element.hpp:47
Definition: byte_converter.hpp:4