Called when receiving an event. Initialization of event handlers is up to you.
1 string event
the event.
2 vararg data
the data.