aboutsummaryrefslogtreecommitdiffstats
path: root/logforwarder/src/apps/vespa-logforwarder-start/child-handler.h
blob: 3f7498ea1619ce0b2bcb553910a0087032779caf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once

#include <vespa/vespalib/stllike/string.h>

class ChildHandler {
private:
    bool _childRunning;
    vespalib::string _runningPrefix;
public:
    void startChild(const vespalib::string &prefix);
    void stopChild();
    void stopChild(const vespalib::string &prefix);
    ChildHandler();
};