Events
The HACL provides the capability of asynchronous
notification of certain events. An application can choose to be notified
when specific events occur. For example, the application can be notified
when a new Z and I Emulator for Windows connection starts. Currently the HACL supports
notification for the following events:
- Connection start/stop
- Communications connect/disconnect
- Operator keystrokes
- Presentation space or OIA updates
Note:
- The application’s NotifyEvent method is called asynchronously on a separate thread of execution. Therefore, the NotifyEvent method should be reentrant, and if it accesses application resources, appropriate locking or synchronization should be used.
- Some HACL layers (such as the Automation Objects) may not fully support or implement HACL events.