blob: 7760294e5898ec656aa24b7b545c0d4646480355 (
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 Yahoo. 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&);
};
}
|