aboutsummaryrefslogtreecommitdiffstats
path: root/util/stream/pipe.h
diff options
context:
space:
mode:
authorsereglond <sereglond@yandex-team.ru>2022-02-10 16:47:47 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:47 +0300
commit73bb02f2495181e0719a800f979df508924f4b71 (patch)
treec0748b5dcbade83af788c0abfa89c0383d6b779c /util/stream/pipe.h
parenteb3d925534734c808602b31b38b953677f0a279f (diff)
downloadydb-73bb02f2495181e0719a800f979df508924f4b71.tar.gz
Restoring authorship annotation for <sereglond@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/stream/pipe.h')
-rw-r--r--util/stream/pipe.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/util/stream/pipe.h b/util/stream/pipe.h
index e419af79661..18525b9517d 100644
--- a/util/stream/pipe.h
+++ b/util/stream/pipe.h
@@ -15,7 +15,7 @@
/**
* Base class for starting a process and communicating with it via pipes.
*/
-class TPipeBase {
+class TPipeBase {
protected:
/**
* Starts a new process and opens a pipe.
@@ -26,12 +26,12 @@ protected:
*/
TPipeBase(const TString& command, const char* mode);
virtual ~TPipeBase();
-
+
protected:
class TImpl;
THolder<TImpl> Impl_;
-};
-
+};
+
/**
* Input stream that binds to a standard output stream of a newly started process.
*
@@ -49,7 +49,7 @@ public:
private:
size_t DoRead(void* buf, size_t len) override;
-};
+};
/**
* Output stream that binds to a standard input stream of a newly started process.
@@ -71,7 +71,7 @@ public:
* with a non-zero exit status.
*/
void Close();
-
+
private:
void DoWrite(const void* buf, size_t len) override;
};