RockIoRequests.cc
Go to the documentation of this file.
1/*
2 * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
3 *
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
7 */
8
9/* DEBUG: section 79 Disk IO Routines */
10
11#include "squid.h"
13
16
17Rock::ReadRequest::ReadRequest(const ::ReadRequest &base, const IoState::Pointer &anSio, const IoXactionId anId):
18 ::ReadRequest(base),
19 sio(anSio),
20 id(anId)
21{
22}
23
24Rock::WriteRequest::WriteRequest(const ::WriteRequest &base, const IoState::Pointer &anSio, const IoXactionId anId):
25 ::WriteRequest(base),
26 sio(anSio),
27 sidPrevious(-1),
28 sidCurrent(-1),
29 id(anId),
30 eof(false)
31{
32}
33
CBDATA_NAMESPACED_CLASS_INIT(Rock, ReadRequest)
ReadRequest(const ::ReadRequest &, const IoState::Pointer &, const IoXactionId)
WriteRequest(const ::WriteRequest &, const IoState::Pointer &, const IoXactionId)
Definition: forward.h:28
uint64_t IoXactionId
unique (within a given IoState object scope) I/O transaction identifier
Definition: forward.h:36

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors