Events and event listeners are used when dynamic chnges of a net's state and of actions in the net must be tracked by other code.