$darkmode
lrdb::command_stream_stdstream Class Reference

Public Member Functions

 command_stream_stdstream (std::istream &in, std::ostream &out)
 
void close ()
 
bool is_open () const
 
void poll ()
 
void run_one ()
 
void wait_for_connection ()
 
bool send_message (const std::string &message)
 

Public Attributes

std::function< void(const std::string &data)> on_data
 
std::function< void()> on_connection
 
std::function< void()> on_close
 
std::function< void(const std::string &)> on_error
 

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