From 2c5e1ebb290a2e2d898c529303834cd5e2b9a194 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Fri, 18 May 2012 11:32:30 +0200 Subject: [PATCH] Cleaned up Netstring class. --- jsonrpc/netstring.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/jsonrpc/netstring.h b/jsonrpc/netstring.h index 4f264ccd1..574c12ea6 100644 --- a/jsonrpc/netstring.h +++ b/jsonrpc/netstring.h @@ -23,12 +23,12 @@ namespace icinga { -class I2_JSONRPC_API Netstring : public Object +class I2_JSONRPC_API Netstring { -public: - typedef shared_ptr Ptr; - typedef weak_ptr WeakPtr; +private: + Netstring(void); +public: static bool ReadStringFromFIFO(FIFO::Ptr fifo, string *message); static void WriteStringToFIFO(FIFO::Ptr fifo, const string& message); };