Samchon Framework for CPP  1.0.0
ChatUser.hpp
1 #pragma once
2 #include <samchon/protocol/service/User.hpp>
3 
4 namespace samchon
5 {
6  namespace example
7  {
8  namespace chat_service
9  {
19  class ChatUser
20  : public protocol::service::User
21  {
22  public:
26  ChatUser(protocol::service::Server*);
27  virtual ~ChatUser() = default;
28 
29  protected:
30  virtual auto createClient() -> protocol::service::Client* override;
31  };
32  };
33  };
34 };
ChatUser(protocol::service::Server *)
Construct from server.