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