public class CommandRouter extends java.lang.Object implements Router<TypedValue>
Router.Downstream<T>
Constructor and Description |
---|
CommandRouter(Ids ids) |
Modifier and Type | Method and Description |
---|---|
void |
route(TypedValue command,
Router.Downstream<TypedValue> downstream)
Routes a given message to downstream
StatefulFunction s. |
public CommandRouter(Ids ids)
public void route(TypedValue command, Router.Downstream<TypedValue> downstream)
Router
StatefulFunction
s. A single message may result in
multiple functions being invoked.route
in interface Router<TypedValue>
command
- the message to route.downstream
- used to invoke downstream functions.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.