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 PGSTD::binary_function<const PGSTD::string &, int, void>
72 const PGSTD::string &
channel()
const {
return m_channel; }
82 virtual void operator()(
const PGSTD::string &payload,
int backend_pid) =0;
94 PGSTD::string m_channel;
98 #include "pqxx/compiler-internal-pre.hxx" 99 #include "pqxx/compiler-internal-post.hxx" connection_base & conn() const
Definition: notification.hxx:85
Definition: notification.hxx:59
const std::string & channel() const
The channel that this receiver listens on.
Definition: notification.hxx:72
The home of all libpqxx classes, functions, templates, etc.
Definition: basic_connection.hxx:35
connection_base abstract base class; represents a connection to a database.
Definition: connection_base.hxx:151