Defined in File application.hpp
Application: public std::enable_shared_from_this<Application>¶
This is the main application which is created by the executable. It will load the selected server task, connect to the database and connect to the cache.
Initialize all required components for the core.
Will start the given application type and start the io context.
const boost::property_tree::ptree &
The configuration of the core.
The network io context, used for handling async processing.
The connection to redis. It is recommended to always use the prepared cache objects.
The event system, used for enqueing functions and timeouts.
Past milliseconds since the application was started.
const std::string &
The application type configured in the configuration
GetScriptEngine(const std::string &name)¶
Search for a script engine given by it’s name
shared pointer to the script engine or a nullptr if the engine is not available
name: name of script engine