server
1.9.0
jvm
server
/
io.spine.server.route
/
CommandRoute
Command
Route
@
FunctionalInterface
(
)
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
DefaultCommandRoute
Members
Inherited functions
and
Then
Link copied to clipboard
public
BiFunction
<
T
,
U
,
V
>
andThen
<
V
>
(
Function
<
? extends
Object
,
? extends
V
>
after
)
apply
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
)