#include <central.h>
Public Member Functions | |
| central () | |
| General communication handler with the moros client. | |
| void | config_handler (channel *ch) |
| void | save_all (std::string config_file) |
| Save all the data to files for backup. | |
| void | tls_handler (channel *ch) |
| void | change_game (channel *ch) |
| Create a new game record. | |
| void | client_handler (channel *ch) |
| Receive data from the moros client program. | |
| std::string | rand_session () |
| Communicate with the client by a TLS secure connection. | |
| void | do_fork (std::string file) |
| void | chat_session (std::string session) |
| void | config () |
| Read the data from the config files. | |
| void | log_level (std::string level) |
| Set the log level. | |
| void | log_file (std::string logfile) |
| Set the log file. | |
| void | game_directory (std::string dir) |
| Set the game data directory. | |
| void | main_loop () |
Public Attributes | |
| time_t | current_time |
| central::central | ( | ) |
General communication handler with the moros client.
| void central::config_handler | ( | channel * | ch | ) |
| void central::save_all | ( | std::string | config_file | ) |
Save all the data to files for backup.
| void central::tls_handler | ( | channel * | ch | ) |
| void central::change_game | ( | channel * | ch | ) |
| void central::client_handler | ( | channel * | ch | ) |
| std::string central::rand_session | ( | ) |
Communicate with the client by a TLS secure connection.
| void central::do_fork | ( | std::string | file | ) |
| void central::chat_session | ( | std::string | session | ) |
| void central::config | ( | ) |
Read the data from the config files.
| void central::log_level | ( | std::string | level | ) |
Set the log level.
| void central::log_file | ( | std::string | logfile | ) |
Set the log file.
| void central::game_directory | ( | std::string | dir | ) |
Set the game data directory.
| void central::main_loop | ( | ) |
| time_t central::current_time |
Visit the project page on