summaryrefslogtreecommitdiffstats
path: root/configd/src/apps/sentinel/command-connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'configd/src/apps/sentinel/command-connection.h')
-rw-r--r--configd/src/apps/sentinel/command-connection.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/configd/src/apps/sentinel/command-connection.h b/configd/src/apps/sentinel/command-connection.h
deleted file mode 100644
index b637a519384..00000000000
--- a/configd/src/apps/sentinel/command-connection.h
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-#pragma once
-
-#include "line-splitter.h"
-
-namespace config::sentinel {
-
-class CommandConnection {
-private:
- int _fd;
- LineSplitter _lines;
-
- // Unused constructors/assignment operator:
- CommandConnection();
- CommandConnection(const CommandConnection&);
- CommandConnection& operator =(const CommandConnection&);
-
-public:
- explicit CommandConnection(int fd);
- ~CommandConnection();
- bool isFinished() const;
- char *getCommand();
- int printf(const char *fmt, ...) __attribute__((format(printf, 2, 3)));
- void finish();
- int fd() const { return _fd; }
-};
-
-}