public class Command
extends org.freedesktop.bindings.Constant
If one of these responses constants fits your needs, it is recommended that you make use of it.
If your needs require it, however, you can define your own responses codes by extending this class. For example:
public class NinjaCommand extends Command { protected NinjaCommand(String nickname) { super(nickname); } public static final NinjaCommand HACK = new NinjaCommand("HACK"); public static final NinjaCommand SLASH = new NinjaCommand("SLASH"); public static final NinjaCommand BURN = new NinjaCommand("BURN"); }