mirror of https://github.com/Icinga/icinga2.git
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
|
||||
*/
|
||||
|
|
|
@ -12,7 +12,7 @@ namespace icinga
|
|||
{
|
||||
|
||||
/**
|
||||
* A TCP socket.
|
||||
* A TCP socket. DEPRECATED - Use Boost ASIO instead.
|
||||
*
|
||||
* @ingroup base
|
||||
*/
|
||||
|
@ -27,6 +27,11 @@ public:
|
|||
void Connect(const String& node, const String& service);
|
||||
};
|
||||
|
||||
/**
|
||||
* TCP Connect based on Boost ASIO.
|
||||
*
|
||||
* @ingroup base
|
||||
*/
|
||||
template<class Socket>
|
||||
void Connect(Socket& socket, const String& node, const String& service)
|
||||
{
|
||||
|
|
|
@ -9,6 +9,11 @@
|
|||
namespace icinga
|
||||
{
|
||||
|
||||
/**
|
||||
* A TCP socket. DEPRECATED - Use Boost ASIO instead.
|
||||
*
|
||||
* @ingroup base
|
||||
*/
|
||||
class UnixSocket final : public Socket
|
||||
{
|
||||
public:
|
||||
|
|
Loading…
Reference in New Issue