Maven module :un.api : api-common :
Class :
un.api.event.Event
Extends/Implements : -
Subclasses : -
Variables : -
Functions :
getSource,
isConsumable,
isConsumed,
consume,
getTrigger
EventSource
getSource ()
boolean
isConsumable ()
boolean
isConsumed ()
void
consume ()
Event
getTrigger ()
Whenever an object needs to send notifications to others it should implement
the EventSource class, and then send Event objects.
Events can be used for example as :