mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-31 01:24:19 +02:00
Cleaned up Netstring class.
This commit is contained in:
parent
15e9f7e6f3
commit
2c5e1ebb29
@ -23,12 +23,12 @@
|
|||||||
namespace icinga
|
namespace icinga
|
||||||
{
|
{
|
||||||
|
|
||||||
class I2_JSONRPC_API Netstring : public Object
|
class I2_JSONRPC_API Netstring
|
||||||
{
|
{
|
||||||
public:
|
private:
|
||||||
typedef shared_ptr<Netstring> Ptr;
|
Netstring(void);
|
||||||
typedef weak_ptr<Netstring> WeakPtr;
|
|
||||||
|
|
||||||
|
public:
|
||||||
static bool ReadStringFromFIFO(FIFO::Ptr fifo, string *message);
|
static bool ReadStringFromFIFO(FIFO::Ptr fifo, string *message);
|
||||||
static void WriteStringToFIFO(FIFO::Ptr fifo, const string& message);
|
static void WriteStringToFIFO(FIFO::Ptr fifo, const string& message);
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user