SEGS  0.4.2
Super Entity Game Server
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GameServer_server.hpp
Go to the documentation of this file.
1 /*
2  * SEGS - Super Entity Game Server
3  * http://www.segs.io/
4  * Copyright (c) 2006 - 2018 SEGS Team (see Authors.txt)
5  * This software is licensed! (See License.txt for details)
6  */
7 
8 #ifndef MPRPC_GameServer_server_6abc2380_HPP__
9 #define MPRPC_GameServer_server_6abc2380_HPP__
10 
11 #include "GameServer.hpp"
12 
13 namespace StickWorld {
14 
15 namespace GameServer {
16 
17 
18 class server : public msgpack::rpc::server::base {
19 public:
20  server(msgpack::rpc::loop lo = msgpack::rpc::loop()) :
21  msgpack::rpc::server::base(lo) { }
22 
23  ~server() { }
24 
25  void dispatch(msgpack::rpc::request req);
26 
27 private:
28  class dispatch_table {
29  public:
31  ~dispatch_table();
32  void* pimpl;
33  };
34 
35  static dispatch_table s_dispatch_table;
36  friend class dispatch_table;
37 
38 public:
39  void login(msgpack::rpc::request::type<int32_t>, GameServer::login&);
40 };
41 
42 
43 } // namespace GameServer
44 
45 
46 /*
47 void GameServer::server::login(msgpack::rpc::request::type<int32_t> req, GameServer::login& params)
48 */
49 
50 
51 } // namespace StickWorld
52 #endif
server(msgpack::rpc::loop lo=msgpack::rpc::loop())
Definition: GameServer_server.hpp:20
~server()
Definition: GameServer_server.hpp:23
void dispatch(msgpack::rpc::request req)
Definition: GameServer.cpp:45
Definition: GameServer_server.hpp:18
friend class dispatch_table
Definition: GameServer_server.hpp:36
void login(msgpack::rpc::request::type< int32_t >, GameServer::login &)
Definition: GameServer.hpp:18
Definition: GameServer.h:18