This sample demonstrates synchronous event handling. The schema declares <new>, <update>, and <delete> events that are registered at runtime. The appropriate event handlers (callback functions) are called when a new object is created, deleted, or updated. The event handlers print data obtained from the object handle passed to the callback function by the runtime.
See instructions here on how to build this and other samples on your development platform. Once built, the sample can be run from the
\target\bindirectory:10_events_synchHowever, it is more instructive to run it in your development environment debugger, stepping through the code.