Telnet++  3.1.0.2
A C++ library for interacting with Telnet streams
Public Member Functions | List of all members
telnetpp::options::mccp::server Class Reference

A server option responsible for negotiating the server part of the MCCP protocol. More...

#include <server.hpp>

Inheritance diagram for telnetpp::options::mccp::server:
telnetpp::options::basic_server< detail::option > telnetpp::server_option

Public Member Functions

 server (telnetpp::session &sess, codec &cdc)
 Constructor.
 
void start_compression ()
 Requests that compression begins. If the option is active, then this sends a sequence that will begin compression. Otherwise, the sequence will be sent as soon as the option is activated.
 
void finish_compression ()
 Requests that compression ends. If the option is active, then this sends a sequence that will end compression. If the option is not active, then this also cancels any request to begin_compression that would auto-start compression on activation.
 
- Public Member Functions inherited from telnetpp::options::basic_server< detail::option >
constexpr basic_server (telnetpp::session &sess) noexcept
 Constructor.
 
- Public Member Functions inherited from telnetpp::server_option
constexpr server_option (telnetpp::session &sess, telnetpp::option_type code) noexcept
 

Detailed Description

A server option responsible for negotiating the server part of the MCCP protocol.


The documentation for this class was generated from the following files: