Quality: Mark NetworkStream, TcpSocket & UnixSocket classes as deprecated

They're used inside the Livestatus feature which needs rework.
This commit is contained in:
Michael Friedrich 2019-05-29 14:17:36 +02:00
parent 120aba3919
commit f5bc9b469c
3 changed files with 12 additions and 2 deletions

View File

@ -11,7 +11,7 @@ namespace icinga
{
/**
* A network stream.
* A network stream. DEPRECATED - Use Boost ASIO instead.
*
* @ingroup base
*/

View File

@ -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)
{

View File

@ -9,6 +9,11 @@
namespace icinga
{
/**
* A TCP socket. DEPRECATED - Use Boost ASIO instead.
*
* @ingroup base
*/
class UnixSocket final : public Socket
{
public: