Home | History | Annotate | Download | only in dbus

Lines Matching refs:Response

45   void Method3(std::unique_ptr<DBusMethodResponse<int_32>> response,
48 response->ReplyWithError(brillo::errors::dbus::kDomain,
54 response->Return(message_len);
107 // void(std::unique_ptr<DBusMethodResponse<T...>> response,
110 // void(std::unique_ptr<DBusMethodResponse<T...>> response,
114 // response.
243 template<typename Response, typename... Args>
246 const base::Callback<void(std::unique_ptr<Response>, Args...)>& handler) {
247 static_assert(std::is_base_of<DBusMethodResponseBase, Response>::value,
248 "Response must be DBusMethodResponse<T...>");
249 Handler<DBusInterfaceMethodHandler<Response, Args...>>::Add(
255 template<typename Response, typename... Args>
258 void (*handler)(std::unique_ptr<Response>, Args...)) {
259 static_assert(std::is_base_of<DBusMethodResponseBase, Response>::value,
260 "Response must be DBusMethodResponse<T...>");
261 Handler<DBusInterfaceMethodHandler<Response, Args...>>::Add(
267 template<typename Response,
274 void(Class::*handler)(std::unique_ptr<Response>, Args...)) {
275 static_assert(std::is_base_of<DBusMethodResponseBase, Response>::value,
276 "Response must be DBusMethodResponse<T...>");
277 Handler<DBusInterfaceMethodHandler<Response, Args...>>::Add(
282 template<typename Response,
289 void(Class::*handler)(std::unique_ptr<Response>, Args...) const) {
290 static_assert(std::is_base_of<DBusMethodResponseBase, Response>::value,
291 "Response must be DBusMethodResponse<T...>");
292 Handler<DBusInterfaceMethodHandler<Response, Args...>>::Add(
297 template<typename Response, typename... Args>
300 const base::Callback<void(std::unique_ptr<Response>, dbus::Message*,
302 static_assert(std::is_base_of<DBusMethodResponseBase, Response>::value,
303 "Response must be DBusMethodResponse<T...>");
304 Handler<DBusInterfaceMethodHandlerWithMessage<Response, Args...>>::Add(
310 template<typename Response, typename... Args>
313 void (*handler)(std::unique_ptr<Response>, dbus::Message*, Args...)) {
314 static_assert(std::is_base_of<DBusMethodResponseBase, Response>::value,
315 "Response must be DBusMethodResponse<T...>");
316 Handler<DBusInterfaceMethodHandlerWithMessage<Response, Args...>>::Add(
322 template<typename Response,
329 void(Class::*handler)(std::unique_ptr<Response>,
331 static_assert(std::is_base_of<DBusMethodResponseBase, Response>::value,
332 "Response must be DBusMethodResponse<T...>");
333 Handler<DBusInterfaceMethodHandlerWithMessage<Response, Args...>>::Add(
338 template<typename Response,
345 void(Class::*handler)(std::unique_ptr<Response>, dbus::Message*,
347 static_assert(std::is_base_of<DBusMethodResponseBase, Response>::value,
348 "Response must be DBusMethodResponse<T...>");
349 Handler<DBusInterfaceMethodHandlerWithMessage<Response, Args...>>::Add(