Lines Matching refs:Response
395 // Response implementation.
398 Response::Response() : Message() {
401 std::unique_ptr<Response> Response::FromRawMessage(DBusMessage* raw_message) {
405 std::unique_ptr<Response> response(new Response);
406 response->Init(raw_message);
407 return response;
410 std::unique_ptr<Response> Response::FromMethodCall(MethodCall* method_call) {
411 std::unique_ptr<Response> response(new Response);
412 response->Init(dbus_message_new_method_return(method_call->raw_message()));
413 return response;
416 std::unique_ptr<Response> Response::CreateEmpty() {
417 std::unique_ptr<Response> response(new Response);
418 response->Init(dbus_message_new(DBUS_MESSAGE_TYPE_METHOD_RETURN));
419 return response;
426 ErrorResponse::ErrorResponse() : Response() {
433 std::unique_ptr<ErrorResponse> response(new ErrorResponse);
434 response->Init(raw_message);
435 return response;
442 std::unique_ptr<ErrorResponse> response(new ErrorResponse);
443 response->Init(dbus_message_new_error(method_call->raw_message(),
446 return response;
528 // client side than response message from server side, so this should