2 #include <samchon/API.hpp> 4 #include <samchon/protocol/IProtocol.hpp> 6 #define KEEP_SERVICE_ALIVE auto &__keeper = __keep_alive(); 56 this->client = client;
69 auto __keep_alive()
const -> std::pair<std::shared_ptr<User>, std::shared_ptr<Client>>;
101 virtual void sendData(std::shared_ptr<protocol::Invoke> invoke)
override 107 std::weak_ptr<User> user_weak_ptr;
108 std::weak_ptr<Client> client_weak_ptr;
virtual void sendData(std::shared_ptr< protocol::Invoke > invoke) override
auto getPath() const -> std::string
auto getClient() const -> Client *
Service(Client *client, const std::string &path)
virtual ~Service()=default