L4Re Operating System Framework
Interface and Usage Documentation
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
request.h
1/*
2 * Copyright (C) 2019-2020, 2024 Kernkonzept GmbH.
3 * Author(s): Sarah Hoffmann <sarah.hoffmann@kernkonzept.com>
4 *
5 * License: see LICENSE.spdx (in this directory or the directories above)
6 */
7#pragma once
8
9namespace Block_device {
10
15{
16 virtual ~Pending_request() = 0;
17
28 virtual int handle_request() = 0;
29
36 virtual void fail_request() = 0;
37};
38
39inline Pending_request::~Pending_request() = default;
40
41} // namespace
Interface for pending requests.
Definition request.h:15
virtual void fail_request()=0
Callback used when a request is dropped from the queue.
virtual int handle_request()=0
Callback used when the request is ready for processing.