aboutsummaryrefslogtreecommitdiffstats
path: root/logforwarder/src/apps/vespa-logforwarder-start/child-handler.h
blob: f512d241c71a7d9c3a3226fd82626d51a91472aa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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();
    void stopChild(const vespalib::string &prefix);
    ChildHandler();
};