|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.uniba.wiai.lspi.util.console.Command
de.uniba.wiai.lspi.chord.console.command.ShowNodes
public class ShowNodes
Command to show all nodes present in local chord network.
showNodes -help
into the console.
| Field Summary | |
|---|---|
static java.lang.String |
COMMAND_NAME
Name of this commmand. |
static java.lang.String |
COUNT_PARAM
|
| Constructor Summary | |
|---|---|
ShowNodes(java.lang.Object[] toCommand1,
java.io.PrintStream out1)
Creates a new instance of ShowNodes |
|
| Method Summary | |
|---|---|
void |
exec()
To be overwritten by subclasses for command execution. |
java.lang.String |
getCommandName()
Return the name of the command. |
void |
printOutHelp()
To be overwritten. |
| Methods inherited from class de.uniba.wiai.lspi.util.console.Command |
|---|
addParameter, execute, setParameters, setPrintStream |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String COMMAND_NAME
public static final java.lang.String COUNT_PARAM
| Constructor Detail |
|---|
public ShowNodes(java.lang.Object[] toCommand1,
java.io.PrintStream out1)
toCommand1 - out1 - | Method Detail |
|---|
public void exec()
Command
exec in class Commandpublic java.lang.String getCommandName()
Command
getCommandName in class Commandexit.public void printOutHelp()
Command
printOutHelp in class Command
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||