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
21  {
22  public:
27  virtual ~ChatUser() = default;
28 
29  protected:
30  virtual auto createClient() -> protocol::service::Client* override;
31  };
32  };
33  };
34 };
virtual auto createClient() -> protocol::service::Client *override
Factory method of a Client.
User containing Client(s) with session-id.
Definition: User.hpp:56
A server for (cloud) service.
Definition: Server.hpp:48
A network boundary with the client in an User.
Definition: Client.hpp:46
Top level namespace of products built from samchon.
Definition: ByteArray.hpp:7
ChatUser(protocol::service::Server *)
Construct from server.