#include <server.h>
Inheritance diagram for clan::NetGameServer:Public Member Functions | |
| NetGameServer () | |
| ~NetGameServer () | |
| void | process_events () |
| Process events. More... | |
| void | send_event (const NetGameEvent &game_event) |
| Send event. More... | |
| Signal< void(NetGameConnection *)> & | sig_client_connected () |
| Signal< void(NetGameConnection *, const std::string &)> & | sig_client_disconnected () |
| Signal< void(NetGameConnection *, const NetGameEvent &)> & | sig_event_received () |
| void | start (const std::string &port) |
| Start. More... | |
| void | start (const std::string &address, const std::string &port) |
| Start. More... | |
| void | stop () |
| Stop. More... | |
| clan::NetGameServer::NetGameServer | ( | ) |
| clan::NetGameServer::~NetGameServer | ( | ) |
| void clan::NetGameServer::process_events | ( | ) |
Process events.
| void clan::NetGameServer::send_event | ( | const NetGameEvent & | game_event | ) |
Send event.
| game_event | = Net Game Event |
| Signal<void(NetGameConnection *)>& clan::NetGameServer::sig_client_connected | ( | ) |
| Signal<void(NetGameConnection *, const std::string &)>& clan::NetGameServer::sig_client_disconnected | ( | ) |
| Signal<void(NetGameConnection *, const NetGameEvent &)>& clan::NetGameServer::sig_event_received | ( | ) |
| void clan::NetGameServer::start | ( | const std::string & | port | ) |
Start.
| port | = String |
| void clan::NetGameServer::start | ( | const std::string & | address, |
| const std::string & | port | ||
| ) |
Start.
| address | = String |
| port | = String |
| void clan::NetGameServer::stop | ( | ) |
Stop.