public class CommandInterpreterFn extends java.lang.Object implements StatefulFunction
Constructor and Description |
---|
CommandInterpreterFn(CommandInterpreter interpreter) |
Modifier and Type | Method and Description |
---|---|
void |
invoke(Context context,
java.lang.Object message)
Invokes this function with a given input.
|
public CommandInterpreterFn(CommandInterpreter interpreter)
public void invoke(Context context, java.lang.Object message)
StatefulFunction
invoke
in interface StatefulFunction
context
- context for the current invocation. The provided context instance should not be
used outside the scope of the current invocation.message
- input for the current invocation.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.