SEGS  0.4.2
Super Entity Game Server
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ChatClient_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_ChatClient_server_996f62ea_HPP__
9 #define MPRPC_ChatClient_server_996f62ea_HPP__
10 
11 #include "ChatClient.hpp"
12 
13 namespace StickWorld {
14 
15 namespace ChatClient {
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 notify(msgpack::rpc::request::type<void>, ChatClient::notify&);
40 };
41 
42 
43 } // namespace ChatClient
44 
45 
46 /*
47 void ChatClient::server::notify(msgpack::rpc::request::type<void> req, ChatClient::notify& params)
48 */
49 
50 
51 } // namespace StickWorld
52 #endif
friend class dispatch_table
Definition: ChatClient_server.hpp:36
void dispatch(msgpack::rpc::request req)
Definition: ChatClient.cpp:45
server(msgpack::rpc::loop lo=msgpack::rpc::loop())
Definition: ChatClient_server.hpp:20
Definition: ChatClient_server.hpp:18
void notify(msgpack::rpc::request::type< void >, ChatClient::notify &)
Definition: ChatClient.hpp:18
~server()
Definition: ChatClient_server.hpp:23