Events in Local Interfaces
Triggering and handling events are done the same way as in classes.
- The steps to implement event handling for Interfaces are as follows:
- Define event in an interface.
- Trigger the interface event in implementing classes.
- Handle interface event in handler class (client class).
- Register event handling.