|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmegamek.server.commands.ServerCommand
megamek.server.commands.HelpCommand
public class HelpCommand
The help command lists the other commands when run without arguments. When run with another command name as an argument, it queries that command for its help string and send that to the client.
| Field Summary |
|---|
| Fields inherited from class megamek.server.commands.ServerCommand |
|---|
server |
| Constructor Summary | |
|---|---|
HelpCommand(Server server)
Creates new HelpCommand |
|
| Method Summary | |
|---|---|
void |
run(int connId,
java.lang.String[] args)
Run this command with the arguments supplied |
| Methods inherited from class megamek.server.commands.ServerCommand |
|---|
canRunRestrictedCommand, getHelp, getName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HelpCommand(Server server)
| Method Detail |
|---|
public void run(int connId,
java.lang.String[] args)
ServerCommand
run in class ServerCommand
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||