The DatabaseSignal class provides an interface to the PostgreSQL LISTEN command. By creating an instance of this class, you request to be notified whenever anyone uses the corresponsing pg NOTIFY command.
This is an eternal object. Once you've done this, there is no turning back. The listening never stops.
Constructs a DatabaseSignal for name which will notify owner. Forever.
Returns a non-null pointer to a list of all names used with the constructor. This function allocates memory. The list may contain duplicates.
This command should be called only by Postgres. It notifies those event handlers who have created DatabaseSignal objects for name.
This destructor is private, so noone can ever call it. Objects of this class are indestructible by nature.
This web page based on source code belonging to The Archiveopteryx Developers. All rights reserved.