public class ParticipantInvocationImpl<Data,C extends io.eventuate.tram.commands.common.Command> extends AbstractParticipantInvocation<Data>
Constructor and Description |
---|
ParticipantInvocationImpl(java.util.Optional<java.util.function.Predicate<Data>> invocablePredicate,
java.util.function.Function<Data,io.eventuate.tram.commands.consumer.CommandWithDestination> commandBuilder) |
Modifier and Type | Method and Description |
---|---|
boolean |
isSuccessfulReply(io.eventuate.tram.messaging.common.Message message) |
io.eventuate.tram.commands.consumer.CommandWithDestination |
makeCommandToSend(Data data) |
isInvocable
public boolean isSuccessfulReply(io.eventuate.tram.messaging.common.Message message)
public io.eventuate.tram.commands.consumer.CommandWithDestination makeCommandToSend(Data data)