pqxx::notify_listener Class Reference

#include <notify-listen.hxx>

List of all members.

Public Member Functions

 notify_listener (connection_base &C, const PGSTD::string &N)
 Constructor. Registers the listener with connection C.
virtual ~notify_listener () throw ()
const PGSTD::string & name () const
virtual void operator() (int be_pid)=0
 Overridable: action to invoke when notification arrives.

Protected Member Functions

connection_baseConn () const throw ()


Constructor & Destructor Documentation

pqxx::notify_listener::notify_listener ( connection_base C,
const PGSTD::string &  N 
)

Constructor. Registers the listener with connection C.

Parameters:
C Connection this listener resides in.
N Name of the notification to listen for.

virtual pqxx::notify_listener::~notify_listener (  )  throw () [virtual]


Member Function Documentation

const PGSTD::string& pqxx::notify_listener::name (  )  const

virtual void pqxx::notify_listener::operator() ( int  be_pid  )  [pure virtual]

Overridable: action to invoke when notification arrives.

Parameters:
be_pid Process ID of the database backend process that served our connection when the notification arrived. The actual process ID behind the connection may have changed by the time this method is called.

connection_base& pqxx::notify_listener::Conn (  )  const throw () [protected]


The documentation for this class was generated from the following file:

Generated on Sun Nov 2 08:25:52 2008 for libpqxx by  doxygen 1.5.5