Called when an event occurs.
This method will be invoked by the event source whenever an event of type E needs to be delivered to this listener.
The event that occurred