EventReactor

public interface EventReactor implements EventReceiver, EventProducer

A event reactor declares methods that receive events and may generate other events in response.

This means that a reactor does not have to always generate an event.

See also

@React

Inheritors

Inherited functions

Link copied to clipboard
public Nothing nothing()
Obtains the io.spine.server.model.
Link copied to clipboard
public abstract ImmutableSet<EventClass> producedEvents()
Obtains classes of the events produced by this object.
Link copied to clipboard
public abstract Any producerId()
The object identity packed into Any.
Link copied to clipboard
public abstract Version version()
The version of the object to be put into events.