libpqxx
The C++ client library for PostgreSQL
Loading...
Searching...
No Matches
connection-notification_receiver.hxx
Go to the documentation of this file.
2
3#include "pqxx/connection.hxx"
4
5
6namespace pqxx
7{
9}
10
11
13{
14class PQXX_PRIVATE connection_notification_receiver : callgate<connection>
15{
16 friend class pqxx::notification_receiver;
17
18 connection_notification_receiver(reference x) : super(x) {}
19
20 void add_receiver(notification_receiver *receiver)
21 {
22 home().add_receiver(receiver);
23 }
24 void remove_receiver(notification_receiver *receiver) noexcept
25 {
26 home().remove_receiver(receiver);
27 }
28};
29} // namespace pqxx::internal::gate
Definition notification.hxx:57
#define PQXX_PRIVATE
Definition header-pre.hxx:158
Definition connection.hxx:108
The home of all libpqxx classes, functions, templates, etc.
Definition array.cxx:27