The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Public Attributes | List of all members
network::error Struct Reference

#include <network.hpp>

Inheritance diagram for network::error:
Inheritance graph

Public Member Functions

 error (const std::string &msg="", connection sock=0)
 
void disconnect ()
 
- Public Member Functions inherited from game::error
 error ()
 
 error (const std::string &msg)
 
 ~error () throw ()
 
const char * what () const throw ()
 

Public Attributes

connection socket
 
- Public Attributes inherited from game::error
std::string message
 

Detailed Description

Definition at line 262 of file network.hpp.

Constructor & Destructor Documentation

network::error::error ( const std::string msg = "",
connection  sock = 0 
)

Definition at line 231 of file network.cpp.

References socket.

Member Function Documentation

void network::error::disconnect ( )

Definition at line 238 of file network.cpp.

References network::disconnect(), and socket.

Referenced by campaignd::server::run().

Member Data Documentation

connection network::error::socket

Definition at line 265 of file network.hpp.

Referenced by disconnect(), error(), and campaignd::server::run().


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