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); };