2.1 Monitoring eDirectory Events

The following list is a high-level view of the steps an eDirectory event-monitoring application must take.

  1. Register for events. Follow the steps outlined in Section 2.2, Registering for eDirectory Events

  2. Ensure that your application conforms to the following:

    • When the specified event occurs, such as the creation of an object, the callback is called and given data about the event.
    • The callback determines whether to use the data. If it uses the data, the callback either immediately processes the data or makes and stores a local copy of the data. Then the callback returns.
    • If the callback saved data locally so another thread can process it, that thread runs.
  3. Unregister for events as explained in Section 2.3, Unregistering for eDirectory Events.