22 package com.realtime.crossfire.jxclient.commands;
25 import org.jetbrains.annotations.NotNull;
46 super(commandName, crossfireServerConnection);
62 public void execute(@NotNull
final String args) {
63 throw new AssertionError();
Abstract base class for Command implementations.
final CrossfireServerConnection crossfireServerConnection
The connection instance.
boolean allArguments()
Returns whether all remaining commands should be included as arguments.whether all remaining commands...
final boolean allArguments
Whether all remaining commands should be included as arguments.
TestCommand(@NotNull final String commandName, final boolean allArguments, @NotNull final CrossfireServerConnection crossfireServerConnection)
Creates a new instance.
void execute(@NotNull final String args)
Executes the command with the given arguments.the command arguments
final String commandName
The name of the command.
Adds encoding/decoding of crossfire protocol packets to a ServerConnection.
A Command for regression tests.