blob: 47edf6b56a357394d8e10e9fe6214e8ace378a6e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include <vespa/storageframework/generic/status/statusreporter.h>
namespace storage::distributor {
struct DelegatedStatusRequest
{
const framework::StatusReporter& reporter;
const framework::HttpUrlPath& path;
std::ostream& outputStream;
DelegatedStatusRequest(const framework::StatusReporter& _reporter,
const framework::HttpUrlPath& _path,
std::ostream& _outputStream)
: reporter(_reporter),
path(_path),
outputStream(_outputStream)
{}
private:
DelegatedStatusRequest(const DelegatedStatusRequest&);
DelegatedStatusRequest& operator=(const DelegatedStatusRequest&);
};
}
|