Telnet++
A C++ library for interacting with Telnet streams
|
An implementation of the server side of Telnet ECHO option. More...
#include <server.hpp>
Additional Inherited Members | |
![]() | |
enum | state { inactive, activating, active, deactivating } |
An enumeration of the different states in which this option can be. More... | |
![]() | |
telnetpp::u8 | option () const |
Returns the option code. | |
void | set_activatable () |
Flags the option as remotely activatable. More... | |
std::vector< telnetpp::token > | activate () |
Activates the option; sends a WILL negotiation. | |
std::vector< telnetpp::token > | deactivate () |
Deactivates the option; sends a WONT negotiation. | |
bool | is_active () const |
Returns true iff the option is active. | |
std::vector< telnetpp::token > | negotiate (telnetpp::u8 request) |
Makes a request of the option and returns the response from that request. More... | |
std::vector< telnetpp::token > | subnegotiate (telnetpp::u8stream const &content) |
Send a subnegotiation to the option and returns the response from that subnegotiation. More... | |
![]() | |
boost::signals2::signal< std::vector< telnetpp::token >state new_state), token_combiner > | on_state_changed |
A signal that you can connect to in order to detect changes in the state of the option. More... | |
![]() | |
server_option (telnetpp::u8 option) | |
Constructor. More... | |
An implementation of the server side of Telnet ECHO option.