Working with Events

From InterBase

Go Up to API Guide

This chapter describes how to work with events, a message passed from a trigger or stored procedure to an application to announce the occurrence of a specified condition or action, usually a database change such as an insertion, modification, or deletion of a record. It explains how to set up event buffers, and use the following API functions to make synchronous and asynchronous event calls. In the following table, functions are listed in the order they typically appear in an application:

API Event Functions
Function Purpose


Allocate event parameter buffers


Wait for a synchronous event to be posted


Set up an asynchronous event and return to application processing


Determine the change in values of event counters in the event parameter buffer


Cancel interest in an event

For asynchronous events, this chapter also describes how to create an asynchronous trap (AST), a function that responds to posted events.


Advance To: