Class CommandExecutorImpl
- java.lang.Object
-
- com.realtime.crossfire.jxclient.commands.CommandExecutorImpl
-
- All Implemented Interfaces:
CommandExecutor
public class CommandExecutorImpl extends java.lang.Object implements CommandExecutor
ExecutesCommands.
-
-
Constructor Summary
Constructors Constructor Description CommandExecutorImpl(@NotNull CommandQueue commandQueue, @NotNull Commands commands)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecuteCommand(@NotNull java.lang.CharSequence commandLine)Executes a command or a list of commands.
-
-
-
Constructor Detail
-
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 Detail
-
executeCommand
public void executeCommand(@NotNull @NotNull java.lang.CharSequence commandLine)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
-
-