The Battle for Wesnoth  1.17.4+dev
Public Member Functions | Public Attributes | List of all members
server_shutdown Struct Reference

#include <server_base.hpp>

Inheritance diagram for server_shutdown:

Public Member Functions

 server_shutdown (const std::string &msg, boost::system::error_code ec={})
 
- Public Member Functions inherited from game::error
 error ()
 
 error (const std::string &msg)
 
 ~error () noexcept
 
const char * what () const noexcept
 

Public Attributes

boost::system::error_code ec
 
- Public Attributes inherited from game::error
std::string message
 

Detailed Description

Definition at line 54 of file server_base.hpp.

Constructor & Destructor Documentation

◆ server_shutdown()

server_shutdown::server_shutdown ( const std::string &  msg,
boost::system::error_code  ec = {} 
)
inline

Definition at line 57 of file server_base.hpp.

References ec.

Member Data Documentation

◆ ec

boost::system::error_code server_shutdown::ec

Definition at line 56 of file server_base.hpp.

Referenced by server_base::run(), and server_shutdown().


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