Samchon Framework for CPP  1.0.0
ListService.hpp
1 #pragma once
2 #include <samchon/protocol/service/Service.hpp>
3 
4 namespace samchon
5 {
6  namespace example
7  {
8  namespace chat_service
9  {
10  class ListService;
11 
23  {
24  private:
26 
27  public:
32  virtual ~ListService() = default;
33 
34  virtual void replyData(std::shared_ptr<protocol::Invoke> invoke) override;
35 
36  private:
42  void createRoom(const std::string &);
43 
44  void handleRoomArray(std::shared_ptr<library::XML>);
45  void handleMakeRoom(bool);
46  void handleRoomArray(bool);
47  };
48  };
49  };
50 };
ListService(protocol::service::Client *)
Construct from a client.
A list service of chat rooms.
Definition: ListService.hpp:21
void createRoom(const std::string &)
Create a chat room.
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