Telnet++
A C++ library for interacting with Telnet streams
Public Member Functions | Public Attributes | List of all members
telnetpp::options::msdp::client Class Reference

An implementation of the client side of an MSDP Telnet option. More...

#include <client.hpp>

Inheritance diagram for telnetpp::options::msdp::client:
telnetpp::client_option

Public Member Functions

 client ()
 Constructor.
 
std::vector< telnetpp::tokensend (std::vector< variable > const &variables)
 Send a list of variables to the remote server.
 
- Public Member Functions inherited from telnetpp::client_option
telnetpp::u8 option () const
 Returns the option code.
 
void set_activatable ()
 Flags the option as remotely activatable. More...
 
std::vector< telnetpp::tokenactivate ()
 Activates the option; sends a DO negotiation.
 
std::vector< telnetpp::tokendeactivate ()
 Deactivates the option; sends a DONT negotiation.
 
bool is_active () const
 Returns true iff the option is active.
 
std::vector< telnetpp::tokennegotiate (telnetpp::u8 request)
 Makes a request of the option and returns the response from that request. More...
 
std::vector< telnetpp::tokensubnegotiate (telnetpp::u8stream const &content)
 Send a subnegotiation to the option and returns the response from that subnegotiation. More...
 

Public Attributes

boost::signals2::signal< std::vector< telnetpp::token >std::vector< variable > const &), telnetpp::token_combineron_receive
 Register for a signal whenever a list of variables is received from the remote server. More...
 
- Public Attributes inherited from telnetpp::client_option
boost::signals2::signal< std::vector< telnetpp::token >state new_state), token_combineron_state_changed
 A signal that you can connect to in order to detect changes in the state of the option. More...
 

Additional Inherited Members

- Public Types inherited from telnetpp::client_option
enum  state { inactive, activating, active, deactivating }
 An enumeration of the different states in which this option can be. More...
 
- Protected Member Functions inherited from telnetpp::client_option
 client_option (telnetpp::u8 option)
 Constructor. More...
 

Detailed Description

An implementation of the client side of an MSDP Telnet option.

Member Data Documentation

telnetpp::options::msdp::client::on_receive

Register for a signal whenever a list of variables is received from the remote server.


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