Class CommandExecutorImpl
java.lang.Object
com.realtime.crossfire.jxclient.commands.CommandExecutorImpl
- All Implemented Interfaces:
CommandExecutor
Executes
Commands.-
Constructor Summary
ConstructorsConstructorDescriptionCommandExecutorImpl(@NotNull CommandQueue commandQueue, @NotNull Commands commands) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionvoidexecuteCommand(@NotNull CharSequence commandLine) Executes a command or a list of commands.
-
Constructor Details
-
CommandExecutorImpl
public CommandExecutorImpl(@NotNull @NotNull CommandQueue commandQueue, @NotNull @NotNull Commands commands) Creates a new instance.- Parameters:
commandQueue- the command queue for sending commandscommands- the commands to consider
-
-
Method Details
-
executeCommand
Description copied from interface:CommandExecutorExecutes a command or a list of commands. The commands may be a client- or a server-sided command.- Specified by:
executeCommandin interfaceCommandExecutor- Parameters:
commandLine- the commands to execute
-