|
||||||||||
| 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.JoinNetwork
public class JoinNetwork
Command to join a remote chord network.
Chord#join(URL, URL).
To get a description of this command type joinN -help into the
console.
| Field Summary | |
|---|---|
static java.lang.String |
BOOTSTRAP_PARAM
The name of the parameter that defines the bootstrap node to use. |
static java.lang.String |
COMMAND_NAME
The name of this Command. |
static java.lang.String |
PORT_PARAM
The port on which the local node should listen. |
| Constructor Summary | |
|---|---|
JoinNetwork(java.lang.Object[] toCommand11,
java.io.PrintStream out1)
Creates a new instance of CreateNodes |
|
| 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
Command.
public static final java.lang.String BOOTSTRAP_PARAM
public static final java.lang.String PORT_PARAM
| Constructor Detail |
|---|
public JoinNetwork(java.lang.Object[] toCommand11,
java.io.PrintStream out1)
toCommand11 - out1 - | Method Detail |
|---|
public void exec()
throws ConsoleException
Command
exec in class CommandConsoleException - Exception during execution.public 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 | |||||||||