2 #include "../acl_cpp_define.hpp" 4 #include "../stdlib/noncopyable.hpp" 5 #include "../stdlib/string.hpp" 7 #ifndef ACL_CLIENT_ONLY 40 return queue_.c_str();
53 void set_id(
const char*
id);
54 void set_queue(
const char*
name);
55 void set_body(
const char* job,
size_t len);
63 return state_.c_str();
93 return nodes_delivered_;
98 return nodes_confirmed_;
103 return next_requeue_within_;
108 return next_awake_within_;
117 long long int ctime_;
120 std::vector<string> nodes_delivered_;
121 std::vector<string> nodes_confirmed_;
122 int next_requeue_within_;
123 int next_awake_within_;
128 void set_nodes(
const redis_result& rr, std::vector<string>& out);
133 #endif // ACL_CLIENT_ONLY
const char * get_state() const
HTTP_API void const char * name
long long int get_ctime() const
const string & get_body() const
int get_next_requeue_within() const
const char * get_queue() const
const std::vector< string > & get_nodes_delivered() const
const char * get_id() const
int get_next_awake_within() const
const std::vector< string > & get_nodes_confirmed() const