#pragma once #include "acl_cpp/acl_cpp_define.hpp" namespace acl { class redis_client; class redis_result; class ACL_CPP_API redis_command { public: redis_command(redis_client* conn = NULL); virtual ~redis_command() = 0; void reset(); void set_client(redis_client* conn); redis_client* get_client() const { return conn_; } const redis_result* get_result() const; protected: redis_client* conn_; }; } // namespace acl