CommandReceiver

public interface CommandReceiver implements EventProducer

Common interface for all objects that receive commands in the end of the dispatching.

Any command receiver may reject commands by producing rejection events. Thus, any command receiver is an EventProducer.

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.