Class CommandExecutorImpl

java.lang.Object
com.realtime.crossfire.jxclient.commands.CommandExecutorImpl
All Implemented Interfaces:
CommandExecutor

public class CommandExecutorImpl extends Object implements CommandExecutor
Executes 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 commands
      commands - the commands to consider
  • Method Details

    • executeCommand

      public void executeCommand(@NotNull @NotNull CharSequence commandLine)
      Description copied from interface: CommandExecutor
      Executes a command or a list of commands. The commands may be a client- or a server-sided command.
      Specified by:
      executeCommand in interface CommandExecutor
      Parameters:
      commandLine - the commands to execute