15#ifndef ZYPPNG_BASE_SOCKETNOTIFIER_H_DEFINED
16#define ZYPPNG_BASE_SOCKETNOTIFIER_H_DEFINED
19#include <zypp-core/zyppng/base/AbstractEventSource>
20#include <zypp-core/zyppng/base/Signals>
23class SocketNotifierPrivate;
73 using Ptr = std::shared_ptr<SocketNotifier>;
74 using WeakPtr = std::weak_ptr<SocketNotifier>;
Reference counted access to a Tp object calling a custom Dispose function when the last AutoDispose h...
SocketNotifier(int socket, int evTypes)
SignalProxy< void(const SocketNotifier &sock, int evTypes) sigActivated)()
std::shared_ptr< SocketNotifier > Ptr
void onSignal(int signal) override
static Ptr create(int socket, int evTypes, bool enable=true)
void onFdReady(int, int events) override
std::weak_ptr< SocketNotifier > WeakPtr
void setEnabled(bool enabled=true)
#define ZYPP_DECLARE_PRIVATE(Class)