Cleaned up Netstring class.

This commit is contained in:
Gunnar Beutner 2012-05-18 11:32:30 +02:00
parent 15e9f7e6f3
commit 2c5e1ebb29
1 changed files with 4 additions and 4 deletions

View File

@ -23,12 +23,12 @@
namespace icinga
{
class I2_JSONRPC_API Netstring : public Object
class I2_JSONRPC_API Netstring
{
public:
typedef shared_ptr<Netstring> Ptr;
typedef weak_ptr<Netstring> WeakPtr;
private:
Netstring(void);
public:
static bool ReadStringFromFIFO(FIFO::Ptr fifo, string *message);
static void WriteStringToFIFO(FIFO::Ptr fifo, const string& message);
};