java.lang.Cloneable
, java.lang.Runnable
public class Echo extends CM1Command
className, parameters, req
Constructor | Description |
---|---|
Echo(RequestHandler req,
java.lang.String parameters) |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getCommandWord() |
|
java.lang.String |
getHelp(MOB user,
PhysicalAgent target,
java.lang.String rest) |
|
boolean |
passesSecurityCheck(MOB user,
PhysicalAgent target) |
|
void |
run() |
getTarget, isAuthorized, newInstance
public Echo(RequestHandler req, java.lang.String parameters)
public java.lang.String getCommandWord()
getCommandWord
in class CM1Command
public void run()
public boolean passesSecurityCheck(MOB user, PhysicalAgent target)
passesSecurityCheck
in class CM1Command
public java.lang.String getHelp(MOB user, PhysicalAgent target, java.lang.String rest)
getHelp
in class CM1Command