mirror of https://github.com/Icinga/icinga2.git
parent
78e470996d
commit
0b03a3d8f8
|
@ -22,6 +22,7 @@
|
|||
|
||||
#include "base/i2-base.hpp"
|
||||
#include "base/socket.hpp"
|
||||
#include "base/stream.hpp"
|
||||
#include <boost/thread/condition_variable.hpp>
|
||||
#include <thread>
|
||||
|
||||
|
@ -37,9 +38,11 @@ namespace icinga
|
|||
*
|
||||
* @ingroup base
|
||||
*/
|
||||
class SocketEvents
|
||||
class SocketEvents : public Stream
|
||||
{
|
||||
public:
|
||||
DECLARE_PTR_TYPEDEFS(SocketEvents);
|
||||
|
||||
~SocketEvents();
|
||||
|
||||
virtual void OnEvent(int revents);
|
||||
|
|
|
@ -43,7 +43,7 @@ enum TlsAction
|
|||
*
|
||||
* @ingroup base
|
||||
*/
|
||||
class TlsStream final : public Stream, private SocketEvents
|
||||
class TlsStream final : public SocketEvents
|
||||
{
|
||||
public:
|
||||
DECLARE_PTR_TYPEDEFS(TlsStream);
|
||||
|
|
Loading…
Reference in New Issue