#include <server.hpp>
Classes | |
struct | connection_log |
struct | login_log |
Public Member Functions | |
server (int port, bool keep_alive, const std::string &config_file, size_t min_threads, size_t max_threads) | |
void | run () |
Private Types | |
typedef std::function< void(server *, const std::string &, const std::string &, std::string &, std::ostringstream *)> | cmd_handler |
Definition at line 35 of file server.hpp.
|
private |
Definition at line 205 of file server.hpp.
wesnothd::server::server | ( | int | port, |
bool | keep_alive, | ||
const std::string & | config_file, | ||
size_t | min_threads, | ||
size_t | max_threads | ||
) |
Definition at line 363 of file server.cpp.
References acceptor_, ban_manager_, handle_sighup(), handle_termination(), handshake_response_, load_config(), wesnothd::ban_manager::read(), serve(), setup_handlers(), sighup_, and sigs_.
|
private |
Definition at line 730 of file server.cpp.
References wesnothd::async_send_error(), wesnothd::client_address(), DBG_SERVER, ERR_SERVER, graceful_restart, is_ip_banned(), LOG_SERVER, serve(), and serverside_handshake().
Referenced by serve().
|
private |
Definition at line 1083 of file server.cpp.
References games_and_users_list_, wesnothd::make_add_diff(), motd_, player_connections_, read_from_player(), simple_wml::document::root(), wesnothd::send_server_message(), send_to_lobby(), and wesnothd::send_to_player().
Referenced by handle_login().
|
private |
Definition at line 2416 of file server.cpp.
References simple_wml::node::add_child(), wesnothd::player::is_moderator(), LOG_SERVER, game_logic::msg(), parameters, player_connections_, simple_wml::document::root(), wesnothd::send_to_player(), and simple_wml::node::set_attr_dup().
Referenced by setup_handlers().
|
private |
Definition at line 2597 of file server.cpp.
References wesnothd::ban_manager::ban(), ban_manager_, wesnothd::client_address(), gui2::event::find(), wesnothd::ban_manager::get_ban_help(), wesnothd::player::name(), wesnothd::ban_manager::parse_time(), player_connections_, utils::strip(), and utils::wildcard_string_match().
Referenced by setup_handlers().
|
private |
Definition at line 2575 of file server.cpp.
References ban_manager_, e, ERR_SERVER, gui2::event::find(), wesnothd::ban_manager::list_bans(), wesnothd::ban_manager::list_deleted_bans(), utf8::lowercase(), and utils::strip().
Referenced by setup_handlers().
|
private |
Definition at line 716 of file server.cpp.
References last_uh_clean_, and user_handler_.
Definition at line 1414 of file server.cpp.
References simple_wml::document::child(), simple_wml::node::children(), wesnothd::game::description(), gui2::event::find(), metrics::game_terminated(), games(), games_and_users_list_, wesnothd::game::id(), LOG_SERVER, wesnothd::make_delete_diff(), metrics_, simple_wml::node::remove_child(), send_to_lobby(), and wesnothd::game::termination_reason().
Referenced by create_game().
|
private |
Definition at line 2551 of file server.cpp.
References wesnothd::client_address(), next, player_connections_, and wesnothd::player_status().
Referenced by setup_handlers().
|
private |
Definition at line 1393 of file server.cpp.
References cleanup_game(), wesnothd::client_address(), simple_wml::node::copy_into(), DBG_SERVER, wesnothd::player_record::get_game(), wesnothd::player_record::info(), wesnothd::game::level(), wesnothd::player::name(), player_connections_, replay_save_path_, simple_wml::document::root(), save_replays_, wesnothd::game::set_password(), and wesnothd::player_record::socket().
Referenced by handle_create_game(), and handle_player_in_lobby().
Definition at line 2943 of file server.cpp.
References wesnothd::player_record::enter_lobby(), ERR_SERVER, gui2::event::find(), games_and_users_list_, simple_wml::INIT_COMPRESSED, wesnothd::make_change_diff(), player_connections_, simple_wml::document::root(), and send_to_lobby().
Referenced by handle_player_in_game().
|
private |
Definition at line 2926 of file server.cpp.
References deny_unregistered_login_, e, ERR_SERVER, and utf8::lowercase().
Referenced by setup_handlers().
|
private |
Definition at line 709 of file server.cpp.
References games(), last_stats_, LOG_SERVER, and player_connections_.
|
inlineprivate |
Definition at line 121 of file server.hpp.
Referenced by cleanup_game(), dump_stats(), handle_graceful_timeout(), and stats_handler().
|
private |
Definition at line 2383 of file server.cpp.
References metrics::games(), and metrics_.
Referenced by setup_handlers().
|
private |
Definition at line 2751 of file server.cpp.
References wesnothd::ban_manager::ban(), ban_manager_, wesnothd::client_address(), gui2::event::find(), wesnothd::ban_manager::get_ban_help(), wesnothd::player::name(), wesnothd::ban_manager::parse_time(), player_connections_, utils::strip(), and utils::wildcard_string_match().
Referenced by setup_handlers().
|
private |
Definition at line 1370 of file server.cpp.
References create_game(), games_and_users_list_, graceful_restart, simple_wml::INIT_COMPRESSED, wesnothd::make_change_diff(), player_connections_, simple_wml::document::root(), wesnothd::send_server_message(), send_to_lobby(), and wesnothd::send_to_player().
Referenced by handle_player_in_lobby().
|
private |
Definition at line 460 of file server.cpp.
References games(), process_command(), and timer_.
Referenced by restart_handler(), and shut_down_handler().
|
private |
Definition at line 767 of file server.cpp.
References wesnothd::check_error(), wesnothd::client_address(), ERR_SERVER, handshake_response_, and request_version().
Referenced by serverside_handshake().
|
private |
Definition at line 1442 of file server.cpp.
References wesnothd::async_send_doc(), simple_wml::node::attr(), simple_wml::document::child(), wesnothd::client_address(), DBG_SERVER, gui2::event::find(), games_and_users_list_, simple_wml::INIT_COMPRESSED, wesnothd::make_change_diff(), game_config::images::observer, preferences::prv::password, player_connections_, simple_wml::document::root(), wesnothd::send_server_message(), send_to_lobby(), wesnothd::player_record::set_game(), simple_wml::string_span::to_bool(), and WRN_SERVER.
Referenced by handle_player_in_lobby().
|
private |
Definition at line 858 of file server.cpp.
References simple_wml::node::add_child(), add_player(), wesnothd::async_send_doc(), wesnothd::async_send_error(), wesnothd::async_send_warning(), wesnothd::ban_manager::ban(), ban_manager_, wesnothd::client_address(), default_max_messages_, default_time_period_, deny_unregistered_login_, disallowed_names_, e, image::exists(), failed_login_ban_, failed_login_buffer_size_, failed_login_limit_, failed_logins_, gui2::event::find(), games_and_users_list_, i, wesnothd::server::login_log::ip, ip_log_, utils::isvalid_username(), join_lobby_response_, LOG_SERVER, login(), utf8::lowercase(), max_ip_log_size_, game::error::message, MP_INCORRECT_PASSWORD_ERROR, MP_INVALID_CHARS_IN_NAME_ERROR, MP_MUST_LOGIN, MP_NAME_INACTIVE_WARNING, MP_NAME_RESERVED_ERROR, MP_NAME_TAKEN_ERROR, MP_NAME_TOO_LONG_ERROR, MP_NAME_UNREGISTERED_ERROR, MP_NO_SEED_ERROR, MP_PASSWORD_REQUEST, MP_PASSWORD_REQUEST_FOR_LOGGED_IN_NAME, MP_TOO_MANY_ATTEMPTS_ERROR, preferences::prv::password, player_connections_, process_command(), simple_wml::document::root(), seeds_, send_password_request(), wesnothd::send_server_message(), user_handler_, and utils::wildcard_string_match().
Referenced by login().
|
private |
Definition at line 1363 of file server.cpp.
References simple_wml::node::add_child(), simple_wml::node::copy_into(), simple_wml::document::root(), and send_to_lobby().
Referenced by handle_player_in_lobby().
|
private |
Definition at line 1250 of file server.cpp.
References simple_wml::node::child(), e, games_and_users_list_, wesnothd::make_change_diff(), game::error::message, game_logic::msg(), player_connections_, simple_wml::document::root(), wesnothd::send_server_message(), send_to_lobby(), cursor::set(), and user_handler_.
Referenced by handle_read_from_player().
|
private |
&& cfg_change->child("side") it is very likeley that the diff changes a side so this check isn't that important. Note that [side] is not at toplevel but inside [scenario] or [snapshot]
Definition at line 1517 of file server.cpp.
References simple_wml::node::add_child(), simple_wml::node::apply_diff(), simple_wml::document::attr(), wesnothd::game::ban_user(), simple_wml::node::child(), simple_wml::document::child(), simple_wml::node::children(), simple_wml::document::children(), simple_wml::document::clear(), wesnothd::client_address(), wesnothd::player::config_address(), simple_wml::node::copy_into(), DBG_SERVER, delete_game(), wesnothd::game::describe_slots(), wesnothd::game::description(), e, wesnothd::player_record::enter_lobby(), ERR_SERVER, games_and_users_list_, wesnothd::game::handle_choice(), simple_wml::node::has_attr(), wesnothd::game::id(), lg::info(), simple_wml::INIT_COMPRESSED, wesnothd::game::is_owner(), wesnothd::game::is_player(), wesnothd::game::kick_member(), wesnothd::game::level(), wesnothd::game::level_init(), wesnothd::game::load_next_scenario(), LOG_SERVER, wesnothd::make_add_diff(), wesnothd::make_change_diff(), wesnothd::game::mute_all_observers(), wesnothd::game::mute_observer(), wesnothd::game::name, wesnothd::player::name(), wesnothd::game::nplayers(), simple_wml::document::output(), wesnothd::game::perform_controller_tweaks(), player_connections_, wesnothd::game::process_change_turns_wml(), wesnothd::game::process_message(), wesnothd::game::process_turn(), wesnothd::game::process_whiteboard(), wesnothd::game::remove_player(), wesnothd::game::reset_last_synced_context_id(), simple_wml::document::root(), wesnothd::game::save_replay(), wesnothd::game::send_data(), wesnothd::send_server_message(), wesnothd::game::send_server_message(), wesnothd::game::send_server_message_to_all(), send_to_lobby(), wesnothd::send_to_player(), simple_wml::node::set_attr(), simple_wml::node::set_attr_dup(), wesnothd::game::set_description(), wesnothd::game::set_termination_reason(), wesnothd::game::start_game(), wesnothd::game::started(), wesnothd::game::starting_pos(), simple_wml::document::swap(), simple_wml::string_span::to_bool(), wesnothd::game::transfer_side_control(), wesnothd::game::unban_user(), wesnothd::game::unmute_observer(), wesnothd::game::update_game(), update_game_in_lobby(), wesnothd::game::update_side_data(), and WRN_SERVER.
Referenced by handle_read_from_player().
|
private |
Definition at line 1136 of file server.cpp.
References create_game(), handle_create_game(), handle_join_game(), handle_message(), and utils::join().
Referenced by handle_read_from_player().
|
private |
Definition at line 1173 of file server.cpp.
References admin_passwd_, wesnothd::client_address(), wesnothd::help_msg, wesnothd::player::is_moderator(), LOG_SERVER, wesnothd::player::name(), player_connections_, process_command(), wesnothd::send_server_message(), wesnothd::player::set_moderator(), user_handler_, and WRN_SERVER.
Referenced by handle_read_from_player().
|
private |
Definition at line 494 of file server.cpp.
References admin_cmd_, LOG_SERVER, process_command(), and read_from_fifo().
Referenced by read_from_fifo().
|
private |
Definition at line 1111 of file server.cpp.
References games_and_users_list_, handle_nickserv(), handle_player_in_game(), handle_player_in_lobby(), handle_query(), handle_whisper(), player_is_in_game(), read_from_player(), and wesnothd::send_to_player().
Referenced by read_from_player().
|
private |
Definition at line 436 of file server.cpp.
References cfg_, load_config(), read_config(), sighup_, and WRN_SERVER.
Referenced by server().
|
private |
Definition at line 448 of file server.cpp.
References lexical_cast(), and LOG_SERVER.
Referenced by server().
|
private |
Definition at line 792 of file server.cpp.
References wesnothd::async_receive_doc(), and read_version().
Referenced by request_version().
|
private |
Definition at line 1150 of file server.cpp.
References simple_wml::node::add_child(), simple_wml::node::copy_into(), gui2::event::find(), simple_wml::INIT_COMPRESSED, player_connections_, simple_wml::document::root(), wesnothd::send_server_message(), and wesnothd::send_to_player().
Referenced by handle_read_from_player().
|
private |
Definition at line 2361 of file server.cpp.
References wesnothd::help_msg.
Referenced by setup_handlers().
|
private |
|
private |
Definition at line 702 of file server.cpp.
References ban_manager_, gui2::event::find(), wesnothd::ban_manager::is_ip_banned(), and tor_ip_list_.
Referenced by accept_connection().
|
private |
Definition at line 2842 of file server.cpp.
References wesnothd::async_send_error(), wesnothd::client_address(), gui2::event::find(), i, wesnothd::player::name(), player_connections_, remove_player(), and utils::wildcard_string_match().
Referenced by setup_handlers().
|
private |
Definition at line 2668 of file server.cpp.
References wesnothd::async_send_error(), wesnothd::ban_manager::ban(), ban_manager_, wesnothd::client_address(), gui2::event::find(), wesnothd::ban_manager::get_ban_help(), wesnothd::player::name(), wesnothd::ban_manager::parse_time(), player_connections_, remove_player(), utils::strip(), and utils::wildcard_string_match().
Referenced by setup_handlers().
|
private |
Parse the server config into local variables.
Definition at line 591 of file server.cpp.
References accepted_versions_, admin_passwd_, allow_remote_shutdown_, ban_manager_, cfg_, config::child_range(), concurrent_connections_, default_max_messages_, default_time_period_, deny_unregistered_login_, disallowed_names_, config::empty(), failed_login_ban_, failed_login_buffer_size_, failed_login_limit_, FIFODIR, input_, input_path_, lan_server_, wesnothd::ban_manager::load_config(), max_ip_log_size_, motd_, proxy_versions_, filesystem::read_file(), redirected_versions_, replay_save_path_, restart_command, save_replays_, setup_fifo(), utils::split(), tor_ip_list_, uh_name_, user_handler_, and game_config::version.
Referenced by handle_sighup(), and server().
|
private |
Definition at line 2502 of file server.cpp.
References LOG_SERVER, and send_server_message_to_lobby().
|
private |
Definition at line 851 of file server.cpp.
References wesnothd::async_receive_doc(), and handle_login().
Referenced by handle_login(), read_version(), and send_password_request().
|
private |
|
private |
Definition at line 2877 of file server.cpp.
References motd_, and parameters.
Referenced by setup_handlers().
|
private |
Definition at line 2485 of file server.cpp.
References LOG_SERVER, and send_server_message_to_all().
Referenced by setup_handlers().
|
private |
Definition at line 2393 of file server.cpp.
Referenced by setup_handlers().
|
inlineprivate |
Definition at line 80 of file server.hpp.
References player_connections_.
Referenced by handle_read_from_player().
|
private |
Definition at line 2450 of file server.cpp.
References simple_wml::node::add_child(), gui2::event::find(), game_logic::msg(), wesnothd::player::name(), player_connections_, simple_wml::document::root(), wesnothd::send_to_player(), simple_wml::node::set_attr_dup(), and utils::strip().
Referenced by setup_handlers().
|
private |
Process commands from admins and users.
Definition at line 2251 of file server.cpp.
References cmd_handlers_, e, ERR_SERVER, gui2::event::find(), gui2::event::handler, wesnothd::help_msg, i, utf8::lowercase(), game_logic::msg(), parameters, and utils::strip().
Referenced by handle_graceful_timeout(), handle_login(), handle_query(), handle_read_from_fifo(), restart_handler(), shut_down_handler(), and status_handler().
|
private |
Read the server config from file 'config_file_'.
Definition at line 576 of file server.cpp.
References config_file_, e, ERR_CONFIG, LOG_SERVER, game::error::message, preprocess_file(), and read().
Referenced by handle_sighup().
|
private |
Definition at line 488 of file server.cpp.
References admin_cmd_, handle_read_from_fifo(), and input_.
Referenced by handle_read_from_fifo(), and setup_fifo().
|
private |
Definition at line 1103 of file server.cpp.
References wesnothd::async_receive_doc(), handle_read_from_player(), and remove_player().
Referenced by add_player(), and handle_read_from_player().
|
private |
Definition at line 799 of file server.cpp.
References accepted_versions_, simple_wml::node::add_child(), wesnothd::async_send_doc(), simple_wml::string_span::begin(), wesnothd::client_address(), simple_wml::string_span::end(), utils::join(), LOG_SERVER, login(), login_response_, redirected_versions_, simple_wml::document::root(), wesnothd::send_to_player(), simple_wml::node::set_attr(), simple_wml::document::set_attr(), simple_wml::node::set_attr_dup(), game_config::version, and utils::wildcard_string_match().
Referenced by handle_version().
|
private |
Definition at line 1882 of file server.cpp.
References simple_wml::node::children(), wesnothd::client_address(), gui2::event::find(), games_and_users_list_, i, ip_log_, LOG_SERVER, wesnothd::make_delete_diff(), player_connections_, simple_wml::node::remove_child(), simple_wml::document::root(), and send_to_lobby().
Referenced by kick_handler(), kickban_handler(), and read_from_player().
|
private |
Definition at line 782 of file server.cpp.
References wesnothd::async_send_doc(), wesnothd::check_error(), handle_version(), and version_query_response_.
Referenced by handle_handshake().
|
private |
Definition at line 2378 of file server.cpp.
References metrics_, and metrics::requests().
Referenced by setup_handlers().
|
private |
Definition at line 2322 of file server.cpp.
References acceptor_, allow_remote_shutdown_, wesnothd::denied_msg, graceful_restart, handle_graceful_timeout(), process_command(), restart_command, start_new_server(), and timer_.
Referenced by setup_handlers().
void wesnothd::server::run | ( | ) |
Definition at line 1944 of file server.cpp.
References e, io_service_, and LOG_SERVER.
Referenced by main().
|
private |
Definition at line 2343 of file server.cpp.
References wesnothd::denied_msg, and wesnothd::request_sample_frequency.
Referenced by setup_handlers().
|
private |
Definition at line 2894 of file server.cpp.
References wesnothd::client_address(), gui2::event::find(), lg::get_timestamp(), i, ip_log_, player_connections_, wesnothd::player_status(), and utils::wildcard_string_match().
Referenced by setup_handlers().
|
private |
Definition at line 1051 of file server.cpp.
References wesnothd::async_send_doc(), wesnothd::async_send_error(), e, login(), seeds_, simple_wml::node::set_attr(), simple_wml::node::set_attr_dup(), and user_handler_.
Referenced by handle_login().
|
private |
Definition at line 1936 of file server.cpp.
References player_connections_, and wesnothd::send_server_message().
Referenced by msg_handler().
|
private |
Definition at line 1928 of file server.cpp.
References player_connections_, and wesnothd::send_server_message().
Referenced by lobbymsg_handler().
|
private |
Definition at line 1921 of file server.cpp.
References player_connections_, and wesnothd::send_to_player().
Referenced by add_player(), cleanup_game(), delete_game(), handle_create_game(), handle_join_game(), handle_message(), handle_nickserv(), handle_player_in_game(), remove_player(), and update_game_in_lobby().
|
private |
Definition at line 724 of file server.cpp.
References accept_connection(), acceptor_, and io_service_.
Referenced by accept_connection(), and server().
|
private |
Definition at line 758 of file server.cpp.
References handle_handshake().
Referenced by accept_connection().
|
private |
Definition at line 473 of file server.cpp.
References ERR_SERVER, input_, input_path_, LOG_SERVER, and read_from_fifo().
Referenced by load_config().
|
private |
Definition at line 519 of file server.cpp.
References adminmsg_handler(), ban_handler(), bans_handler(), clones_handler(), cmd_handlers_, dul_handler(), games_handler(), gban_handler(), help_handler(), kick_handler(), kickban_handler(), metrics_handler(), motd_handler(), msg_handler(), netstats_handler(), pm_handler(), requests_handler(), restart_handler(), sample_handler(), searchlog_handler(), shut_down_handler(), stats_handler(), status_handler(), unban_handler(), ungban_handler(), and wml_handler().
Referenced by server().
|
private |
Definition at line 2302 of file server.cpp.
References acceptor_, allow_remote_shutdown_, wesnothd::denied_msg, graceful_restart, handle_graceful_timeout(), process_command(), and timer_.
Referenced by setup_handlers().
|
private |
Definition at line 2237 of file server.cpp.
References ERR_SERVER, LOG_SERVER, and restart_command.
Referenced by restart_handler().
|
private |
Definition at line 2366 of file server.cpp.
References games(), and player_connections_.
Referenced by setup_handlers().
|
private |
Definition at line 2518 of file server.cpp.
References wesnothd::client_address(), utils::isvalid_username(), wesnothd::player::name(), parameters, player_connections_, wesnothd::player_status(), process_command(), and utils::wildcard_string_match().
Referenced by setup_handlers().
|
private |
Definition at line 2822 of file server.cpp.
References ban_manager_, and wesnothd::ban_manager::unban().
Referenced by setup_handlers().
|
private |
Definition at line 2832 of file server.cpp.
References ban_manager_, and wesnothd::ban_manager::unban_group().
Referenced by setup_handlers().
|
private |
Definition at line 2971 of file server.cpp.
References simple_wml::document::child(), wesnothd::game::description(), games_and_users_list_, wesnothd::make_change_diff(), and send_to_lobby().
Referenced by handle_player_in_game().
|
private |
Definition at line 2388 of file server.cpp.
References simple_wml::document::stats().
Referenced by setup_handlers().
|
private |
Definition at line 144 of file server.hpp.
Referenced by load_config(), and read_version().
|
private |
Definition at line 42 of file server.hpp.
Referenced by restart_handler(), serve(), server(), and shut_down_handler().
|
private |
Definition at line 201 of file server.hpp.
Referenced by handle_read_from_fifo(), and read_from_fifo().
|
private |
Definition at line 148 of file server.hpp.
Referenced by handle_query(), and load_config().
|
private |
Definition at line 162 of file server.hpp.
Referenced by load_config(), restart_handler(), and shut_down_handler().
|
private |
Definition at line 84 of file server.hpp.
Referenced by ban_handler(), bans_handler(), gban_handler(), handle_login(), is_ip_banned(), kickban_handler(), load_config(), server(), unban_handler(), and ungban_handler().
char wesnothd::server::buf[4] |
Definition at line 48 of file server.hpp.
|
private |
Definition at line 138 of file server.hpp.
Referenced by handle_sighup(), and load_config().
|
private |
Definition at line 206 of file server.hpp.
Referenced by process_command(), and setup_handlers().
|
private |
Definition at line 152 of file server.hpp.
Referenced by load_config().
|
private |
Definition at line 137 of file server.hpp.
Referenced by read_config().
boost::uint32_t wesnothd::server::connection_num |
Definition at line 47 of file server.hpp.
|
private |
Definition at line 150 of file server.hpp.
Referenced by handle_login(), and load_config().
|
private |
Definition at line 151 of file server.hpp.
Referenced by handle_login(), and load_config().
|
private |
Definition at line 159 of file server.hpp.
Referenced by dul_handler(), handle_login(), and load_config().
|
private |
Definition at line 147 of file server.hpp.
Referenced by handle_login(), and load_config().
|
private |
Definition at line 165 of file server.hpp.
Referenced by handle_login(), and load_config().
|
private |
Definition at line 166 of file server.hpp.
Referenced by handle_login(), and load_config().
|
private |
Definition at line 164 of file server.hpp.
Referenced by handle_login(), and load_config().
|
private |
Definition at line 115 of file server.hpp.
Referenced by handle_login().
|
private |
Definition at line 177 of file server.hpp.
Referenced by add_player(), cleanup_game(), delete_game(), handle_create_game(), handle_join_game(), handle_login(), handle_nickserv(), handle_player_in_game(), handle_read_from_player(), remove_player(), and update_game_in_lobby().
|
private |
Definition at line 153 of file server.hpp.
Referenced by accept_connection(), handle_create_game(), restart_handler(), and shut_down_handler().
union { ... } wesnothd::server::handshake_response_ |
Referenced by handle_handshake(), and server().
|
private |
server socket/fifo.
Definition at line 133 of file server.hpp.
Referenced by load_config(), read_from_fifo(), and setup_fifo().
|
private |
Definition at line 135 of file server.hpp.
Referenced by load_config(), and setup_fifo().
|
private |
Definition at line 41 of file server.hpp.
|
private |
Definition at line 99 of file server.hpp.
Referenced by handle_login(), remove_player(), and searchlog_handler().
|
private |
Definition at line 176 of file server.hpp.
Referenced by handle_login().
|
private |
Definition at line 154 of file server.hpp.
Referenced by load_config().
|
private |
Definition at line 181 of file server.hpp.
|
private |
Definition at line 182 of file server.hpp.
Referenced by dump_stats().
|
private |
Definition at line 185 of file server.hpp.
Referenced by clean_user_handler().
|
private |
Definition at line 155 of file server.hpp.
|
private |
Definition at line 175 of file server.hpp.
Referenced by read_version().
|
private |
Definition at line 157 of file server.hpp.
Referenced by handle_login(), and load_config().
|
private |
Definition at line 179 of file server.hpp.
Referenced by cleanup_game(), games_handler(), metrics_handler(), and requests_handler().
|
private |
Definition at line 149 of file server.hpp.
Referenced by add_player(), load_config(), and motd_handler().
|
private |
Definition at line 120 of file server.hpp.
Referenced by add_player(), adminmsg_handler(), ban_handler(), clones_handler(), create_game(), delete_game(), dump_stats(), gban_handler(), handle_create_game(), handle_join_game(), handle_login(), handle_nickserv(), handle_player_in_game(), handle_query(), handle_whisper(), kick_handler(), kickban_handler(), player_is_in_game(), pm_handler(), remove_player(), searchlog_handler(), send_server_message_to_all(), send_server_message_to_lobby(), send_to_lobby(), stats_handler(), and status_handler().
|
private |
Definition at line 146 of file server.hpp.
Referenced by load_config().
|
private |
Definition at line 145 of file server.hpp.
Referenced by load_config(), and read_version().
|
private |
Definition at line 161 of file server.hpp.
Referenced by create_game(), and load_config().
|
private |
Definition at line 156 of file server.hpp.
Referenced by load_config(), restart_handler(), and start_new_server().
|
private |
Definition at line 160 of file server.hpp.
Referenced by create_game(), and load_config().
|
private |
Definition at line 118 of file server.hpp.
Referenced by handle_login(), and send_password_request().
|
private |
Definition at line 236 of file server.hpp.
Referenced by handle_sighup(), and server().
|
private |
Definition at line 239 of file server.hpp.
Referenced by server().
|
private |
Definition at line 242 of file server.hpp.
Referenced by handle_graceful_timeout(), restart_handler(), and shut_down_handler().
|
private |
Definition at line 163 of file server.hpp.
Referenced by is_ip_banned(), and load_config().
|
private |
Definition at line 158 of file server.hpp.
Referenced by load_config().
|
private |
Definition at line 117 of file server.hpp.
Referenced by clean_user_handler(), handle_login(), handle_nickserv(), handle_query(), load_config(), and send_password_request().
|
private |
Definition at line 174 of file server.hpp.
Referenced by request_version().