mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 21:55:03 +02:00
Quality: Mark NetworkStream, TcpSocket & UnixSocket classes as deprecated
They're used inside the Livestatus feature which needs rework.
This commit is contained in:
parent
120aba3919
commit
f5bc9b469c
@ -11,7 +11,7 @@ namespace icinga
|
|||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A network stream.
|
* A network stream. DEPRECATED - Use Boost ASIO instead.
|
||||||
*
|
*
|
||||||
* @ingroup base
|
* @ingroup base
|
||||||
*/
|
*/
|
||||||
|
@ -12,7 +12,7 @@ namespace icinga
|
|||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A TCP socket.
|
* A TCP socket. DEPRECATED - Use Boost ASIO instead.
|
||||||
*
|
*
|
||||||
* @ingroup base
|
* @ingroup base
|
||||||
*/
|
*/
|
||||||
@ -27,6 +27,11 @@ public:
|
|||||||
void Connect(const String& node, const String& service);
|
void Connect(const String& node, const String& service);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* TCP Connect based on Boost ASIO.
|
||||||
|
*
|
||||||
|
* @ingroup base
|
||||||
|
*/
|
||||||
template<class Socket>
|
template<class Socket>
|
||||||
void Connect(Socket& socket, const String& node, const String& service)
|
void Connect(Socket& socket, const String& node, const String& service)
|
||||||
{
|
{
|
||||||
|
@ -9,6 +9,11 @@
|
|||||||
namespace icinga
|
namespace icinga
|
||||||
{
|
{
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A TCP socket. DEPRECATED - Use Boost ASIO instead.
|
||||||
|
*
|
||||||
|
* @ingroup base
|
||||||
|
*/
|
||||||
class UnixSocket final : public Socket
|
class UnixSocket final : public Socket
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user