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
20  : public protocol::service::Client
21  {
22  public:
26  ChatClient(protocol::service::User*);
27  virtual ~ChatClient() = default;
28 
29  protected:
30  auto createService(const std::string &) -> protocol::service::Service* override;
31  };
32  };
33  };
34 };
ChatClient(protocol::service::User *)
Construct from an user.