129 std::string
const & object_name
130 , ed::connection_with_send_message::pointer_t connection
131 , ed::dispatcher::pointer_t dispatcher
133 virtual ~cluck()
override;
135 callback_manager_t::callback_id_t
136 add_lock_obtained_callback(
138 , callback_manager_t::priority_t priority = callback_manager_t::DEFAULT_PRIORITY);
139 bool remove_lock_obtained_callback(
140 callback_manager_t::callback_id_t
id);
141 callback_manager_t::callback_id_t
142 add_lock_failed_callback(
144 , callback_manager_t::priority_t priority = callback_manager_t::DEFAULT_PRIORITY);
145 bool remove_lock_failed_callback(
146 callback_manager_t::callback_id_t
id);
147 callback_manager_t::callback_id_t
148 add_finally_callback(
150 , callback_manager_t::priority_t priority = callback_manager_t::DEFAULT_PRIORITY);
151 bool remove_finally_callback(
152 callback_manager_t::callback_id_t
id);
161 std::string
const & get_object_name()
const;
164 void set_type(
type_t type);
170 bool is_locked()
const;
171 bool is_busy()
const;
175 virtual void process_timeout()
override;
178 virtual void lock_obtained();
179 virtual void lock_failed();
180 virtual void finally();
183 bool is_cluck_msg(ed::message & msg)
const;
184 void msg_locked(ed::message & msg);
185 void msg_lock_failed(ed::message & msg);
186 void msg_transmission_report(ed::message & msg);
187 void msg_unlocked(ed::message & msg);
188 void msg_unlocking(ed::message & msg);
190 bool help(advgetopt::string_set_t & commands);
192 std::string f_object_name = std::string();
193 ed::dispatcher_match::tag_t
const
194 f_tag = ed::dispatcher_match::DISPATCHER_MATCH_NO_TAG;
195 ed::connection_with_send_message::pointer_t
196 f_connection = ed::connection_with_send_message::pointer_t();
197 ed::dispatcher::pointer_t f_dispatcher = ed::dispatcher::pointer_t();