aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/vespa/searchcore/proton/common/statusreport.cpp
blob: 58f307ba203120e6fec36e7ff3dad86c1c13c694 (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
28
29
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#include "statusreport.h"

namespace proton {

StatusReport::Params::Params(const vespalib::string &component)
    : _component(component),
      _state(DOWN),
      _internalState(),
      _internalConfigState(),
      _progress(std::numeric_limits<float>::quiet_NaN()),
      _message()
{}

StatusReport::Params::~Params() { }

StatusReport::StatusReport(const Params &params)
    : _component(params._component),
      _state(params._state),
      _internalState(params._internalState),
      _internalConfigState(params._internalConfigState),
      _progress(params._progress),
      _message(params._message)
{}

StatusReport::~StatusReport() { }

}