CommandRoute

public interface CommandRoute<I, M extends CommandMessage> implements Unicast<I, M, C>

Obtains an ID of an entity which handles the command.

Parameters

<I>

the type of the entity ID

Inheritors

Inherited functions

Link copied to clipboard
public BiFunction<T, U, V> andThen<V>(Function<? extends Object, ? extends V> after)
Link copied to clipboard
public abstract R apply(M message, C context)
Obtains entity ID(s) from the passed message and its context.
public abstract R apply(T p, U p1)