public interface CommandController
| Modifier and Type | Method and Description |
|---|---|
void |
registerCommandProcessor(String command,
CommandProcessor processor)
Registers a new command processor.
|
void |
startCommand(String command,
Map<String,String[]> parameters)
Starts command execution.
|
void |
stopCommand(String command,
Map<String,String[]> parameters)
Stops command execution.
|
void |
unregisterCommandProcessor(String command,
CommandProcessor processor)
Unregisters a command processor.
|
void registerCommandProcessor(String command, CommandProcessor processor)
command - string command to react onprocessor - the processor object for given commandvoid unregisterCommandProcessor(String command, CommandProcessor processor)
command - processor - void startCommand(String command, Map<String,String[]> parameters)
command - parameters - Copyright © 2010-2017 anotheria.net. All Rights Reserved.