 |
Crossfire JXClient, Trunk
|
Go to the documentation of this file.
23 package com.realtime.crossfire.jxclient.commands;
27 import org.jetbrains.annotations.NotNull;
61 final Command command = commandExec.getCommand();
62 if (command ==
null) {
65 command.
execute(commandExec.getArgs());
CommandExecutorImpl(@NotNull final CommandQueue commandQueue, @NotNull final Commands commands)
Creates a new instance.
final CommandQueue commandQueue
The command queue for sending commands.
static Collection< CommandExec > expand(@NotNull final CharSequence commandList, @NotNull final Commands commands)
Expands a command list into a sequence of Commands to execute.
final Commands commands
The Commands to consider.
Parses and executes client-side commands.
Expands a command (or list of commands) into a sequence of Commands to execute.
void sendNcom(final boolean mustSend, @NotNull final String command)
Sends a "ncom" command to the server.
void execute(@NotNull String args)
Executes the command with the given arguments.
A Command instance and its arguments.
void executeCommand(@NotNull final CharSequence commandLine)
Executes a command or a list of commands.
Maintains the pending (ncom) commands sent to the server.
Implements a client-side command.