Samchon Framework for CPP  1.0.0
ChatClient.hpp
1 #pragma once
2 #include <samchon/protocol/service/Client.hpp>
3 
4 namespace samchon
5 {
6  namespace example
7  {
8  namespace chat_service
9  {
19  class ChatClient
21  {
22  public:
27  virtual ~ChatClient() = default;
28 
29  protected:
30  auto createService(const std::string &) -> protocol::service::Service* override;
31  };
32  };
33  };
34 };
User containing Client(s) with session-id.
Definition: User.hpp:56
auto createService(const std::string &) -> protocol::service::Service *override
Factory method of Service.
ChatClient(protocol::service::User *)
Construct from an user.
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