AppChat  0.5.0
TCP client-server caht application with boost::asio library.
Public Member Functions | List of all members
Database Class Reference

Public Member Functions

 Database ()
 Database::Database. More...
 
void save_text_message (text_request_ptr message)
 
std::deque< text_response_ptr > get_history (identifier_t roomid)
 
void add_logins (std::string login, identifier_t logi_id, std::string password)
 
identifier_t get_loginid (std::string login) const
 
identifier_t check_client (std::string login, std::string password) const
 

Constructor & Destructor Documentation

Database::Database ( )

Database::Database.

Todo:

add checks for create_directory

add open/close db methods


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