CommandHandler

public interface CommandHandler implements CommandReceiver

A common interface for objects which declare one or more methods assigned to handle commands, producing events in response.

See also

@Assign

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.