Interface CommandHandlerWithReply<Command,Event,State>
-
- All Superinterfaces:
CommandHandler<Command,Event,State>
public interface CommandHandlerWithReply<Command,Event,State> extends CommandHandler<Command,Event,State>
FunctionalInterface for reacting on commandsUsed with
CommandHandlerWithReplyBuilderto setup the behavior of aEventSourcedBehaviorWithEnforcedReplies
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ReplyEffect<Event,State>apply(State state, Command command)
-
-
-
Method Detail
-
apply
ReplyEffect<Event,State> apply(State state, Command command)
- Specified by:
applyin interfaceCommandHandler<Command,Event,State>
-
-