19 #ifndef PQXX_H_NOTIFICATION
20 #define PQXX_H_NOTIFICATION
22 #include "pqxx/compiler-public.hxx"
23 #include "pqxx/compiler-internal-pre.hxx"
27 class connection_base;
60 public std::binary_function<const std::string &, int, void>
72 const std::string &
channel()
const {
return m_channel; }
82 virtual void operator()(
const std::string &payload,
int backend_pid) =0;
94 std::string m_channel;
98 #include "pqxx/compiler-internal-post.hxx"
connection_base abstract base class; represents a connection to a database.
Definition: connection_base.hxx:149
const std::string & channel() const
The channel that this receiver listens on.
Definition: notification.hxx:72
Definition: notification.hxx:59
connection_base & conn() const PQXX_NOEXCEPT
Definition: notification.hxx:85