int db::Database::watch_table ( const NameChar *  table_name,
db_flags_t  flags,
uint32_t  utid 
)

Register to receive notification messages when a table is modified.

Call wait to poll the message queue for new notifications.

Parameters:
table_name Name of database table.
flags Type of operations to watch for. May be any combination of:
utid User-supplied numeric id. This value is provided as part of the notification message.
Returns:
See also:
unwatch_table, wait


Copyright © 2005-2008 ITTIA®. All rights reserved.