#include <network.hpp>
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 |
Definition at line 262 of file network.hpp.
network::error::error | ( | const std::string & | msg = "" , |
connection | sock = 0 |
||
) |
Definition at line 231 of file network.cpp.
References socket.
void network::error::disconnect | ( | ) |
Definition at line 238 of file network.cpp.
References network::disconnect(), and socket.
Referenced by campaignd::server::run().
connection network::error::socket |
Definition at line 265 of file network.hpp.
Referenced by disconnect(), error(), and campaignd::server::run().