summaryrefslogtreecommitdiffstats
path: root/logforwarder/src/apps/vespa-logforwarder-start/child-handler.h
blob: 22396a0e448242823a7d98d55f77a96377bb8733 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright Yahoo. 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();
    ChildHandler();
};