Use the CICS_EpiGetEvent function to collect events.
The EPI puts information in a CICS_EpiEventData_t structure to indicate the event that occurred and
any associated data. It also indicates whether there are more events still
waiting in the queue.
The application can synchronize the processing of these events with its
other activities in one of three ways:
- Polling.
- Blocking.
- Callback notification. Callback is a way for another
thread to notify your application thread that an event has happened.